Bug 1950270
| Summary: | should use "kubernetes.io/os" in the dns/ingresscontroller node selector description when executing oc explain command | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hongan Li <hongli> |
| Component: | Networking | Assignee: | Stephen Greene <sgreene> |
| Networking sub component: | DNS | QA Contact: | jechen <jechen> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | medium | CC: | aos-bugs, jechen, sgreene |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:01:29 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: | |||
Verified with 4.8.0-0.nightly-2021-04-30-201824
$ oc get clusterversions
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.8.0-0.nightly-2021-04-30-201824 True False 11m Cluster version is 4.8.0-0.nightly-2021-04-30-201824
[jechen@jechen ~]$ oc explain dns.spec.nodePlacement --api-version=operator.openshift.io/v1
<--snip-->
FIELDS:
nodeSelector <map[string]string>
nodeSelector is the node selector applied to DNS pods. If empty, the
default is used, which is currently the following:
kubernetes.io/os: linux This default is subject to change. If set, the <--verified with https://github.com/openshift/api/pull/886/files
specified selector is used and replaces the default.
<--snip-->
[jechen@jechen ~]$ oc explain ingresscontroller.spec.nodePlacement --api-version=operator.openshift.io/v1
<--snip--->
FIELDS:
nodeSelector <Object>
nodeSelector is the node selector applied to ingress controller
deployments. If unset, the default is:
kubernetes.io/os: linux node-role.kubernetes.io/worker: '' If set, the <--verified with https://github.com/openshift/api/pull/886/files
specified selector is used and replaces the default.
<--snip-->
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438 |
Description of problem: should replace "beta.kuberneta.io/os" with "kubernetes.io/os" in the dns/ingresscontroller node selector description. Version-Release number of selected component (if applicable): 4.8.0-0.nightly-2021-04-15-202330 How reproducible: 100% Steps to Reproduce: 1. $ oc explain dns.spec.nodePlacement --api-version=operator.openshift.io/v1 2. $ oc explain ingresscontroller.spec.nodePlacement --api-version=operator.openshift.io/v1 Actual results: DESCRIPTION: nodePlacement enables explicit control over the scheduling of the ingress controller. If unset, defaults are used. See NodePlacement for more details. FIELDS: nodeSelector <Object> nodeSelector is the node selector applied to ingress controller deployments. If unset, the default is: beta.kubernetes.io/os: linux node-role.kubernetes.io/worker: '' If set, the specified selector is used and replaces the default. Expected results: the default is: kubernetes.io/os: linux Additional info: