Skip to content
Snippets Groups Projects
Commit 4b4033f4 authored by Guillaume Samson's avatar Guillaume Samson
Browse files

sysadmin: Add Rancher upgrade post installation check

parent 8798257d
No related branches found
No related tags found
1 merge request!431sysadmin: Document Rancher and AKS upgrade
Pipeline #9757 passed
......@@ -115,6 +115,7 @@ Repeat the same operations for each minor version.
.. admonition:: GitLab Terraform Code
:class: warning
Don't forget to update the ``kubernetes_version`` variable in the ``azure/terraform/gitlab.tf`` file
Once you are done with the cluster upgrade, update the ``kubernetes_version``
variable in the ``azure/terraform/gitlab.tf`` file
in the `sysadm-provisioning <https://gitlab.softwareheritage.org/swh/infra/swh-sysadmin-provisioning>`_
repository.
\ No newline at end of file
......@@ -175,3 +175,20 @@ Log into Rancher to confirm that the upgrade succeeded.
|rancher-upgrade-about|
.. |rancher-upgrade-about| image:: ../../images/rancher/rancher-upgrade-about.png
.. admonition:: Post installation check
:class: warning
When the Rancher upgrade is completed, don't forget to check that all pods
in the `cattle-system` are not on the same node, especially the `rancher`:
.. code:: bash
ᐅ kubectl --context local get pods -n cattle-system \
-o jsonpath='{range .items[*]}{.metadata.name} {.spec.nodeName}{"\n"}{end}' | \
awk 'BEGIN{format="%-40s %s\n";printf format,"Cattle System Pods","Node Name"}
{printf format,$1,$2}'
Cattle System Pods Node Name
rancher-58994f549-nqz4l aks-default-36212332-vmss00000s
rancher-58994f549-sj9j7 aks-default-36212332-vmss00000r
rancher-webhook-b68c6d878-nx4d7 aks-default-36212332-vmss00000r
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment