kubectl get pods -n kube-system | grep kubernetes-dashboard
kubectl -n kube-system expose pod kubernetes-dashboard-768854d6dc-678x9 --name=dashboard --type=LoadBalancer
kubectl get services -n kube-system | grep ^dashboard
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: kube-system-clusterrolebinding
subjects:
- kind: ServiceAccount
name: kubernetes-dashboard
namespace: kube-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
gcloud components install docker-credential-gcr
docker-credential-gcr configure-docker
export DOCKER_REGISTRY=gcr.io
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: kube-system-clusterrolebinding
subjects:
- kind: ServiceAccount
name: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: vora-clusterrolebinding
subjects:
- kind: ServiceAccount
name: default
namespace: vora
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
kubectl -n vora get pods | grep vsystem-[1-9]
kubectl -n vora expose pod vsystem-2326503697-9864k --name=kubernetes --type=LoadBalancer
kubectl get services -n vora | grep kubernetes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |