fix probes to properly query pod health

This commit is contained in:
Sameer Naik
2017-05-26 21:36:14 +05:30
parent 43c5b0bf3d
commit 73b9a4c8d5
33 changed files with 114 additions and 72 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: apache
version: 0.3.6
version: 0.3.7
description: Chart for Apache HTTP Server
keywords:
- apache
+3 -1
View File
@@ -32,12 +32,14 @@ spec:
port: http
initialDelaySeconds: 30
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
timeoutSeconds: 3
periodSeconds: 5
volumeMounts:
- name: apache-data
mountPath: /bitnami/apache
+1 -1
View File
@@ -1,5 +1,5 @@
name: jenkins
version: 0.4.15
version: 0.4.16
description: The leading open source automation server
keywords:
- jenkins
+5 -3
View File
@@ -34,14 +34,16 @@ spec:
httpGet:
path: /
port: http
initialDelaySeconds: 120
initialDelaySeconds: 180
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts:
+1 -1
View File
@@ -1,5 +1,5 @@
name: mariadb-cluster
version: 0.4.0
version: 0.4.1
description: Chart to create a Highly available MariaDB cluster
keywords:
- mariadb
@@ -54,14 +54,17 @@ spec:
- -c
- exec mysqladmin status -uroot -p$MARIADB_ROOT_PASSWORD
initialDelaySeconds: 60
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 10
readinessProbe:
exec:
command:
- sh
- -c
- exec mysqladmin status -uroot -p$MARIADB_ROOT_PASSWORD
initialDelaySeconds: 5
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 1
resources:
{{ toYaml .Values.resources | indent 10 }}
@@ -65,14 +65,17 @@ spec:
- -c
- exec mysqladmin status -uroot -p$MARIADB_ROOT_PASSWORD
initialDelaySeconds: 60
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 10
readinessProbe:
exec:
command:
- sh
- -c
- exec mysqladmin status -uroot -p$MARIADB_ROOT_PASSWORD
initialDelaySeconds: 5
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 1
resources:
{{ toYaml .Values.resources | indent 10 }}
+1 -1
View File
@@ -1,5 +1,5 @@
name: mean
version: 0.1.2
version: 0.1.3
description: MEAN is a free and open-source JavaScript software stack for building dynamic web sites and web applications. The MEAN stack is MongoDB, Express.js, Angular, and Node.js. Because all components of the MEAN stack support programs written in JavaScript, MEAN applications can be written in one language for both server-side and client-side execution environments.
keywords:
- node
+3 -4
View File
@@ -102,16 +102,15 @@ spec:
path: /
port: http
initialDelaySeconds: 180
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 10
failureThreshold: 6
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 5
timeoutSeconds: 1
volumeMounts:
- name: app
mountPath: /app
+1 -1
View File
@@ -1,5 +1,5 @@
name: memcached
version: 0.4.9
version: 0.4.10
description: Chart for Memcached
keywords:
- memcached
@@ -33,10 +33,12 @@ spec:
port: memcache
initialDelaySeconds: 30
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
tcpSocket:
port: memcache
initialDelaySeconds: 5
timeoutSeconds: 1
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.resources | indent 10 }}
+1 -1
View File
@@ -1,5 +1,5 @@
name: mysql
version: 0.1.10
version: 0.1.11
description: MySQL is a fast, reliable, scalable, and easy to use open-source relational database system. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
keywords:
- mysql
+4 -1
View File
@@ -65,8 +65,10 @@ spec:
- sh
- -c
- exec mysqladmin --host $POD_IP ping
initialDelaySeconds: 30
initialDelaySeconds: 120
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 10
readinessProbe:
exec:
command:
@@ -74,6 +76,7 @@ spec:
- -c
- exec mysqladmin --host $POD_IP ping
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 1
resources:
{{ toYaml .Values.resources | indent 10 }}
+1 -1
View File
@@ -1,5 +1,5 @@
name: nginx
version: 0.3.4
version: 0.3.5
description: Chart for the nginx server
keywords:
- nginx
+3 -1
View File
@@ -32,12 +32,14 @@ spec:
port: http
initialDelaySeconds: 30
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
timeoutSeconds: 3
periodSeconds: 5
volumeMounts:
- name: nginx-data
mountPath: /bitnami/nginx
+1 -1
View File
@@ -1,5 +1,5 @@
name: node
version: 0.1.13
version: 0.1.14
description: Event-driven I/O server-side JavaScript environment based on V8
keywords:
- node
+3 -4
View File
@@ -78,16 +78,15 @@ spec:
path: /
port: http
initialDelaySeconds: 180
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 10
failureThreshold: 6
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 5
timeoutSeconds: 1
resources:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts:
+1 -1
View File
@@ -1,5 +1,5 @@
name: parse
version: 0.1.15
version: 0.1.16
description: Parse is a platform that enables users to add a scalable and powerful backend to launch a full-featured app for iOS, Android, JavaScript, Windows, Unity, and more.
keywords:
- parse
@@ -50,12 +50,14 @@ spec:
port: dashboard-http
initialDelaySeconds: 120
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
port: dashboard-http
initialDelaySeconds: 5
timeoutSeconds: 1
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.parseDashboard.resources | indent 10 }}
volumeMounts:
@@ -41,23 +41,25 @@ spec:
- name: server-http
containerPort: {{ .Values.parse.port }}
livenessProbe:
exec:
command:
- curl
- -H
- "X-Parse-Application-Id: {{ .Values.parse.appId }}"
- "http://localhost:{{ .Values.parse.port }}{{ .Values.parse.mountPath }}/users"
httpGet:
path: {{ .Values.parse.mountPath }}/users
port: server-http
httpHeaders:
- name: X-Parse-Application-Id
value: {{ .Values.parse.appId }}
initialDelaySeconds: 120
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
exec:
command:
- curl
- -H
- "X-Parse-Application-Id: {{ .Values.parse.appId }}"
- "http://localhost:{{ .Values.parse.port }}{{ .Values.parse.mountPath }}/users"
initialDelaySeconds: 5
timeoutSeconds: 1
httpGet:
path: {{ .Values.parse.mountPath }}/users
port: server-http
httpHeaders:
- name: X-Parse-Application-Id
value: {{ .Values.parse.appId }}
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.parse.resources | indent 10 }}
volumeMounts:
+1 -1
View File
@@ -1,5 +1,5 @@
name: postgresql
version: 0.4.8
version: 0.4.9
description: Chart for PostgreSQL
keywords:
- postgresql
@@ -33,19 +33,21 @@ spec:
livenessProbe:
exec:
command:
- pg_isready
- -U
- {{ default "" .Values.postgresqlUsername | quote }}
- sh
- -c
- exec pg_isready -U {{ default "" .Values.postgresqlUsername | quote }} --host $POD_IP
initialDelaySeconds: 30
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
exec:
command:
- pg_isready
- -U
- {{ default "" .Values.postgresqlUsername | quote }}
- sh
- -c
- exec pg_isready -U {{ default "" .Values.postgresqlUsername | quote }} --host $POD_IP
initialDelaySeconds: 5
timeoutSeconds: 1
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts:
+1 -1
View File
@@ -1,5 +1,5 @@
name: sugarcrm
version: 0.1.0
version: 0.1.1
description: SugarCRM enables businesses to create extraordinary customer relationships with the most innovative and affordable CRM solution in the market.
keywords:
- sugarcrm
+4 -3
View File
@@ -1,9 +1,10 @@
dependencies:
- condition: ""
enabled: false
import-values: null
name: mariadb
repository: https://kubernetes-charts.storage.googleapis.com/
tags: null
version: 0.5.14
digest: sha256:2fb90a9c727e6e08699232d50f00393378827639db9c62da19fd951103b112d6
generated: 2017-04-04T12:19:51.045172688+05:30
version: 0.6.2
digest: sha256:66acb700f673b56045b00d0b65e3ab750f12941005e7631d69bd4101f51424ab
generated: 2017-05-26T17:14:33.222827466+05:30
+1 -1
View File
@@ -1,4 +1,4 @@
dependencies:
- name: mariadb
version: 0.5.14
version: 0.6.2
repository: https://kubernetes-charts.storage.googleapis.com/
+2 -2
View File
@@ -45,6 +45,6 @@ host. To configure SugarCRM with the URL of your service:
2. Get your SugarCRM login credentials by running:
echo Username : {{ .Values.sugarcrmUsername }}
echo Password : $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.sugarcrm-password}" | base64 --decode)
echo Username: {{ .Values.sugarcrmUsername }}
echo Password: $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.sugarcrm-password}" | base64 --decode)
{{- end }}
+13 -5
View File
@@ -61,16 +61,24 @@ spec:
containerPort: 443
livenessProbe:
httpGet:
path: /
path: /index.php
port: http
initialDelaySeconds: 120
httpHeaders:
- name: Host
value: {{ include "host" . | quote }}
initialDelaySeconds: 300
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
path: /index.php
port: http
initialDelaySeconds: 30
timeoutSeconds: 1
httpHeaders:
- name: Host
value: {{ include "host" . | quote }}
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts:
+1 -1
View File
@@ -1,5 +1,5 @@
name: suitecrm
version: 0.1.0
version: 0.1.1
description: SuiteCRM is a completely open source enterprise-grade Customer Relationship Management (CRM) application. SuiteCRM is a software fork of the popular customer relationship management (CRM) system SugarCRM.
keywords:
- suitecrm
+13 -5
View File
@@ -61,16 +61,24 @@ spec:
containerPort: 443
livenessProbe:
httpGet:
path: /
path: /index.php
port: http
initialDelaySeconds: 120
httpHeaders:
- name: Host
value: {{ include "host" . | quote }}
initialDelaySeconds: 300
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
path: /index.php
port: http
initialDelaySeconds: 30
timeoutSeconds: 1
httpHeaders:
- name: Host
value: {{ include "host" . | quote }}
initialDelaySeconds: 60
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts:
+1 -1
View File
@@ -1,5 +1,5 @@
name: tomcat
version: 0.4.10
version: 0.4.11
description: Chart for Apache Tomcat
keywords:
- tomcat
+3 -1
View File
@@ -34,12 +34,14 @@ spec:
port: http
initialDelaySeconds: 120
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
timeoutSeconds: 1
timeoutSeconds: 3
periodSeconds: 51
resources:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts:
+1 -1
View File
@@ -1,5 +1,5 @@
name: wildfly
version: 0.4.7
version: 0.4.8
description: Chart for Wildfly
keywords:
- wildfly
+3 -1
View File
@@ -36,12 +36,14 @@ spec:
port: http
initialDelaySeconds: 120
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
timeoutSeconds: 1
timeoutSeconds: 3
periodSeconds: 5
resources:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts: