Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Edit setup content initial #16

Merged
merged 17 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
3c981e4
Initial edits to Setup content.
KoryKessel-Mirantis May 28, 2024
c9b2db0
Addition of k0s example and upgrade content edits.
KoryKessel-Mirantis May 29, 2024
f5e1bcc
Fix bad links in Installation and Terraform scenario.
KoryKessel-Mirantis May 29, 2024
8012fb3
Fix url for "System requirements for cluster nodes" heading by changi…
KoryKessel-Mirantis May 29, 2024
22f09bd
Add md filename to the "System requirements for cluster nodes" link i…
KoryKessel-Mirantis May 29, 2024
c6c2e3a
Edit in response to suggested edit to "Using the cluster" content.
KoryKessel-Mirantis May 30, 2024
19db78f
Edits based on SME reviewer comments.
KoryKessel-Mirantis Jun 6, 2024
ccba35c
Remove Known issues topic from PR.
KoryKessel-Mirantis Jun 7, 2024
77cfadf
Edits made in reference to comments form RyanZ and SakshiS.
KoryKessel-Mirantis Jun 7, 2024
5c35835
Edits in response to comments from SSharma and NNiesen, link fixes.
KoryKessel-Mirantis Jun 10, 2024
a94a19d
Fix to link in terraform-scenario, caused by filename change in previ…
KoryKessel-Mirantis Jun 10, 2024
88bc9a9
Insertion of mkectl download links
KoryKessel-Mirantis Jun 10, 2024
8e7e2a5
Added word 'image' to the mkectl download link text.
KoryKessel-Mirantis Jun 10, 2024
30f5b7a
Apply suggestions from code review
ry4nz Jun 10, 2024
4e0849d
Edits in response to review by Magda Dziadosz.
KoryKessel-Mirantis Jun 11, 2024
5c37935
Part 2: Edits in response to review by Magda Dziadosz.
KoryKessel-Mirantis Jun 11, 2024
7e89154
Final cleanup of markdown elements before merge.
KoryKessel-Mirantis Jun 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 0 additions & 85 deletions content/docs/setup/README.md

This file was deleted.

148 changes: 0 additions & 148 deletions content/docs/setup/getting-started/README.md

This file was deleted.

41 changes: 41 additions & 0 deletions content/docs/setup/getting-started/Using-the-cluster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Using the cluster

You can use `kubectl` with the `mke` context to interact with the cluster,
though it is necessary to specify the configuration. `mkectl` outputs the
kubeconfig of the cluster to `~/mke/.mke.kubeconfig`.

You can apply ``.mke.kubeconfig`` using any one of the following methods:

- Set the KUBECONFIG env var to point to `~/.mke/mke.kubeconfig`

```shell
export KUBECONFIG=~/.mke/<cluster name>.kubeconfig
```

- Append the contents to the default kubeconfig:

```shell
cat ~/.mke/mke.kubeconfig >> ~/.kube/config
```

- Specify the config as a command argument:

```shell
kubectl --kubeconfig ~/.mke/mke.kubeconfig
```

Example output:

```text
$ kubectl --context mke get nodes
nwneisen marked this conversation as resolved.
Show resolved Hide resolved
NAME STATUS ROLES AGE VERSION
node1 Ready <none> 2d v1.29.3+k0s
node2 Ready control-plane 2d v1.29.3+k0s
```

To modify the cluster configuration, edit the YAML configuration file and
rerun the `apply` command.

```shell
mkectl apply -f mke.yaml
```
Loading