--- apiVersion: apps/v1 kind: Deployment metadata: labels: application: kubethis -deployment name: kubethis -app namespace: kubethis-env spec: strategy: type: RollingUpdate rollingUpdate: maxSurge: 2 maxUnavailable: 1 replicas: 1 selector: matchLabels: application: kubethis -app template: metadata: labels: application: kubethis -app spec: containers: - name: kubethis -app image: kubethis_app:latest imagePullPolicy: Always command: - /bin/sh - -c - > exec bundle exec rails server -p 80 -b 0.0.0.0 env: ports: