forked from katacoda/kubeflow-ksonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
katacoda.yaml
70 lines (70 loc) · 1.08 KB
/
katacoda.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
63
64
65
66
67
68
69
70
apiVersion: v1
kind: PersistentVolume
metadata:
name: volname
spec:
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
persistentVolumeReclaimPolicy: Recycle
hostPath:
path: /data/
---
apiVersion: v1
kind: Service
metadata:
labels:
app: tf-hub-lb-katacoda
name: tf-hub-lb-katacoda
spec:
type: LoadBalancer
ports:
- name: hub
port: 80
protocol: TCP
targetPort: 8000
selector:
app: tf-hub
externalIPs:
- $HOST_IP
- $HOST2_IP
---
apiVersion: v1
kind: Service
metadata:
labels:
app: centraldashboard-katacoda
name: centraldashboard-katacoda
spec:
type: LoadBalancer
ports:
- port: 8082
protocol: TCP
targetPort: 8082
selector:
app: centraldashboard
externalIPs:
- $HOST_IP
- $HOST2_IP
---
apiVersion: v1
kind: Service
metadata:
labels:
service: ambassador
name: ambassador-katacoda
spec:
type: LoadBalancer
ports:
- name: ambassador
port: 30080
protocol: TCP
targetPort: 80
selector:
service: ambassador
externalIPs:
- $HOST_IP
- $HOST2_IP