-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update kubespray to v2.26.0 #611
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cloudnull
force-pushed
the
kubespray-v2.26.0
branch
4 times, most recently
from
December 7, 2024 21:56
aa5de39
to
db467ac
Compare
Upgrade to (genestack) root@compute-1:/opt/genestack/submodules/kubespray# ansible-playbook cluster.yml -e upgrade_cluster_setup=true -f 25 -e kube_version=v1.29.7
...
PLAY RECAP **************************************************************************************************************************************************************************************************
compute-0.cloud.cloudnull.dev.local : ok=445 changed=12 unreachable=0 failed=0 skipped=622 rescued=0 ignored=1
compute-1.cloud.cloudnull.dev.local : ok=674 changed=34 unreachable=0 failed=0 skipped=1095 rescued=0 ignored=2
compute-2.cloud.cloudnull.dev.local : ok=437 changed=12 unreachable=0 failed=0 skipped=629 rescued=0 ignored=1
Saturday 07 December 2024 16:14:08 -0600 (0:00:00.062) 0:04:55.548 *****
===============================================================================
kubernetes/control-plane : Kubeadm | Upgrade other masters ------------------------------------------------------------------------------------------------------------------------------------------- 9.05s
etcd : Gen_certs | Write etcd member/admin and kube_control_plane client certs to other etcd nodes --------------------------------------------------------------------------------------------------- 6.32s
kubernetes-apps/ansible : Kubernetes Apps | Start Resources ------------------------------------------------------------------------------------------------------------------------------------------ 3.18s
container-engine/containerd : Containerd | Unpack containerd archive --------------------------------------------------------------------------------------------------------------------------------- 3.04s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 3.04s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 3.04s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 3.03s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 3.02s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 3.01s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 3.01s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.99s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.99s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.89s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.89s
download : Prep_download | Register docker images info ----------------------------------------------------------------------------------------------------------------------------------------------- 2.88s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.86s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.72s
kubernetes-apps/ansible : Kubernetes Apps | Lay Down CoreDNS templates ------------------------------------------------------------------------------------------------------------------------------- 2.68s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.68s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.65s System validated as functional. (genestack) root@compute-1:/opt/genestack/submodules/kubespray# kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
compute-0.cloud.cloudnull.dev.local Ready control-plane,worker 162d v1.29.7 172.16.27.67 <none> Debian GNU/Linux 12 (bookworm) 6.11.5+bpo-amd64 containerd://1.7.21
compute-1.cloud.cloudnull.dev.local Ready,SchedulingDisabled control-plane,worker 162d v1.29.7 172.16.27.34 <none> Debian GNU/Linux 12 (bookworm) 6.9.7+bpo-amd64 containerd://1.7.21
compute-2.cloud.cloudnull.dev.local Ready control-plane,worker 111d v1.29.7 172.16.27.113 <none> Ubuntu 24.04.1 LTS 6.11.0-1008-oem containerd://1.7.21 |
Upgrade to ansible-playbook cluster.yml -e upgrade_cluster_setup=true -f 25 -e kube_version=v1.30.4
...
PLAY RECAP **************************************************************************************************************************************************************************************************
compute-0.cloud.cloudnull.dev.local : ok=448 changed=21 unreachable=0 failed=0 skipped=624 rescued=0 ignored=1
compute-1.cloud.cloudnull.dev.local : ok=675 changed=42 unreachable=0 failed=0 skipped=1094 rescued=0 ignored=2
compute-2.cloud.cloudnull.dev.local : ok=440 changed=21 unreachable=0 failed=0 skipped=631 rescued=0 ignored=1
Saturday 07 December 2024 16:26:26 -0600 (0:00:00.068) 0:08:14.767 *****
===============================================================================
kubernetes/control-plane : Kubeadm | Upgrade first master ------------------------------------------------------------------------------------------------------------------------------------------ 154.87s
kubernetes/control-plane : Create kubeadm token for joining nodes with 24h expiration (default) ----------------------------------------------------------------------------------------------------- 12.68s
kubernetes-apps/ingress_controller/cert_manager : Cert Manager | Remove legacy namespace ------------------------------------------------------------------------------------------------------------- 6.68s
etcd : Gen_certs | Write etcd member/admin and kube_control_plane client certs to other etcd nodes --------------------------------------------------------------------------------------------------- 6.21s
kubernetes/control-plane : Kubeadm | Check api is up ------------------------------------------------------------------------------------------------------------------------------------------------- 5.59s
download : Download_file | Download item ------------------------------------------------------------------------------------------------------------------------------------------------------------- 4.87s
download : Download_file | Download item ------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.95s
container-engine/containerd : Containerd | Unpack containerd archive --------------------------------------------------------------------------------------------------------------------------------- 3.90s
container-engine/crictl : Download_file | Download item ---------------------------------------------------------------------------------------------------------------------------------------------- 3.83s
container-engine/nerdctl : Download_file | Download item --------------------------------------------------------------------------------------------------------------------------------------------- 3.51s
container-engine/crictl : Extract_file | Unpacking archive ------------------------------------------------------------------------------------------------------------------------------------------- 3.47s
container-engine/containerd : Download_file | Download item ------------------------------------------------------------------------------------------------------------------------------------------ 3.40s
kubernetes-apps/ansible : Kubernetes Apps | Start Resources ------------------------------------------------------------------------------------------------------------------------------------------ 3.35s
container-engine/nerdctl : Extract_file | Unpacking archive ------------------------------------------------------------------------------------------------------------------------------------------ 2.94s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.83s
kubernetes-apps/ansible : Kubernetes Apps | Lay Down CoreDNS templates ------------------------------------------------------------------------------------------------------------------------------- 2.78s
download : Prep_download | Register docker images info ----------------------------------------------------------------------------------------------------------------------------------------------- 2.63s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.59s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.57s
download : Check_pull_required | Generate a list of information about the images on a node ---------------------------------------------------------------------------------------------------------- 2.53s System validated as functional. (genestack) root@compute-1:/opt/genestack/submodules/kubespray# kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
compute-0.cloud.cloudnull.dev.local Ready control-plane,worker 162d v1.30.4 172.16.27.67 <none> Debian GNU/Linux 12 (bookworm) 6.11.5+bpo-amd64 containerd://1.7.21
compute-1.cloud.cloudnull.dev.local Ready control-plane,worker 162d v1.30.4 172.16.27.34 <none> Debian GNU/Linux 12 (bookworm) 6.9.7+bpo-amd64 containerd://1.7.21
compute-2.cloud.cloudnull.dev.local Ready control-plane,worker 111d v1.30.4 172.16.27.113 <none> Ubuntu 24.04.1 LTS 6.11.0-1008-oem containerd://1.7.21 |
OpenStack confirmed operational through the upgrades (openstack) root@compute-1:/opt/genestack/submodules/kubespray# openstack --os-cloud default server list
+--------------------------------------+-------------------+---------+------------------------------------------+------------------+------------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-------------------+---------+------------------------------------------+------------------+------------+
| ded48f02-7213-477e-b6f2-100b9b11cdcc | appnode-0 | ACTIVE | flat=172.16.25.162 | fedora-coreos-40 | gp.2.4.8 |
| e2c385ed-b819-4806-9f55-a2f630784800 | ollama-0 | ACTIVE | flat=172.16.25.169 | Ubuntu-24.04 | ap.1.10.48 |
| 7f4c3461-10e0-4485-8d49-bb5c89f20893 | devcontainers-0 | ACTIVE | flat=172.16.25.194 | Debian-11 | m1.large |
| 5b429f91-a21e-4d80-845b-c3137a1e8cc3 | wireguard-0 | ACTIVE | flat=172.16.25.199 | Debian-11 | m1.tiny |
| c5f10068-0e45-4102-86c9-72bca6e28f6e | theLounge-0 | ACTIVE | flat=172.16.25.173 | Debian-11 | m1.small |
| e52586e8-fc7a-429d-b7a5-e0b24a984c12 | unifi-0 | ACTIVE | flat=172.16.25.179 | Debian-11 | m1.medium |
+--------------------------------------+-------------------+---------+------------------------------------------+------------------+------------+
(openstack) root@compute-1:/opt/genestack/submodules/kubespray# ping 172.16.25.169
PING 172.16.25.169 (172.16.25.169) 56(84) bytes of data.
64 bytes from 172.16.25.169: icmp_seq=1 ttl=64 time=1.68 ms
64 bytes from 172.16.25.169: icmp_seq=2 ttl=64 time=0.408 ms
--- 172.16.25.169 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.408/1.045/1.682/0.637 ms
(openstack) root@compute-1:/opt/genestack/submodules/kubespray# ping 172.16.25.173
PING 172.16.25.173 (172.16.25.173) 56(84) bytes of data.
64 bytes from 172.16.25.173: icmp_seq=1 ttl=64 time=1.10 ms
64 bytes from 172.16.25.173: icmp_seq=2 ttl=64 time=0.624 ms |
This change retains support for our current version of Kubernetes but also ensures that we have future support for upgrades as needed. * Requirements have been updated to support the updated version of Kubespray. Signed-off-by: Kevin Carter <[email protected]>
cloudnull
force-pushed
the
kubespray-v2.26.0
branch
from
December 7, 2024 22:45
db467ac
to
aee4294
Compare
cloudnull
commented
Dec 8, 2024
cloudnull
commented
Dec 8, 2024
rackerchris
approved these changes
Dec 11, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM +1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change retains support for our current version of Kubernetes but also ensures that we have future support for upgrades as needed.