Can I Upgrade Whereabouts and Luigi For an Onprem v5.1 Cluster?
Problem
Is It possible to Upgrade
WhereaboutsandLuigifor 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,
luigiis tied to or managed bypf9-kubereleases hence to upgrade luigi,pf9-kubehas 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
deployLuigiOperatorin the answer section.If the response to the curl call includes
"deployLuigiOperator":1, then it is confirmed that theluigiis managed bypf9-kubeand 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-kubewill be required, if luigi is managed by pf9-kube.
Last updated
