Bug 1748501
| Summary: | Admission plugins "unknown" during cluster configuration | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | brad.williams |
| Component: | kube-apiserver | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.2.0 | CC: | aos-bugs, geliu, mfojtik, xxia |
| Target Milestone: | --- | Keywords: | OnlineStarter |
| Target Release: | 4.2.0 | ||
| 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: | 2019-10-16 06:40:12 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
brad.williams
2019-09-03 17:55:35 UTC
These two admission plugins are owned by the scheduler (workloads). As it turned out, this was indeed problem in kube-apiserver (admission registration for openshift admission plugins was wrong). Verified in 4.2.0-0.nightly-2019-09-08-180038.
Applying `oc edit kubeapiserver`:
unsupportedConfigOverrides:
admission:
enabledPlugins:
- autoscaling.openshift.io/ClusterResourceOverride
- autoscaling.openshift.io/RunOnceDuration
pluginConfig:
autoscaling.openshift.io/ClusterResourceOverride:
configuration:
apiVersion: autoscaling.openshift.io/v1
cpuRequestToLimitPercent: 2
kind: ClusterResourceOverrideConfig
limitCPUToMemoryPercent: 200
memoryRequestToLimitPercent: 50
autoscaling.openshift.io/RunOnceDuration:
configuration:
activeDeadlineSecondsLimit: 3600
apiVersion: autoscaling.openshift.io/v1
kind: RunOnceDurationConfig
apiVersion: kubecontrolplane.config.openshift.io/v1
kind: KubeAPIServerConfig
Pods re-run well and co is good:
oc get po -l apiserver -n openshift-kube-apiserver
NAME READY STATUS RESTARTS AGE
kube-apiserver-ip-10-0-135-39.sa-east-1.compute.internal 3/3 Running 0 2m23s
kube-apiserver-ip-10-0-139-165.sa-east-1.compute.internal 3/3 Running 0 6m1s
kube-apiserver-ip-10-0-145-203.sa-east-1.compute.internal 3/3 Running 0 4m14s
oc get co kube-apiserver
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE
kube-apiserver 4.2.0-0.nightly-2019-09-08-180038 True False False 23h
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, 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/RHBA-2019:2922 |