Question 56
You have a Deployment named 'my-app-deployment' running a Flask application. You need to configure a rolling update strategy with a maximum of one pod unavailable at any time. You also want to trigger an automatic update whenever a new image is pushed to the Docker Hub repository. Additionally, you want to analyze the application logs during the update process to ensure everything is working smoothly. How would you achieve this?
Question 57
You are deploying a resource-intensive application that requires a large amount of memory and CPU. How would you create a ResourceQuota to limit the resources consumed by this application and prevent it from impacting other workloads in the cluster?
Question 58

Task:
1) Create a secret named app-secret in the default namespace containing the following single key-value pair:
Key3: value1
2) Create a Pod named ngnix secret in the default namespace.Specify a single container using the nginx:stable image.
Add an environment variable named BEST_VARIABLE consuming the value of the secret key3.
Question 59
You are developing a multi-container application that includes a web server, a database, and a message broker. You want to ensure that the database and message broker start before the web server to avoid dependency issues. How can you design your deployment to achieve this?
Question 60
You're building a containerized application that needs access to a database running outside of the Kubernetes cluster You need to implement a service account With specific permissions to access tne external database using an API key.












