Files
helloo-cicdd/k8s/deployment.yaml
Marijanela 85fc6f3a0f
Some checks failed
CI/CD Pipeline / build (push) Failing after 39s
CI/CD Pipeline / deploy (push) Has been skipped
fix: 2
2026-04-16 18:18:15 +02:00

30 lines
658 B
YAML

# k8s/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: helloo-cicdd
namespace: student-marijanela218
spec:
replicas: 1
selector:
matchLabels:
app: helloo-cicdd
template:
metadata:
labels:
app: helloo-cicdd
spec:
imagePullSecrets:
- name: gitea-creds
containers:
- name: helloo-cicdd
image: git.fpmoz.sum.ba/marijanela218/helloo-cicdd:latest
ports:
- containerPort: 8000
env:
- name: APP_VERSION
value: "latest"
resources:
requests: {cpu: 50m, memory: 64Mi}
limits: {cpu: 200m, memory: 128Mi}