Skip to content

Commit

Permalink
[Readme] Restructure regarding installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbygdell committed Feb 3, 2025
1 parent 0277c84 commit 262f5ee
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,14 @@ wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
```

#### Install kubectl

If `kubectl` is not installed, run the following command to download the latest stable version. (substitue `linux/amd64` with `darwin/arm64` if you are using a Mac).

```sh
curl -sLO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
```

#### Create a cluster

Once installed a cluster can be created using the `make k3d-create-cluster` command, you can create a cluster named `k3s-default`.
Expand All @@ -197,14 +205,6 @@ For testing ingress endpoints with other applications like a web browser, the ho
Removing the cluster can be done using the `make k3d-delete-cluster` command or as shown below if a specific name is used during creation.
#### Install kubectl
If `kubectl` is not installed, run the following command to download the latest stable version. (substitue `linux/amd64` with `darwin/arm64` if you are using a Mac).
```sh
curl -sLO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
```
### Deploy the components
Deployment of the charts can be done as describe below in more detail, or by using the corresponding command in the [Makefile](./Makefile)
Expand Down

0 comments on commit 262f5ee

Please sign in to comment.