You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/12/11 02:15:47 UTC

[skywalking-kubernetes] branch master updated: readinessProbe and livenessProbe

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new dca27d3  readinessProbe and livenessProbe
     new 35725be  Merge pull request #29 from innerpeacez/probe
dca27d3 is described below

commit dca27d3ddd03f0ed607d68a2507cf76a6171a8db
Author: innerpeacez <in...@gmail.com>
AuthorDate: Wed Dec 11 09:51:01 2019 +0800

    readinessProbe and livenessProbe
---
 chart/skywalking/templates/oap-deployment.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/chart/skywalking/templates/oap-deployment.yaml b/chart/skywalking/templates/oap-deployment.yaml
index cfe8d6c..3d746ca 100644
--- a/chart/skywalking/templates/oap-deployment.yaml
+++ b/chart/skywalking/templates/oap-deployment.yaml
@@ -82,6 +82,16 @@ spec:
       - name: {{ .Values.oap.name }}
         image: "{{ .Values.oap.image.repository }}:{{ .Values.oap.image.tag }}"
         imagePullPolicy: {{ .Values.oap.image.pullPolicy }}
+        livenessProbe:
+          tcpSocket:
+            port: 12800
+          initialDelaySeconds: 15
+          periodSeconds: 20
+        readinessProbe:
+          tcpSocket:
+            port: 12800
+          initialDelaySeconds: 15
+          periodSeconds: 20
         ports:
         - containerPort: 11800
           name: grpc