add linode autoscaler production

This commit is contained in:
Victor Barba Martin 2021-09-02 18:15:44 +02:00
parent 8c1dee7875
commit 3ecb165792
1 changed files with 4 additions and 5 deletions

View File

@ -120,11 +120,10 @@ pipelines:
- sed -i "s|{{linode_autoscaler_image}}|$AUTOSCALER_IMAGE|g" k8s/linode-autoscaler/production-webrtc-be-autoscaler.yaml - sed -i "s|{{linode_autoscaler_image}}|$AUTOSCALER_IMAGE|g" k8s/linode-autoscaler/production-webrtc-be-autoscaler.yaml
- sed -i "s|{{linode_autoscaler_image}}|$AUTOSCALER_IMAGE|g" k8s/linode-autoscaler/production-coturn-autoscaler.yaml - sed -i "s|{{linode_autoscaler_image}}|$AUTOSCALER_IMAGE|g" k8s/linode-autoscaler/production-coturn-autoscaler.yaml
- sed -i "s|{{coturn_dns_image}}|$COTURN_DNS_IMAGE|g" k8s/coturn-dns/production-coturn-dns.yaml - sed -i "s|{{coturn_dns_image}}|$COTURN_DNS_IMAGE|g" k8s/coturn-dns/production-coturn-dns.yaml
- pipe: atlassian/kubectl-run:1.1.2 # - pipe: atlassian/kubectl-run:1.1.2
variables: # variables:
KUBE_CONFIG: $KUBE_CONFIG_PRD # KUBE_CONFIG: $KUBE_CONFIG_PRD
KUBECTL_COMMAND: 'apply' # KUBECTL_COMMAND: 'apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml'
RESOURCE_PATH: 'https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml'
- pipe: atlassian/kubectl-run:1.1.2 - pipe: atlassian/kubectl-run:1.1.2
variables: variables:
KUBE_CONFIG: $KUBE_CONFIG_PRD KUBE_CONFIG: $KUBE_CONFIG_PRD