[22.02.20] 1 Replica, changed endpoint secrets and limits
This commit is contained in:
parent
4d9424d4dc
commit
3805b12c35
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user