mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-09 06:31:25 +02:00
Getting ready for the next Talos 1.5.0-alpha.0 release. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
55 lines
1.3 KiB
Markdown
55 lines
1.3 KiB
Markdown
---
|
|
title: Quickstart
|
|
weight: 20
|
|
description: "A short guide on setting up a simple Talos Linux cluster locally with Docker."
|
|
---
|
|
|
|
## Local Docker Cluster
|
|
|
|
The easiest way to try Talos is by using the CLI (`talosctl`) to create a cluster on a machine with `docker` installed.
|
|
|
|
### Prerequisites
|
|
|
|
#### `talosctl`
|
|
|
|
Download `talosctl`:
|
|
|
|
```bash
|
|
curl -sL https://talos.dev/install | sh
|
|
```
|
|
|
|
#### `kubectl`
|
|
|
|
Download `kubectl` via one of methods outlined in the [documentation](https://kubernetes.io/docs/tasks/tools/install-kubectl/).
|
|
|
|
### Create the Cluster
|
|
|
|
Now run the following:
|
|
|
|
```bash
|
|
talosctl cluster create
|
|
```
|
|
|
|
You can explore using Talos API commands:
|
|
|
|
```bash
|
|
talosctl dashboard --nodes 10.5.0.2
|
|
```
|
|
|
|
Verify that you can reach Kubernetes:
|
|
|
|
```bash
|
|
$ kubectl get nodes -o wide
|
|
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
|
|
talos-default-controlplane-1 Ready master 115s v{{< k8s_release >}} 10.5.0.2 <none> Talos ({{< release >}}) <host kernel> containerd://1.5.5
|
|
talos-default-worker-1 Ready <none> 115s v{{< k8s_release >}} 10.5.0.3 <none> Talos ({{< release >}}) <host kernel> containerd://1.5.5
|
|
```
|
|
|
|
### Destroy the Cluster
|
|
|
|
When you are all done, remove the cluster:
|
|
|
|
```bash
|
|
talosctl cluster destroy
|
|
```
|