Files
hello-cicd/k8s/deployment.yaml
sz11zs c5ed7929dd
Some checks failed
CI/CD Pipeline popravak / build (push) Successful in 1m31s
CI/CD Pipeline popravak / deploy (push) Failing after 1m5s
bez ispravljeni koda
2026-05-03 11:39:58 +02:00

29 lines
612 B
YAML

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