customd / healthz
Add health checks to your Craft website, useful when running inside of Docker
Installs: 622
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 6
Open Issues: 0
Type:craft-plugin
Requires
- craftcms/cms: ^3.0.0|^4.0.0
Requires (Dev)
- craftcms/rector: dev-main
This package is not auto-updated.
Last update: 2024-11-22 09:30:19 UTC
README
Add Kubernetes style health checks to your Craft site.
Requirements
This plugin requires Craft CMS 3.x / 4.x
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require customd/healthz
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Healthz.
Health Check Overview
This plugin will provide an endpoint that allows health checks on Docker or Kubernetes workflows. Since Kubernetes is eating the world, it defaults to healthz/liveness
, which is the default for Kubernetes.
Using Health Check
Setup your Kubernetes and choose the default health check url (e.g. healthz/liveness
or healthz/readiness
).
Brought to you by Jason McCallister