Seagate / cortx-k8s

CORTX Kubernetes Orchestration Repository
https://github.com/Seagate/cortx
Apache License 2.0
6 stars 47 forks source link

CORTX-32850: Add Server container probes #385

Closed keithpine closed 1 year ago

keithpine commented 1 year ago

Description

Add container probes for the Server RGW containers. Each probe is an httpGet to the /swift/healthcheck API which returns always returns status 200 OK when responding.

For now, the probes are disabled by default and will be enabled by default in the future (except the startup probe).

The probes are not exposed in the solution file, instead they can be customized using a custom values.yaml file.

Type of change

Applicable issues

How was this tested?

Additional information

The probes are currently disabled for now so we can gather some experience as to what the right default settings are. Once we have a better sense of the correct default values, we can enable the liveness and readiness probes by default (leaving startup disabled, assuming it's not really needed).

The custom probes do not support templates, it would be nice if the did. Consider that for future updates.

Checklist

If this change requires newer CORTX or third party image versions:

If this change addresses a CORTX Jira issue:


View rendered charts/cortx/README.md