Quiz 7.3


1. Create a YAML configuration file named promdeploy-quiz.yaml for deploying Prometheus. Specify the following details in the YAML file:

  • Image: prom/prometheus:v2.30.3 (from Docker Hub)
  • Resource Limits:
    • Requests: 500m CPU, 500M memory
    • Limits: 1 CPU, 1Gi memory
  • Storage Configuration:
    • Storage Path: /prometheus/
    • Storage Type: emptyDir

2. Using kubectl, deploy Prometheus in the “quiz-monitoring” namespace using the configuration specified in the promdeploy-quiz.yaml file.