diff options
Diffstat (limited to 'simulation/kubernetes/node.yaml.in')
-rw-r--r-- | simulation/kubernetes/node.yaml.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/simulation/kubernetes/node.yaml.in b/simulation/kubernetes/node.yaml.in new file mode 100644 index 0000000..bc457e6 --- /dev/null +++ b/simulation/kubernetes/node.yaml.in @@ -0,0 +1,38 @@ +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + name: dexcon-simulation + labels: + app: dexcon-simulation + type: cobinhood +spec: + revisionHistoryLimit: 5 + replicas: {{numNodes}} + template: + metadata: + name: dexcon-simulation + labels: + app: dexcon-simulation + spec: + nodeSelector: + cloud.google.com/gke-nodepool: default-pool + volumes: + - name: ssl-certs + hostPath: + path: /etc/ssl/certs + containers: + - name: dexcon-simulation + image: asia.gcr.io/cobinhood/dexcon-simulation:latest + imagePullPolicy: Always + ports: + - containerPort: 8080 + resources: + requests: + cpu: 2 + memory: 2Gi + limits: + cpu: 2 + memory: 2Gi + env: + - name: ROLE + value: "node" |