apiVersion: apps/v1 kind: Deployment metadata: name: whalehunting namespace: whalehunting labels: app.kubernetes.io/name: whalehunting app.kubernetes.io/component: web spec: replicas: 2 selector: matchLabels: app.kubernetes.io/name: whalehunting template: metadata: labels: app.kubernetes.io/name: whalehunting app.kubernetes.io/component: web spec: containers: - name: whalehunting image: git.kube2.tricnet.de/admin/whalehunting:latest ports: - name: http containerPort: 80 protocol: TCP livenessProbe: httpGet: path: / port: http initialDelaySeconds: 5 periodSeconds: 10 readinessProbe: httpGet: path: / port: http initialDelaySeconds: 5 periodSeconds: 10 resources: limits: cpu: 100m memory: 128Mi requests: cpu: 50m memory: 64Mi