-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathocho-proxy.yml.template
46 lines (40 loc) · 1.22 KB
/
ocho-proxy.yml.template
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
#
# - this pod will be looked up by any running ochopod container running k8s bindinds
# - it acts as a CLI portal and running a zookeeper isntance used by ochopod for its synchronization
# needs & leader elections
#
# - please note you *must* specify below what your master IP is as well as your credentials (this is temporary
# pending the ability to access the service API from within a running pod)
#
kind: Pod
apiVersion: v1beta3
metadata:
name: ocho-proxy
spec:
containers:
- name: portal
image: paugamo/k8s-ec2-portal
env:
- name: ochopod_port
value: "9001"
- name: KUBERNETES_MASTER
value: {KUBERNETES_MASTER}
- name: KUBERNETES_USER
value: {KUBERNETES_USER}
- name: KUBERNETES_PWD
value: {KUBERNETES_PWD}
#
# - the web-shell listens on TCP 9000 and is bound to its host
# - set our ochopod i/o port at TCP 9001 to avoid colliding with the
# other container
#
ports:
- containerPort: 9001
- containerPort: 9000
hostPort: 9000
- name: zookeeper
image: tobegit3hub/standalone-zookeeper
ports:
- containerPort: 2181
- containerPort: 2888
- containerPort: 3888