/dhall-kubernetes-1.14-v4.0.0/examples/out/deployment.yaml

Copy path to clipboard

Source

apiVersion: apps/v1 kind: Deployment metadata: name: nginx spec: replicas: 2 revisionHistoryLimit: 10 selector: matchLabels: app: nginx strategy: rollingUpdate: maxSurge: 5 maxUnavailable: 0 type: RollingUpdate template: metadata: labels: app: nginx name: nginx spec: containers: - image: nginx:1.15.3 imagePullPolicy: Always name: nginx ports: - containerPort: 80 resources: limits: cpu: 500m requests: cpu: 10m