devops interview
devops interview
1. Kubernetes Architecture
Master Components:
Node Components:
5. Explain Dockerfile
DockerfileCopyEditFROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["python", "app.py"]
Enable HTTPS.
Downloads providers.
Sets up backend.
16. CloudWatch Alarms & Auto Scaling
Create Alarm on metric (e.g., CPU > 70%).
Would you like a hands-on YAML or Terraform sample for any of these?