Add Pod and Deployment examples

This commit is contained in:
B4D_US3R 2026-03-11 20:42:07 +05:00
commit fd21b566f1
3 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: &app nginx
spec:
replicas: 3
selector:
matchLabels:
app: *app
template:
metadata:
labels:
app: *app
spec:
containers:
- name: *app
image: nginx:1.28.2-alpine
ports:
- containerPort: 80