-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathknative.yaml
62 lines (62 loc) · 1.35 KB
/
knative.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
52
53
54
55
56
57
58
59
60
61
62
---
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: contact-functions
namespace: default
spec:
template:
spec:
containers:
- name: front-envoy
image: kettil/contact-functions-envoy
ports:
- containerPort: 18000
- containerPort: 8001
- name: service1
image: kettil/contact-functions-service
ports:
- containerPort: 8002
---
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: auth
namespace: default
spec:
template:
spec:
containers:
- name: authz
image: kettil/kram-auth
env:
- name: SPRING_PROFILES_ACTIVE
value: docker
ports:
- containerPort: 8080
- containerPort: 8081
---
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: redis
namespace: default
spec:
template:
spec:
containers:
- name: redis
image: bitnami/redis
ports:
- containerPort: 6379
env:
- name: ALLOW_EMPTY_PASSWORD
value: 'yes'
- name: REDIS_DISABLE_COMMANDS
value: FLUSHDB,FLUSHALL
volumeMounts:
- name: redis-data
mountPath: /bitnami/redis
volumes:
- name: redis-data
emptyDir: {}