-
Notifications
You must be signed in to change notification settings - Fork 68
Access https://kubernetes:443 timeout in OLM operators on virtual cluster on OpenShift #164
Comments
We should sync the kubernetes ep from virtual cluster to super cluster. Based on the dws code for ep, we only filter ep
Can you double check why the ep is not synced from virtualcluster to super cluster? FYI, this is what I see from my local setup
|
@wangjsty To @Fei-Guo , seems we change the |
@Fei-Guo, No endpoint created, that's why I manually created one as workaround. # kubectl get ep -n default-3fbd77-vc-sample-1-default
No resources found in default-3fbd77-vc-sample-1-default namespace |
@wangjsty You can try to update the EP in vc, e.g., adding a dummy label and see if it is created in super and by the mean time, check the syncer log for any errors. |
@Fei-Guo @vincent-pli
|
@vincent-pli @Fei-Guo |
@vincent-pli @Fei-Guo |
Seems it's not problem of permission, OCP set some restriction when user try to create and this:
https://github.com/openshift/cluster-kube-apiserver-operator/blob/master/README.md @wangjsty |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]
Reference https://github.com/kubernetes-sigs/cluster-api-provider-nested/blob/main/virtualcluster/doc/demo.md to install virtual cluster on OpenShift 4.7.13, but using the following workaround for some security constraints problems:
Follows as example:
Workarounds:
In order to activate the workaround, the related pods need be deleted to restart.
Install OLM on virtual cluster
Check OLM pods that are CrashLoopBackOff status
BTW, I also deployed nginx on the virtual cluster, looks like it does work well.
What did you expect to happen:
OLM pods can be running normally.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
On virtual cluster:
On super cluster:
I checked, the endpoint 10.254.28.88:6443 is reachable.
But https://kubernetes:443 is resolved as the kubernetes service IP 172.30.69.161 in super cluster, not the kubernetes service IP 10.32.0.1 in virtual cluster. And Endpoints is
<none>
for the kubernetes service from super cluster.Furthermore, I also debugged by "telnet 10.32.0.1 443" in the pod on virtual cluster, that could not be forwarded to endpoints because no connection can be established.
Use the following workaround, the https://kubernetes:443 timeout probelm can be resolved !
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]
The text was updated successfully, but these errors were encountered: