Bug 1995858
| Summary: | Control-plane nodes are missing the node-role.kubernetes.io/control-plane label | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Miciah Dashiel Butler Masters <mmasters> |
| Component: | Node | Assignee: | Ryan Phillips <rphillips> |
| Node sub component: | Kubelet | QA Contact: | Weinan Liu <weinliu> |
| Status: | CLOSED WONTFIX | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aos-bugs, jerzhang, mfojtik, nagrawal, schoudha, tsweeney, wking, xxia |
| Version: | 4.10 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-04-30 18:04:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Miciah Dashiel Butler Masters
2021-08-19 23:30:36 UTC
I assume in the MCO repository, we would need to do two things: 1. change the kubelet service template to label/taint with control-plane 2. change our nodeselector labelling to use the new label Is that understanding correct? Also looping in the node team for the kubelet service template. Not completed this sprint. Control-plane labels were added into 4.12 nightlies. We are following up in jira in regards to controllers to help manage the migration. https://github.com/openshift/machine-config-operator/pull/3273 % oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.12.0-0.nightly-2022-10-15-094115 True False 163m Cluster version is 4.12.0-0.nightly-2022-10-15-094115
% oc get nodes
NAME STATUS ROLES AGE VERSION
ip-10-0-153-107.us-east-2.compute.internal Ready worker 178m v1.25.2+5bf2e1f
ip-10-0-154-141.us-east-2.compute.internal Ready control-plane,master 3h3m v1.25.2+5bf2e1f
ip-10-0-168-115.us-east-2.compute.internal Ready worker 92m v1.25.2+5bf2e1f
ip-10-0-170-72.us-east-2.compute.internal Ready control-plane,master 3h4m v1.25.2+5bf2e1f
ip-10-0-205-170.us-east-2.compute.internal Ready worker 179m v1.25.2+5bf2e1f
ip-10-0-218-17.us-east-2.compute.internal Ready control-plane,master 3h4m v1.25.2+5bf2e1f
% oc get nodes --show-labels | grep -e 'node-role\.kubernetes\.io/[^=]\+' -o
node-role.kubernetes.io/worker
node-role.kubernetes.io/control-plane
node-role.kubernetes.io/master
node-role.kubernetes.io/worker
node-role.kubernetes.io/control-plane
node-role.kubernetes.io/master
node-role.kubernetes.io/worker
node-role.kubernetes.io/control-plane
node-role.kubernetes.io/master
% oc get nodes -ojson | jq -c '.items|.[]|.spec.taints'
null
[{"effect":"NoSchedule","key":"node-role.kubernetes.io/master"}]
null
[{"effect":"NoSchedule","key":"node-role.kubernetes.io/master"}]
null
[{"effect":"NoSchedule","key":"node-role.kubernetes.io/master"}]
OCP is no longer using Bugzilla and this bug appears to have been left in an orphaned state. If the bug is still relevant, please open a new issue in the OCPBUGS Jira project: https://issues.redhat.com/projects/OCPBUGS/summary |