Skip to content

Commit 3d8febd

Browse files
committed
Use getHttp in readinessProbe
1 parent efdccbf commit 3d8febd

20 files changed

+84
-31
lines changed

dokuwiki.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,11 @@ spec:
118118
- containerPort: 80
119119
isPublic: True
120120
readinessProbe:
121-
tcpSocket:
121+
httpGet:
122+
path: /
123+
scheme: HTTP
122124
port: 80
125+
timeoutSeconds: 30
123126
initialDelaySeconds: 5
124127
volumeMounts:
125128
- mountPath: /dokuwiki

drupal.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,11 @@ spec:
126126
- containerPort: 80
127127
isPublic: True
128128
readinessProbe:
129-
tcpSocket:
129+
httpGet:
130+
path: /
131+
scheme: HTTP
130132
port: 80
133+
timeoutSeconds: 30
131134
initialDelaySeconds: 5
132135
volumeMounts:
133136
- mountPath: /var/www/html

elasticsearch.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ spec:
8282
podPort: $ELASTIC_TCP_HOST_PORT|default:9300|Enter ElasticSearch tcp host port$
8383
isPublic: False
8484
readinessProbe:
85-
tcpSocket:
85+
httpGet:
86+
path: /
87+
scheme: HTTP
8688
port: 9200
8789
initialDelaySeconds: 5
8890
volumeMounts:

gallery3.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ spec:
126126
- containerPort: 80
127127
isPublic: True
128128
readinessProbe:
129-
tcpSocket:
129+
httpGet:
130+
path: /
131+
scheme: HTTP
130132
port: 80
131133
initialDelaySeconds: 5
132134
volumeMounts:

joomla.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ spec:
9898
containers:
9999
-
100100
name: mysql
101-
image: kuberdock/mysql:5.7
101+
image: kuberdock/mysql:5.7
102102
env:
103103
- name: MYSQL_DATABASE
104104
value: joomla
@@ -121,7 +121,7 @@ spec:
121121
name: mysql-persistent-storage
122122
-
123123
name: joomla
124-
image: joomla:3
124+
image: joomla:3
125125
env:
126126
- name: JOOMLA_DB_PASSWORD
127127
value: $MYSQL_USER_PASSWORD$
@@ -135,7 +135,9 @@ spec:
135135
- containerPort: 80
136136
isPublic: True
137137
readinessProbe:
138-
tcpSocket:
138+
httpGet:
139+
path: /
140+
scheme: HTTP
139141
port: 80
140142
initialDelaySeconds: 5
141143
volumeMounts:

koken.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ spec:
100100
podPort: 80
101101
isPublic: True
102102
readinessProbe:
103-
tcpSocket:
103+
httpGet:
104+
path: /
105+
scheme: HTTP
104106
port: 80
105107
initialDelaySeconds: 5
106108
volumeMounts:

limesurvey.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,12 @@ spec:
8888
- containerPort: 80
8989
isPublic: True
9090
readinessProbe:
91-
tcpSocket:
91+
httpGet:
92+
path: /
93+
scheme: HTTP
9294
port: 80
9395
initialDelaySeconds: 5
96+
timeoutSeconds: 30
9497
volumeMounts:
9598
- mountPath: /var/lib/mysql
9699
name: mysql-persistent-storage

magento.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,12 @@ spec:
129129
- containerPort: 80
130130
isPublic: True
131131
readinessProbe:
132-
tcpSocket:
132+
httpGet:
133+
path: /
134+
scheme: HTTP
133135
port: 80
134-
initialDelaySeconds: 5
136+
timeoutSeconds: 60
137+
initialDelaySeconds: 20
135138
volumeMounts:
136139
- mountPath: /var/www/htdocs
137140
name: magento-persistent-storage

mantis.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ spec:
130130
- containerPort: 80
131131
isPublic: True
132132
readinessProbe:
133-
tcpSocket:
133+
httpGet:
134+
path: /
135+
scheme: HTTP
134136
port: 80
135137
initialDelaySeconds: 5
136138
volumeMounts:

mybb.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ spec:
128128
- containerPort: 80
129129
isPublic: True
130130
readinessProbe:
131-
tcpSocket:
131+
httpGet:
132+
path: /
133+
scheme: HTTP
132134
port: 80
133135
initialDelaySeconds: 5
134136
volumeMounts:

odoo.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,11 @@ spec:
129129
podPort: $ODOO_XMLRPCS_HOST_PORT|default:8071|Enter Odoo XML-RPC/HTTP secure host port$
130130
isPublic: True
131131
readinessProbe:
132-
tcpSocket:
132+
httpGet:
133+
path: /
134+
scheme: HTTP
133135
port: 8069
136+
timeoutSeconds: 30
134137
initialDelaySeconds: 5
135138
volumeMounts:
136139
- mountPath: /var/lib/odoo

opencart.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ spec:
128128
- containerPort: 80
129129
isPublic: True
130130
readinessProbe:
131-
tcpSocket:
131+
httpGet:
132+
path: /
133+
scheme: HTTP
132134
port: 80
133135
initialDelaySeconds: 5
134136
volumeMounts:

