cilium upgrade

Upgrade a Cilium installation a Kubernetes cluster using Helm

Synopsis

Upgrade a Cilium installation in a Kubernetes cluster using Helm

Examples:

Upgrade Cilium to the latest version, using existing parameters

$ cilium upgrade

Upgrade Cilium to the latest version and also set cluster name and ID to prepare for multi-cluster capabilities.

$ cilium upgrade –set cluster.id=1 –set cluster.name=cluster1

cilium upgrade [flags]

Options

      --chart-directory string    Helm chart directory
      --datapath-mode string      Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (default: autodetected).
      --dry-run                   Write resources to be installed to stdout without actually installing them
      --dry-run-helm-values       Write non-default Helm values to stdout; without performing the actual upgrade
  -h, --help                      help for upgrade
      --history-max int           limit the maximum number of revisions saved per release. Use 0 for no limit (default 10)
      --list-versions             List all the available versions without actually installing
      --nodes-without-cilium      Configure the affinities to avoid scheduling Cilium components on nodes labeled with cilium.io/no-schedule. It is assumed that the infrastructure has set up routing on these nodes to provide connectivity within the Cilium cluster.
      --repository string         Helm chart repository to download Cilium charts from (default "https://helm.cilium.io")
      --reset-then-reuse-values   When upgrading, reset the values to the ones built into the chart, apply the last release's values and merge in any overrides from the command line via --set and -f. If '--reset-values' or '--reuse-values' is specified, this is ignored (default true)
      --reset-values              When upgrading, reset the helm values to the ones built into the chart
  -r, --restart                   Force restart Cilium pods
      --reuse-values              When upgrading, reuse the helm values from the latest release unless any overrides from are set from other flags. This option takes precedence over HelmResetValues
      --set stringArray           Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --set-file stringArray      Set helm values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
      --set-string stringArray    Set helm STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
  -f, --values strings            Specify helm values in a YAML file or a URL (can specify multiple)
      --version string            Cilium version to install (default "v1.19.4")
      --wait                      Wait for helm install to finish
      --wait-duration duration    Maximum time to wait for status (default 5m0s)

Options inherited from parent commands

      --as string                  Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
      --as-group stringArray       Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
      --context string             Kubernetes configuration context
      --helm-release-name string   Helm release name (default "cilium")
      --kubeconfig string          Path to the kubeconfig file
  -n, --namespace string           Namespace Cilium is running in. Can also be set via CILIUM_NAMESPACE env var (default "kube-system")

SEE ALSO

  • cilium - Cilium provides eBPF-based Networking, Security, and Observability for Kubernetes