Can I Upgrade Whereabouts and Luigi For an Onprem v5.1 Cluster?

Problem

  • Is It possible to Upgrade Whereabouts and Luigi for an Onprem v5.1 Cluster without cluster being upgraded to the higher version?

Environment

  • Platform9 Edge Cloud - v5.1

  • Whereabouts - From v0.3 to v0.4.6

  • Luigi v0.2.2 to v0.2.4

Answer

  • For a cluster deployed with Qbert APIs, luigi is tied to or managed by pf9-kube releases hence to upgrade luigi, pf9-kube has to be upgraded. In this case PMK cluster upgrade is unavoidable.

  • To determine if luigi is managed by pf9-kube, use below mentioned curl call and check for the value of deployLuigiOperator in the answer section.

  • If the response to the curl call includes "deployLuigiOperator":1, then it is confirmed that the luigi is managed by pf9-kube and it can't be upgraded individually.

~# curl -k -X GET https://<duFQDN>/qbert/v3/<PROJECT_UUID>/clusters/<Cluster-UUID> -H "X-Auth-Token: $TOKEN" | grep Luigi

--
Replace the below fields with an appropriate value in the above curl call:

$TOKEN --> with the generated token.
<duFQDN> --> FQDN of the management plane.
<PROJECT_UUID> --> UUID of Project/Tenant.
<Cluster-UUID> --> UUID of cluster.
  • However, if the luigi manifest is applied and managed directly, then it can be upgraded with a new luigi image & yaml manifest which can be applied with kubectl apply.

Additional Information

  • There are several CRD changes, as well as a new CronJob YAML spec for the ip-reconciler that are added. The CronJob uses the same whereabouts image as the Whereabouts Daemonset.

  • Upgrade of whereabouts will require the upgrade of luigi and hence the upgrade of pf9-kube will be required, if luigi is managed by pf9-kube.

Last updated