← All platforms
install
Connect a Red Hat OpenShift cluster
OpenShift 4 with Cilium as the CNI and Hubble Relay running (the OpenShift default is OVN-Kubernetes).
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. Install Cilium from OperatorHub (the Cilium or Isovalent operator) with Hubble and Hubble Relay on, then check both are running. The Cilera chart detects OpenShift and lets its security context constraint assign the pod a user ID. If Cilium is already installed, check that cilium status shows "Hubble Relay: OK" and continue to step 2.
oc get daemonset -A -l k8s-app=cilium # Cilium is the CNI oc get deployment -A | grep hubble-relay # Hubble Relay is running
Preview, not yet tested on a live cluster. Needs operator 0.11.0 or later. With helm template or Argo CD, set openshift: true in the values file.
- 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.