Files
k3s-management/k8s/deployment.yml
Ahmad Ardiansyah 7d63564023 add cicd on gitea
2025-11-13 17:11:33 +07:00

29 lines
547 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: APP_NAME
namespace: ENVIRONMENT
spec:
replicas: 1
selector:
matchLabels:
app: APP_NAME
template:
metadata:
labels:
app: APP_NAME
spec:
containers:
- name: APP_NAME
image: IMAGE_NAME
ports:
- containerPort: 3000
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 250m
memory: 128Mi