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 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: k8s-autoscaler name: coturn-autoscale
namespace: coturn
spec: spec:
replicas: 1 replicas: 1
strategy: strategy:
@ -13,16 +12,14 @@ spec:
maxUnavailable: 0 maxUnavailable: 0
selector: selector:
matchLabels: matchLabels:
app: k8s-autoscale app: coturn-autoscale
template: template:
metadata: metadata:
labels: labels:
app: k8s-autoscale app: coturn-autoscale
spec: spec:
containers: containers:
- name: k8s-autoscale - name: coturn-autoscale
command: ["/bin/sleep"]
args: ["300"]
image: gcr.io/tough-craft-276813/linode-autoscaler:prod-0.1.5 ###{{linode_autoscaler_image}} ####### CHANGE THIS TO YOUR ACTUAL DOCKER IMAGE image: gcr.io/tough-craft-276813/linode-autoscaler:prod-0.1.5 ###{{linode_autoscaler_image}} ####### CHANGE THIS TO YOUR ACTUAL DOCKER IMAGE
env: env:
- name: LINODE_PERSONAL_ACCCESS_TOKEN - name: LINODE_PERSONAL_ACCCESS_TOKEN
@ -59,7 +56,7 @@ spec:
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: k8s-autoscaler name: webrtc-be-autoscaler
namespace: webrtc-be namespace: webrtc-be
spec: spec:
replicas: 1 replicas: 1
@ -70,16 +67,14 @@ spec:
maxUnavailable: 0 maxUnavailable: 0
selector: selector:
matchLabels: matchLabels:
app: k8s-autoscale app: webrtc-be-autoscale
template: template:
metadata: metadata:
labels: labels:
app: k8s-autoscale app: webrtc-be-autoscale
spec: spec:
containers: containers:
- name: k8s-autoscale - name: webrtc-be-autoscale
command: ["/bin/sleep"]
args: ["300"]
image: gcr.io/tough-craft-276813/linode-autoscaler:prod-0.1.5 ###{{linode_autoscaler_image}} ####### CHANGE THIS TO YOUR ACTUAL DOCKER IMAGE image: gcr.io/tough-craft-276813/linode-autoscaler:prod-0.1.5 ###{{linode_autoscaler_image}} ####### CHANGE THIS TO YOUR ACTUAL DOCKER IMAGE
env: env:
- name: LINODE_PERSONAL_ACCCESS_TOKEN - name: LINODE_PERSONAL_ACCCESS_TOKEN