From f82f27bef042702c35d55fb8d46b9199aa36ffd4 Mon Sep 17 00:00:00 2001 From: Sean Turner Date: Wed, 7 Feb 2018 11:54:49 +0000 Subject: [PATCH] Add Kubernetes deployment --- no.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 no.yaml diff --git a/no.yaml b/no.yaml new file mode 100644 index 0000000..24a8fba --- /dev/null +++ b/no.yaml @@ -0,0 +1,30 @@ +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + annotations: + deployment.kubernetes.io/revision: "1" + labels: + run: scratch + name: scratch +spec: + replicas: 1 + selector: + matchLabels: + run: scratch + strategy: + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + run: scratch + spec: + containers: + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30