SIMULATION
Score: 4%

Context
You have been asked to create a new ClusterRole for a deployment pipeline and bind it to a specific ServiceAccount scoped to a specific namespace.
Task
Create a new ClusterRole named deployment-clusterrole, which only allows to create the following resource types:
* Deployment
* StatefulSet
* DaemonSet
Create a new ServiceAccount named cicd-token in the existing namespace app-team1.
Bind the new ClusterRole deployment-clusterrole lo the new ServiceAccount cicd-token , limited to the namespace app-team1.
Solution:
Task should be complete on node k8s -1 master, 2 worker for this connect use command
[student@node-1] > ssh k8s
kubectl create clusterrole deployment-clusterrole --verb=create --resource=deployments,statefulsets,daemonsets
kubectl create serviceaccount cicd-token --namespace=app-team1
kubectl create rolebinding deployment-clusterrole --clusterrole=deployment-clusterrole --serviceaccount=default:cicd-token --namespace=app-team1
Nu
1 day agoAlonso
6 days agoDahlia
11 days agoTherese
17 days agoNu
22 days agoAlonso
27 days agoDahlia
1 month agoTherese
1 month agoLisbeth
1 month agoElke
2 months agoNickole
2 months agoSantos
2 months agoShaquana
2 months agoFreida
2 months agoRicki
2 months agoMarquetta
3 months agoNadine
3 months ago