From 08d6d5e56e6e3b65a9a432b86cf993ca8361a667 Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Mon, 19 Jul 2021 19:54:10 +0200 Subject: [PATCH] setup app names --- .../webrtc-be-autoscaler.yaml | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/k8s/linode-autoscaler/webrtc-be-autoscaler.yaml b/k8s/linode-autoscaler/webrtc-be-autoscaler.yaml index d9ece1a..54aa2b8 100644 --- a/k8s/linode-autoscaler/webrtc-be-autoscaler.yaml +++ b/k8s/linode-autoscaler/webrtc-be-autoscaler.yaml @@ -2,8 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: k8s-autoscaler - namespace: coturn + name: coturn-autoscale spec: replicas: 1 strategy: @@ -13,16 +12,14 @@ spec: maxUnavailable: 0 selector: matchLabels: - app: k8s-autoscale + app: coturn-autoscale template: metadata: labels: - app: k8s-autoscale + app: coturn-autoscale spec: containers: - - name: k8s-autoscale - command: ["/bin/sleep"] - args: ["300"] + - name: coturn-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 @@ -59,7 +56,7 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: k8s-autoscaler + name: webrtc-be-autoscaler namespace: webrtc-be spec: replicas: 1 @@ -70,16 +67,14 @@ spec: maxUnavailable: 0 selector: matchLabels: - app: k8s-autoscale + app: webrtc-be-autoscale template: metadata: labels: - app: k8s-autoscale + app: webrtc-be-autoscale spec: containers: - - name: k8s-autoscale - command: ["/bin/sleep"] - args: ["300"] + - 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