# mumshad

2개의 포스트

[Mock3_3] Multi-POD

docs >> https://kubernetes.io/ko/docs/concepts/workloads/pods/ Create a pod called multi-pod with two containers.Container 1, name: alpha, image: nginxContainer 2: name: beta, image: busybox, command: sleep 4800Environment Variables:container 1:name: alphaContainer 2:name: beta Pod Name: multi-pod Container 1: alpha Container 2: beta Container beta commands set correctly? Container 1 Environment Value Set Container 2 Environment Value Set [https://kubernetes.io/ko/docs/c

2023년 1월 31일
·
0개의 댓글
·

[Mock3_1] RBAC

docs > https://kubernetes.io/docs/reference/access-authn-authz/rbac/#kubectl-create-role Create a new service account with the name pvviewer. Grant this Service account access to list all PersistentVolumes in the cluster by creating an appropriate cluster role called pvviewer-role and ClusterRoleBinding called pvviewer-role-binding.Next, create a pod called pvviewer with the image: redis and serviceAccount: pvviewer in the default namespace. ServiceAccount: pvviewer ClusterRole:

2023년 1월 31일
·
0개의 댓글
·