Files
helloo-cicdd/k8s/deployment.yaml
Marijanela Pranjić 3ac955958a
Some checks failed
CI/CD Pipeline / build (push) Has been cancelled
CI/CD Pipeline / deploy (push) Has been cancelled
Ispravka
2026-04-14 11:08:40 +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}