Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-docs
Commits
4b4033f4
Commit
4b4033f4
authored
9 months ago
by
Guillaume Samson
Browse files
Options
Downloads
Patches
Plain Diff
sysadmin: Add Rancher upgrade post installation check
parent
8798257d
No related branches found
Branches containing commit
No related tags found
1 merge request
!431
sysadmin: Document Rancher and AKS upgrade
Pipeline
#9757
passed
9 months ago
Stage: external
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/sysadm/support-services/aks/howtos.rst
+2
-1
2 additions, 1 deletion
docs/sysadm/support-services/aks/howtos.rst
docs/sysadm/support-services/rancher/howtos.rst
+17
-0
17 additions, 0 deletions
docs/sysadm/support-services/rancher/howtos.rst
with
19 additions
and
1 deletion
docs/sysadm/support-services/aks/howtos.rst
+
2
−
1
View file @
4b4033f4
...
...
@@ -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
This diff is collapsed.
Click to expand it.
docs/sysadm/support-services/rancher/howtos.rst
+
17
−
0
View file @
4b4033f4
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment