setup app names
This commit is contained in:
parent
b62f106315
commit
2155976e7f
|
|
@ -52,57 +52,3 @@ spec:
|
|||
memory: 32Mi
|
||||
limits:
|
||||
memory: 32Mi
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: webrtc-be-autoscaler
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
selector:
|
||||
matchLabels:
|
||||
app: webrtc-be-autoscale
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: webrtc-be-autoscale
|
||||
spec:
|
||||
containers:
|
||||
- name: webrtc-be-autoscale
|
||||
image: gcr.io/tough-craft-276813/linode-autoscaler:prod-0.1.5 ###{{linode_autoscaler_image}} ####### CHANGE THIS TO YOUR ACTUAL DOCKER IMAGE
|
||||
env:
|
||||
- name: LINODE_PERSONAL_ACCCESS_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: linode-personal-access-token-k8s-autoscaler ####### LINODE PERSONAL ACCESS TOKEN SECRET
|
||||
key: token
|
||||
- name: LINODE_LKE_CLUSTER_ID
|
||||
value: "29062"
|
||||
- name: LINODE_LKE_CLUSTER_POOL_ID
|
||||
value: "47218"
|
||||
- name: AUTOSCALE_TRIGGER
|
||||
value: "cpu"
|
||||
- name: AUTOSCALE_TRIGGER_TYPE
|
||||
value: "used"
|
||||
- name: AUTOSCALE_UP_PERCENTAGE
|
||||
value: "10"
|
||||
- name: AUTOSCALE_DOWN_PERCENTAGE
|
||||
value: "30"
|
||||
- name: AUTOSCALE_QUERY_INTERVAL
|
||||
value: "30"
|
||||
- name: AUTOSCALE_THRESHOLD_COUNT
|
||||
value: "3"
|
||||
- name: AUTOSCALE_NUMBER_OF_NODES
|
||||
value: "1"
|
||||
- name: AUTOSCALE_WAIT_TIME_AFTER_SCALING
|
||||
value: "150"
|
||||
resources:
|
||||
requests:
|
||||
memory: 32Mi
|
||||
limits:
|
||||
memory: 32Mi
|
||||
Loading…
Reference in New Issue