owncloud.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ spec:
126126
- containerPort: 80
127127
isPublic: True
128128
readinessProbe:
129-
tcpSocket:
129+
httpGet:
130+
path: /
131+
scheme: HTTP
130132
port: 80
131133
initialDelaySeconds: 5
132134
volumeMounts:

phpbb.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ spec:
128128
- containerPort: 80
129129
isPublic: True
130130
readinessProbe:
131-
tcpSocket:
131+
httpGet:
132+
path: /
133+
scheme: HTTP
132134
port: 80
133135
initialDelaySeconds: 5
134136
volumeMounts:

phpmyadmin.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ spec:
124124
podPort: $PHPMYADM_HOST_PORT|default:80|Enter phpmyadmin host port$
125125
isPublic: True
126126
readinessProbe:
127-
tcpSocket:
127+
httpGet:
128+
path: /
129+
scheme: HTTP
128130
port: 80
129131
initialDelaySeconds: 5
130132
workingDir: /var/www/html

redmine.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,12 @@ spec:
139139
podPort: $REDMINE_HOST_PORT|default:3000|Enter Redmine host port$
140140
isPublic: True
141141
readinessProbe:
142-
tcpSocket:
142+
httpGet:
143+
path: /
144+
scheme: HTTP
143145
port: 3000
144146
initialDelaySeconds: 5
147+
timeoutSeconds: 30
145148
volumeMounts:
146149
- mountPath: /usr/src/redmine/files
147150
name: redmine-persistent-storage

sugarcrm.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,11 @@ spec:
143143
- containerPort: 80
144144
isPublic: True
145145
readinessProbe:
146-
tcpSocket:
146+
httpGet:
147+
path: /
148+
scheme: HTTP
147149
port: 80
150+
timeoutSeconds: 30
148151
initialDelaySeconds: 5
149152
volumeMounts:
150153
- mountPath: /var/www/html

wordpress.yaml

+11-8
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ kuberdock:
1515
You have installed [b]WordPress![/b]
1616
Please find more information about WordPress software on the official website [url]https://wordpress.com[/url]
1717
To access [b]WordPress[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url]
18-
Once installation is done you may want to activate and configure WP-Mail-SMTP plugin at [url]http://%PUBLIC_ADDRESS%/wp-admin/plugins.php[/url].
19-
Otherwise WordPress mailing system won't work.
18+
Once installation is done you may want to activate and configure WP-Mail-SMTP plugin at [url]http://%PUBLIC_ADDRESS%/wp-admin/plugins.php[/url].
19+
Otherwise WordPress mailing system won't work.
2020
# required for cPanel to do proxy to user`s domain
2121
# proxy:
2222
# root:
@@ -91,9 +91,9 @@ spec:
9191
restartPolicy: "Always"
9292
resolve: ["mysql", "wordpress"]
9393
containers:
94-
-
95-
name: mysql
96-
image: kuberdock/mysql:5.7-1
94+
-
95+
name: mysql
96+
image: kuberdock/mysql:5.7-1
9797
env:
9898
- name: MYSQL_DATABASE
9999
value: wordpress
@@ -116,7 +116,7 @@ spec:
116116
name: mysql-persistent-storage
117117
-
118118
name: wordpress
119-
image: kuberdock/wordpress:4.6.1-1
119+
image: kuberdock/wordpress:4.6.1-1
120120
env:
121121
- name: WORDPRESS_DB_USER
122122
value: wordpress
@@ -128,12 +128,15 @@ spec:
128128
- containerPort: 80
129129
isPublic: True
130130
readinessProbe:
131-
tcpSocket:
131+
httpGet:
132+
path: /
133+
scheme: HTTP
132134
port: 80
135+
timeoutSeconds: 30
133136
initialDelaySeconds: 5
134137
volumeMounts:
135138
- mountPath: /var/www/html
136139
name: wordpress-persistent-storage
137-
kdCopyFromImage: true
140+
kdCopyFromImage: true
138141
workingDir: /var/www/html
139142

wordpress_elasticsearch.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,11 @@ spec:
143143
- containerPort: 80
144144
isPublic: True
145145
readinessProbe:
146-
tcpSocket:
146+
httpGet:
147+
path: /
148+
scheme: HTTP
147149
port: 80
150+
timeoutSeconds: 30
148151
initialDelaySeconds: 5
149152
volumeMounts:
150153
- mountPath: /var/www/html
@@ -158,8 +161,11 @@ spec:
158161
- containerPort: 9300
159162
isPublic: False
160163
readinessProbe:
161-
tcpSocket:
164+
httpGet:
165+
path: /
166+
scheme: HTTP
162167
port: 9200
168+
timeoutSeconds: 30
163169
initialDelaySeconds: 5
164170
volumeMounts:
165171
- mountPath: /usr/share/elasticsearch/data

wordpress_with_backup.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,11 @@ spec:
142142
- containerPort: 80
143143
isPublic: True
144144
readinessProbe:
145-
tcpSocket:
145+
httpGet:
146+
path: /
147+
scheme: HTTP
146148
port: 80
149+
timeoutSeconds: 30
147150
initialDelaySeconds: 5
148151
volumeMounts:
149152
- mountPath: /var/www/html

0 commit comments

Comments
 (0)