← All platforms

install

Connect an Azure AKS cluster

An AKS cluster created with no network plugin (bring your own CNI), running 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

  1. Run Cilium with Hubble enabled. Create the cluster with no network plugin, then install Cilium. If Cilium is already installed, check that cilium status shows "Hubble Relay: OK" and continue to step 2.
    aks
    az aks create -g my-rg -n my-cluster --network-plugin none
    cilium install        # detects AKS
    cilium hubble enable
    cilium status --wait

    Using Azure CNI powered by Cilium with Advanced Container Networking Services? Set hubble.preset: aks-acns in the values file. Preview.

  2. 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.
  3. 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.
    install
    $ helm upgrade --install cilera-operator \
        <chart from the console> \
        --version 0.11.0 \
        -f cilera-values.yaml \
        -n cilera-system \
        --create-namespace --wait
    verify
    $ kubectl -n cilera-system get pods
    NAME                               READY   STATUS
    cilera-operator-7c9d8b6f5d-x2kqp   1/1     Running
  4. To disconnect later, uninstall the operator. Containment policies stay in the cluster until you delete them.
    uninstall
    $ 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.

×

console

The Cilera console is in early access

The console is not yet publicly available. Request access at [email protected].

Request AccessKeep Exploring