Merge pull request #3265 from leseb/rgw-liveness
ceph: rgw add liveness probe check
This commit is contained in:
2 files changed
+10
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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 != "" {
|
||||
|
||||
Reference in new issue
Block a user