apiVersion: apps/v1 kind: Deployment metadata: name: aurelie-portfolio namespace: portfolio labels: app: aurelie-portfolio spec: replicas: 2 selector: matchLabels: app: aurelie-portfolio template: metadata: labels: app: aurelie-portfolio spec: containers: - name: aurelie-portfolio image: git.arthurbarre.fr/ordinarthur/aurelie-portfolio:latest ports: - containerPort: 80 resources: requests: memory: "64Mi" cpu: "50m" limits: memory: "128Mi" cpu: "200m" livenessProbe: httpGet: path: / port: 80 initialDelaySeconds: 5 periodSeconds: 30 readinessProbe: httpGet: path: / port: 80 initialDelaySeconds: 3 periodSeconds: 10 imagePullSecrets: - name: gitea-registry-secret