Skip to content

Commit eaeab6a

Browse files
committed
add working oink
1 parent 81a9a28 commit eaeab6a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

powerwatch/cloud/kubernetes/powerwatch-oink/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ $ kubectl create -f ./postgres-user-pass.yaml
2121
```
2222
$ kubectl create -f powerwatch-oink.yaml
2323
```
24+
25+
##getting the whitelisted IP
26+
Korba needs a whitelisted IP. You need to set a label on a node in your pool
27+
```korba-node=true```
28+
Then assign that node as static IP described here:
29+
https://stackoverflow.com/questions/41133755/static-outgoing-ip-in-kubernetes

powerwatch/cloud/kubernetes/powerwatch-oink/powerwatch-oink.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ spec:
2727
readOnly: true
2828

2929
restartPolicy: OnFailure
30+
nodeSelector:
31+
korba-node: 'true'
3032

3133
volumes:
3234
- name: config
@@ -90,11 +92,13 @@ spec:
9092
readOnly: true
9193

9294
restartPolicy: OnFailure
95+
nodeSelector:
96+
korba-node: 'true'
9397

9498
volumes:
9599
- name: config
96100
configMap:
97-
name: config
101+
name: oink-config
98102
items:
99103
- key: postgres.json
100104
path: postgres.json

0 commit comments

Comments
 (0)