Skip to content

Commit

Permalink
docs: update kind instructions for /proc
Browse files Browse the repository at this point in the history
Update kind instructions to properly mount /proc.

Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt committed Oct 27, 2023
1 parent d91d740 commit d17d1fa
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions docs/content/en/docs/getting-started/install-k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,21 @@ gcloud container clusters get-credentials "${NAME}" --zone ${ZONE}
{{% /tab %}}

{{% tab Kind %}}
Run the following command to create the Kubernetes cluster:

Tetragon's correct operation delepends on access to the host /proc filesystem. The following steps configure kind and Tetragon accordingly.

```shell-session
kind create cluster
cat <<EOF > kind-config.yaml
apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
nodes:
- role: control-plane
extraMounts:
- hostPath: /proc
containerPath: /procHost
EOF
kind create cluster --config kind-config.yaml
EXTRA_HELM_FLAGS="--set teragon.hostProcPath=/procHost" # flags for helm install
```
{{% /tab %}}

Expand All @@ -42,7 +53,7 @@ To install and deploy Tetragon, run the following commands:
```shell-session
helm repo add cilium https://helm.cilium.io
helm repo update
helm install tetragon cilium/tetragon -n kube-system
helm install tetragon ${EXTRA_HELM_FLAGS} cilium/tetragon -n kube-system
kubectl rollout status -n kube-system ds/tetragon -w
```

Expand Down

0 comments on commit d17d1fa

Please sign in to comment.