system-upgrade-controller: A Commodore component to manage System Upgrade Controller

system-upgrade-controller: A Commodore component to manage System Upgrade Controller is a Commodore component to manage Rancher’s System Upgrade Controller.

See the parameters reference for further details.

Example for Ubuntu 20.04 (Focal)

A minimal example to maintain all nodes with label plan.upgrade.cattle.io/focal of a cluster running Kubernetes 1.18 and Ubuntu 20.04 starting Tuesday at 22:00:

parameters:
  system_upgrade_controller:
    job_kubectl_image: rancher/kubectl:v1.18.0
    disable_grafana_dashboard: true
    plans:
      focal:
        spec:
          concurrency: 1
          upgrade:
            image: docker.io/projectsyn/suc-ubuntu-focal
            command: /scripts/run.sh
          # push_gateway: platform-prometheus-pushgateway.syn-synsights.svc:9091
          push_gateway: 10.43.129.22:9091
        floodgate:
          day: 2  # Tuesday
          hour: 22
        label_selectors:
          plan.upgrade.cattle.io/focal:
            operator: Exists
        tolerations:
          node-role.kubernetes.io/controlplane:
            operator: Exists
          node-role.kubernetes.io/etcd:
            operator: Exists