X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fdmaap%2Fcomponents%2Fmessage-router%2Ftemplates%2Fstatefulset.yaml;h=ede6cb025e5f0d3137e36d934773f457b2940831;hb=refs%2Fheads%2Fmaster;hp=399e54f75ab05f16c7f8d244da375ac8cfe1c1fe;hpb=23286c5cf36308333e19fa7a52efd43e792407c5;p=oom.git diff --git a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml index 399e54f75a..ede6cb025e 100644 --- a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml @@ -34,15 +34,13 @@ spec: ports: {{ include "common.containerPorts" . | nindent 10 }} {{- if eq .Values.liveness.enabled true }} livenessProbe: - httpGet: - path: /events/__strimzi-topic-operator-kstreams-topic-store-changelog/CG1/C1 + tcpSocket: port: {{ .Values.liveness.port }} - scheme: HTTP - failureThreshold: {{ .Values.liveness.failureThreshold }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} - successThreshold: {{ .Values.liveness.successThreshold }} timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} + successThreshold: {{ .Values.liveness.successThreshold }} + failureThreshold: {{ .Values.liveness.failureThreshold }} {{ end }} readinessProbe: tcpSocket: @@ -53,15 +51,13 @@ spec: successThreshold: {{ .Values.readiness.successThreshold }} failureThreshold: {{ .Values.readiness.failureThreshold }} startupProbe: - httpGet: - path: /events/__strimzi-topic-operator-kstreams-topic-store-changelog/CG1/C1 - port: {{ .Values.startup.port }} - scheme: HTTP - failureThreshold: {{ .Values.startup.failureThreshold }} + tcpSocket: + port: {{ .Values.startup.port }} initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }} periodSeconds: {{ .Values.startup.periodSeconds }} - successThreshold: {{ .Values.startup.successThreshold }} timeoutSeconds: {{ .Values.startup.timeoutSeconds }} + successThreshold: {{ .Values.startup.successThreshold }} + failureThreshold: {{ .Values.startup.failureThreshold }} env: - name: JAASLOGIN valueFrom: @@ -75,9 +71,6 @@ spec: - name: useZkTopicStore value: "false" volumeMounts: - - mountPath: /etc/localtime - name: localtime - readOnly: true - mountPath: /appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties subPath: MsgRtrApi.properties name: appprops @@ -126,9 +119,6 @@ spec: name: cluster-ca-certs serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - - name: localtime - hostPath: - path: /etc/localtime - name: appprops configMap: name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap