Skip to content

Commit

Permalink
Added info about creating a kind cluster for the manager cluster. Add…
Browse files Browse the repository at this point in the history
…ed info about the ssh-key

Signed-off-by: Mark C Allen <[email protected]>
  • Loading branch information
markcallen committed Dec 8, 2023
1 parent bb748b2 commit 6a13d02
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docs/create_equinix_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,30 @@ Kind cluster for the management cluster.
is recommended by Equinix for MacOS.
- We plan to automate these steps later using GitHub Actions and an IaC tool.

## Create management Cluster

- If you don't have a management cluster running create it with
```sh
kind create cluster
```

- Check that it's running locally

```sh
kubectl cluster-info --context kind-kind
```

## Create Cluster

- Log in to the Equinix Metal [console](https://console.equinix.com/) and get
- Log in to the Equinix Metal [console](https://console.equinix.com/) and create a new project. Get
the project API key from the project settings. If it doesn't exist create it.

```sh
export PACKET_API_KEY="<PROJECT_API_KEY>"
```

- Create a project ssh-key with `<YOUR_SSH_KEY>`

- Install the CAPI controllers using [clusterctl](https://cluster-api.sigs.k8s.io/user/quick-start.html#install-clusterctl).

```sh
Expand Down Expand Up @@ -92,8 +107,8 @@ helm install cilium cilium/cilium --version 1.14.2 --namespace kube-system

```sh
apt update
apt install linux-headers-$(uname -r)
apt install linux-modules-extra-$(uname -r)
apt install -y linux-headers-$(uname -r)
apt install -y linux-modules-extra-$(uname -r)
modprobe intel_rapl_common
```

Expand Down

0 comments on commit 6a13d02

Please sign in to comment.