Completed upto lesson 35

This commit is contained in:
Mosiur Rahman
2026-08-26 19:37:55 +06:00
parent 639e69484c
commit eaef1c17a7
20 changed files with 1586 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
apiVersion: v1
kind: Namespace
metadata:
name: context-lab
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: report-api
namespace: context-lab
spec:
replicas: 1
selector:
matchLabels:
app: report-api
template:
metadata:
labels:
app: report-api
spec:
containers:
- name: api
image: nginxinc/nginx-unprivileged:1.27-alpine
ports:
- containerPort: 8080
- name: log-exporter
image: busybox:1.37
command: ["sh", "-c", "while true; do date >> /var/cache/exporter/events.log; sleep 30; done"]