-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dashboard 如何通过ip访问,不用localhost #38
Comments
|
https://github.com/AliyunContainerService/k8s-for-docker-desktop/blob/master/kubernetes-dashboard.yaml 这个文件加一个 kind: Service
apiVersion: v1
metadata:
labels:
k8s-app: kubernetes-dashboard
name: kubernetes-dashboard
namespace: kube-system
spec:
type: NodePort
ports:
- port: 443
targetPort: 8443
selector:
k8s-app: kubernetes-dashboard |
为什么这些cluster-ip都无法ping通呢? |
外部访问不到 cluster-ip (k8s 运行在虚拟机,windows 不能ping 通虚拟机内部地址) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
k8s 的dashboard,如何通过ip访问,而不是localhost
The text was updated successfully, but these errors were encountered: