You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many users in OpenYurt community have requested that support InClusterConfig for pods to access kube-apiserver through yurt-hub on edge nodes. so pods on cloud can move to edge cluster smoothly.
And based on InClusterConfig, pods will use address https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT} to access kube-apiserver.
so we need to add the following sub features.
sub feature1: yurthub supports https serve.
sub feature2: envKUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORTshould be the address that yurt-hub listening, like169.254.2.1:10261`
Why is this needed:
In native kubernetes cluster, Pods usually use InClusterConfig setting to access kube-apiserver.
If InClusterConfig for pods is supported in OpenYurt, pods in native kubernetes cluster can be moved into OpenYurt cluster smoothly and no modification.
others
sub feature1 is handled by @luckymrwang in this pull request: #368
The text was updated successfully, but these errors were encountered:
What would you like to be added:
https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT}
to access kube-apiserver.so we need to add the following sub features.
KUBERNETES_SERVICE_HOST and
KUBERNETES_SERVICE_PORTshould be the address that yurt-hub listening, like
169.254.2.1:10261`Why is this needed:
In native kubernetes cluster, Pods usually use
InClusterConfig
setting to access kube-apiserver.If
InClusterConfig
for pods is supported in OpenYurt, pods in native kubernetes cluster can be moved into OpenYurt cluster smoothly and no modification.others
The text was updated successfully, but these errors were encountered: