K8S之部署Dashboard
2020-11-25 本文已影响0人
老陕西
kubernetes/dashboard: General-purpose web UI for Kubernetes clusters (github.com)
kind: Service
apiVersion: v1
metadata:
labels:
k8s-app: kubernetes-dashboard
name: kubernetes-dashboard
namespace: kubernetes-dashboard
spec:
type: NodePort
ports:
- port: 443
targetPort: 8443
nodePort: 30001
selector:
k8s-app: kubernetes-dashboard