This commit is contained in:
Víctor Andrade 2023-06-20 09:08:47 -04:00 committed by GitHub
commit bfb53f3f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 0 deletions

View File

@ -12,6 +12,7 @@ spec:
metadata:
labels:
app: guestbook-ui
user: choutos
spec:
containers:
- image: gcr.io/heptio-images/ks-guestbook-demo:0.2

View File

@ -0,0 +1,3 @@
syncPolicy:
automated:
autoHeal: true

View File

@ -0,0 +1,47 @@
names:
service: guestbook
project:
squad: infra.core.squad
primary_maintainer: victora
secondary_maintainer: aitor
public_api: false
private_api: false
deploy:
k8s_clusters:
- backend-ch1-dev
instances: 2
service:
- name: guestbook
port: 8080
tags: ["metrics"]
check:
type: http
path: /health
timeout: 120s
initial_delay_seconds: 1
success_threshold: 1
failure_threshold: 1
ready:
type: http
path: /ready
interval: 1s
timeout: 10s
initial_delay_seconds: 1
success_threshold: 1
failure_threshold: 1
env:
site:
ch1:
LOG_LEVEL: "error"
dc2:
LOG_LEVEL: "debug"
autoscaling:
minInstances: 5
maxInstances: 10
averageCpu: 70
averageMemory: 70
alerts: {
}