You can switch the cluster/configuration context using the following command: [desk@cli] $kubectl config use-context prod-account
Context: A Role bound to a Pod's ServiceAccount grants overly permissive permissions. Complete the following tasks to reduce the set of permissions. Task: Given an existing Pod namedweb-podrunning in the namespacedatabase. 1. Edit the existing Role bound to the Pod's ServiceAccounttest-sato only allow performing get operations, only on resources of type Pods. 2. Create a new Role namedtest-role-2in the namespacedatabase, which only allows performingupdateoperations, only on resources of typestatuefulsets. 3. Create a new RoleBinding namedtest-role-2-bindbinding the newly created Role to the Pod's ServiceAccount. Note: Don't delete the existing RoleBinding.
Kimi
9 months agoMelda
8 months agoJusta
8 months agoEva
8 months agoNina
9 months agoSalome
8 months agoLeah
9 months agoWilda
9 months agoIra
9 months agoLeatha
10 months agoIra
10 months ago