-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yaml
51 lines (51 loc) · 857 Bytes
/
manifest.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
39
40
41
42
43
44
45
46
47
48
49
50
51
apiVersion: v1
kind: Service
metadata:
name: app1
labels:
app: app1
service: app1
spec:
ports:
- port: 9080
name: http
selector:
app: app1
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: demo-app1
labels:
account: app1
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: app1-v1
labels:
app: app1
version: v1
spec:
replicas: 1
selector:
matchLabels:
app: app1
version: v1
template:
metadata:
annotations:
sidecar.istio.io/inject: "true"
instrumentation.opentelemetry.io/inject-python: "true"
labels:
app: app1
version: v1
spec:
serviceAccountName: demo-app1
containers:
- name: app1
image: ttl.sh/iblancasa/demo-app1
imagePullPolicy: Always
ports:
- containerPort: 9080
---