diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index a93e12c..4ba59b8 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: RESOURCE_NAME namespace: default spec: - replicas: 0 + replicas: 1 selector: matchLabels: app: RESOURCE_NAME @@ -39,13 +39,13 @@ spec: - name: DATABASE_URL valueFrom: secretKeyRef: - name: db-gateway - key: db.url + name: endpoints + key: dbGateway.url - name: DATABASE_PORT valueFrom: secretKeyRef: - name: db-gateway - key: db.port + name: endpoints + key: dbGateway.port - name: COINBASE_KEY valueFrom: secretKeyRef: @@ -85,11 +85,11 @@ spec: imagePullPolicy: Always resources: requests: - cpu: 0.25 - memory: 128Mi + cpu: 1m + memory: 16Mi limits: - cpu: 0.25 - memory: 128Mi + cpu: 2m + memory: 32Mi restartPolicy: Always imagePullSecrets: - name: registry-secret \ No newline at end of file