-
Notifications
You must be signed in to change notification settings - Fork 42
/
tf-deployment.yaml
38 lines (38 loc) · 978 Bytes
/
tf-deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2020-2021 Google LLC
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
apiVersion: apps/v1
kind: Deployment
metadata:
name: participant-manager
labels:
app: participant-manager
spec:
replicas: 1
selector:
matchLabels:
app: participant-manager
template:
metadata:
labels:
app: participant-manager
annotations:
sidecar.istio.io/inject: "true"
spec:
containers:
- name: participant-manager
image: gcr.io/<PREFIX>-<ENV>-apps/participant-manager:latest
ports:
- containerPort: 80
readinessProbe:
httpGet:
port: 80
path: /participant-manager/index.html
initialDelaySeconds: 30
periodSeconds: 20
resources:
requests:
memory: "500Mi"
cpu: "50m"