Updated install for kubectl windows and kube-token

This commit is contained in:
Sambo Chea 2021-10-11 09:24:47 +07:00
parent 2b47ed900a
commit 7b282c3168
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490
3 changed files with 20 additions and 0 deletions

View File

@ -251,5 +251,8 @@ chmod o-r ~/.kube/config
chmod g-r ~/.kube/config chmod g-r ~/.kube/config
``` ```
#### Install kubectl for Windows
- https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/
#### References #### References
- https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker - https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker

View File

@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: admin-user
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: admin-user
namespace: kube-system

View File

@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: admin-user
namespace: kube-system