Question 71

Your Kubernetes cluster has been running for some time, and it's becoming increasingly difficult to manage permissions for your applications. You are noticing a growing list of roles and role bindings, making it challenging to understand the relationships between them.
Describe a strategy to simplify and streamline your RBAC configuration by implementing best practices. Also, discuss how you can improve the manageability and auditing of your RBAC setup.

Question 72

Create an nginx pod with containerPort 80 and with a PersistentVolumeClaim "task-pv-claim" and has a mouth path "/usr/share/nginx/html"
  • Question 73

    You have a Kubernetes cluster with a 'default' namespace. You want to prevent any users from creating pods in this namespace.
    Create a ClusterRole and ClusterRoleBinding to achieve this restriction.

    Question 74

    List the nginx pod with custom columns POD_NAME and POD_STATUS

    Question 75

    Create a pod as follows:
    * Name:non-persistent-redis
    * container Image:redis
    * Volume with name:cache-control
    * Mount path:/data/redis
    The pod should launch in thestagingnamespace and the volumemust notbe persistent.