Skip to content

Commit

Permalink
docs: update getting started
Browse files Browse the repository at this point in the history
Add missing talosconfig parameter.

Signed-off-by: SpiReCZ <SpiReCZ@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
SpiReCZ authored and smira committed Nov 20, 2024
1 parent c4c1a0d commit 7ffcf5b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
8 changes: 5 additions & 3 deletions website/content/v1.6/introduction/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,21 +279,23 @@ At this point, Talos will form an `etcd` cluster, and start the Kubernetes contr
After a few moments, you will be able to download your Kubernetes client configuration and get started:

```sh
talosctl kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2
talosctl kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2 \
--talosconfig=./talosconfig
```

Running this command will add (merge) you new cluster into your local Kubernetes configuration.

If you would prefer the configuration to *not* be merged into your default Kubernetes configuration file, pass in a filename:

```sh
talosctl kubeconfig alternative-kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2
talosctl kubeconfig alternative-kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2 \
--talosconfig=./talosconfig
```

You should now be able to connect to Kubernetes and see your nodes:

```sh
kubectl get nodes
kubectl get nodes
```

And use talosctl to explore your cluster:
Expand Down
8 changes: 5 additions & 3 deletions website/content/v1.7/introduction/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,21 +281,23 @@ At this point, Talos will form an `etcd` cluster, and start the Kubernetes contr
After a few moments, you will be able to download your Kubernetes client configuration and get started:

```sh
talosctl kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2
talosctl kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2 \
--talosconfig=./talosconfig
```

Running this command will add (merge) you new cluster into your local Kubernetes configuration.

If you would prefer the configuration to _not_ be merged into your default Kubernetes configuration file, pass in a filename:

```sh
talosctl kubeconfig alternative-kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2
talosctl kubeconfig alternative-kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2 \
--talosconfig=./talosconfig
```

You should now be able to connect to Kubernetes and see your nodes:

```sh
kubectl get nodes
kubectl get nodes
```

And use talosctl to explore your cluster:
Expand Down
8 changes: 5 additions & 3 deletions website/content/v1.8/introduction/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,21 +288,23 @@ At this point, Talos will form an `etcd` cluster, and start the Kubernetes contr
After a few moments, you will be able to download your Kubernetes client configuration and get started:

```sh
talosctl kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2
talosctl kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2 \
--talosconfig=./talosconfig
```

Running this command will add (merge) you new cluster into your local Kubernetes configuration.

If you would prefer the configuration to _not_ be merged into your default Kubernetes configuration file, pass in a filename:

```sh
talosctl kubeconfig alternative-kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2
talosctl kubeconfig alternative-kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2 \
--talosconfig=./talosconfig
```

You should now be able to connect to Kubernetes and see your nodes:

```sh
kubectl get nodes
kubectl get nodes
```

And use talosctl to explore your cluster:
Expand Down
8 changes: 5 additions & 3 deletions website/content/v1.9/introduction/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,21 +288,23 @@ At this point, Talos will form an `etcd` cluster, and start the Kubernetes contr
After a few moments, you will be able to download your Kubernetes client configuration and get started:

```sh
talosctl kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2
talosctl kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2 \
--talosconfig=./talosconfig
```

Running this command will add (merge) you new cluster into your local Kubernetes configuration.

If you would prefer the configuration to _not_ be merged into your default Kubernetes configuration file, pass in a filename:

```sh
talosctl kubeconfig alternative-kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2
talosctl kubeconfig alternative-kubeconfig --nodes 192.168.0.2 --endpoints 192.168.0.2 \
--talosconfig=./talosconfig
```

You should now be able to connect to Kubernetes and see your nodes:

```sh
kubectl get nodes
kubectl get nodes
```

And use talosctl to explore your cluster:
Expand Down

0 comments on commit 7ffcf5b

Please sign in to comment.