infra/k8s/shockrah.xyz/deployment.yaml

22 lines
379 B
YAML
Raw Normal View History

2024-01-18 05:17:25 +00:00
kind: Deployment
apiVersion: apps/v1
metadata:
name: shockrah-xyz-dep
labels:
app: shockrah-xyz
spec:
replicas: 1
selector:
matchLabels:
app: shockrah-xyz
template:
metadata:
labels:
app: shockrah-xyz
spec:
containers:
- name: shockrah-xyz
2024-01-18 05:17:25 +00:00
image: nginx:latest
ports:
- containerPort: 80