|
@@ -92,6 +92,8 @@ spec:
|
|
- name: http
|
|
- name: http
|
|
protocol: TCP
|
|
protocol: TCP
|
|
containerPort: 8080
|
|
containerPort: 8080
|
|
|
|
+ # Need some host port because hostNetwork==true.
|
|
|
|
+ hostPort: 28080
|
|
#livenessProbe: {}
|
|
#livenessProbe: {}
|
|
# /q/metrics returning 200?
|
|
# /q/metrics returning 200?
|
|
#readinessProbe: {}
|
|
#readinessProbe: {}
|
|
@@ -120,6 +122,8 @@ spec:
|
|
- matchExpressions:
|
|
- matchExpressions:
|
|
- key: node-role.kubernetes.io/worker
|
|
- key: node-role.kubernetes.io/worker
|
|
operator: Exists
|
|
operator: Exists
|
|
|
|
+ # We have affinity settings.
|
|
|
|
+ nodeSelector: {}
|
|
# VERY important, these three!
|
|
# VERY important, these three!
|
|
hostIPC: true
|
|
hostIPC: true
|
|
hostNetwork: true
|
|
hostNetwork: true
|