Skip to content

Commit

Permalink
change kubeconfig filename to mke.kubeconf (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
quadespresso authored Dec 6, 2024
1 parent 1098f16 commit 1aad655
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions content/docs/getting-started/start-interacting-with-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ weight: 4

To start interacting with the cluster, use `kubectl` with the `mke` context.
Though to do that, you need to specify the configuration. Use `mkectl` to output
the kubeconfig of the cluster to `~/mke/.mke.kubeconfig`.
the kubeconfig of the cluster to `~/mke/.mke.kubeconf`.

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

* Set the `KUBECONFIG` environment variable to point to `~/.mke/mke.kubeconfig`:
- Set the `KUBECONFIG` environment variable to point to `~/.mke/mke.kubeconf`:

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

* Append the contents to the default kubeconfig:
- Append the contents to the default kubeconfig:

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

* Specify the kubeconfig as a command argument:
- Specify the kubeconfig as a command argument:

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

Example output:
Expand Down

0 comments on commit 1aad655

Please sign in to comment.