setup app names

This commit is contained in:
Victor Barba Martin 2021-07-19 19:54:10 +02:00
parent d757e8fd4e
commit 08d6d5e56e
1 changed files with 8 additions and 13 deletions

View File

@ -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