BEGINNER • Linux and Networking Basics
Pipeline Sprint: stabilize service availability #7
This lesson focuses on stabilize service availability for a support ticket platform environment. You will run commands: docker run -p 3000:3000 app:dev | ls -la | ip a. The content is designed for practical DevOps and Cloud execution, not generic examples.
Code Example
apiVersion: apps/v1
kind: Deployment
metadata:
name: app
spec:
replicas: 3
selector:
matchLabels:
app: app
template:
metadata:
labels:
app: app
spec:
containers:
- name: app
image: app:latest
resources:
requests:
cpu: "200m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "512Mi"
# verify with: docker run -p 3000:3000 app:devCommands & References
- docker run -p 3000:3000 app:dev
- ls -la
- ip a
Lab Steps
- Prepare tooling and environment with: docker run -p 3000:3000 app:dev
- Apply infrastructure or deployment change in a safe test environment.
- Validate rollout/health/metrics and document observations.
- Propose one reliability or security improvement for production.
Exercises
- Add one guardrail to prevent faulty deployments.
- Implement one observability signal for faster incident debugging.
- Write a rollback checklist for this scenario.