← All platforms
install
Connect a Google GKE cluster
A Standard cluster with open-source Cilium.
Requirements
- Cilium
- The cluster CNI, with Hubble and Hubble Relay enabled.
- Network
- Outbound HTTPS (443) from the cluster to api.cilera.io and ingest.cilera.io.
- Tools
- kubectl and Helm 3.8+ with access to create a namespace.
- Footprint
- One pod. No privileged access, no host mounts. Read-only RBAC, except its own state Secret and, when containment is on, deny-only containment policies.
Steps
- Run Cilium with Hubble enabled. Create the cluster without Dataplane V2, then install Cilium. If Cilium is already installed, check that cilium status shows "Hubble Relay: OK" and continue to step 2.
gcloud container clusters create my-cluster \ --node-taints node.cilium.io/agent-not-ready=true:NoExecute cilium install # detects GKE cilium hubble enable cilium status --wait
Using Dataplane V2? Turn on Dataplane V2 observability and set hubble.preset: gke-dpv2 in the values file. Preview.
- Add the cluster in the Cilera console. Open Clusters → Add cluster and create an onboarding credential. It expires on its own and can be limited to a number of clusters. Copy the two commands: one downloads the cluster's values file, the other installs the operator. The cluster is named after your current kubectl context unless you type a name.
- Run the commands. They install operator 0.11.0 with Helm into the cilera-system namespace, wait until it is connected, and print the reason if it cannot connect. The cluster appears in the Cilera console within about a minute.
$ helm upgrade --install cilera-operator \ <chart from the console> \ --version 0.11.0 \ -f cilera-values.yaml \ -n cilera-system \ --create-namespace --wait$ kubectl -n cilera-system get pods NAME READY STATUS cilera-operator-7c9d8b6f5d-x2kqp 1/1 Running
- To disconnect later, uninstall the operator. Containment policies stay in the cluster until you delete them.
$ helm uninstall cilera-operator -n cilera-system $ kubectl get cnp -A -l cilera.io/containment=true
For platform-specific Cilium options, see the Cilium installation guide. Supported versions and release notes are on Operator releases.