diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-03-10 09:57:25 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-03-11 11:00:47 +0100 |
commit | 0de113ef7696c0ad4d008a94793f52a9b8e2831c (patch) | |
tree | a14bb5da8f46bb9147b5b9a334e7e6f0e8ad18e6 /kubernetes/dmaap/components/dmaap-bc/values.yaml | |
parent | a53b32f6eb8529777573db53e61d474363a13ef9 (diff) |
[DMaaP BC] Use common.service template
Use the service template from common folder.
Align Deployment with kubernetes v1.9+ stable APIs
Fix case when PG AND AAF are not enabled
Enable liveness and readiness probes.
Issue-ID: OOM-1971
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ic6232312ba28effeb8d911001bc05ed7752b2212
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-bc/values.yaml')
-rw-r--r-- | kubernetes/dmaap/components/dmaap-bc/values.yaml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kubernetes/dmaap/components/dmaap-bc/values.yaml b/kubernetes/dmaap/components/dmaap-bc/values.yaml index 046f64d9a8..28c77eb54c 100644 --- a/kubernetes/dmaap/components/dmaap-bc/values.yaml +++ b/kubernetes/dmaap/components/dmaap-bc/values.yaml @@ -79,24 +79,24 @@ liveness: periodSeconds: 10 # necessary to disable liveness probe when setting breakpoints # in debugger so K8s doesn't restart unresponsive container - enabled: false + port: api + enabled: true readiness: initialDelaySeconds: 10 periodSeconds: 10 + port: api service: type: NodePort name: dmaap-bc - portName: dmaap-bc - portName2: dmaap-bc - externalPort: 8080 - internalPort: 8080 - externalPort2: 8443 - internalPort2: 8443 - nodePort: 41 - nodePort2: 42 + ports: + - name: api + port: 8443 + plain_port: 8080 + port_protocol: http + nodePort: 42 # application configuration override for postgres |