Merge pull request #3265 from leseb/rgw-liveness

ceph: rgw add liveness probe check
This commit is contained in:
Travis Nielsen authored and GitHub committed 2019-06-06 10:05:27 -06:00
commit d5523086b6
2 files changed
+10

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ an example usage
### Ceph
- Rook can now be configured to read "region" and "zone" labels on Kubernetes nodes and use that information as part of the CRUSH location for the OSDs.
- Rgw pods have liveness probe enabled
## Breaking Changes
+9
View File
@@ -188,6 +188,15 @@ func (c *clusterConfig) makeDaemonContainer() v1.Container {
),
Env: opspec.DaemonEnvVars(c.cephVersion.Image),
Resources: c.store.Spec.Gateway.Resources,
LivenessProbe: &v1.Probe{
Handler: v1.Handler{
HTTPGet: &v1.HTTPGetAction{
Path: "/",
Port: intstr.FromInt(int(c.store.Spec.Gateway.Port)),
},
},
InitialDelaySeconds: 10,
},
}
if c.store.Spec.Gateway.SSLCertificateRef != "" {