Closed jinsongo closed 3 years ago
@Fei-Guo @christopherhein @gyliu513 @vincent-pli
I don't have objection to add this to the default apiserver template if it has no side effect for normal usage. @christopherhein What do you think?
@Fei-Guo @christopherhein Aggregation API is the feature of standard Kubernetes for extending Kubernetes: https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/
Agreed, I don't have any reason why this couldn't be included. I will review that PR today.
What steps did you take and what happened: [A clear and concise description on how to REPRODUCE the bug.]
OLM needs to work on Aggregation API for extension apiserver
packageserver
, but it's disabled by Virtual Cluster. Please enable the aggregation layer via the following kube-apiserver flags, follows a example:Otherwise,
Please reference more from: https://kubernetes.io/docs/tasks/extend-kubernetes/configure-aggregation-layer/
What did you expect to happen: The OLM can be installed successfully.
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
I validated the solution by the following workaround:
oc edit sts apiserver -n default-394ccf-vc-sample-1
To add the following flags in args:Then, delete to restart apiserver-0 in default-394ccf-vc-sample-1 for enabling Aggregation API feature.
Environment:
kubectl version
): 1.20.0/etc/os-release
): Red Hat Enterprise Linux 8/kind bug [One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-provider-nested/labels?q=area for the list of labels]