aboutsummaryrefslogblamecommitdiffstats
path: root/simulation/kubernetes/node.yaml.in
blob: bc457e6e7502d9306c81965ac1e77e0e3a7591dc (plain) (tree)
1
2
3
4
5
6
7
8
9








                              
                        



















                                                               

                         
                   

                         

                        
                           
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"