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