https://github.com/jezza/healthkube
Keep Kubernetes CronJobs and Healthchecks.io jobs in sync
https://github.com/jezza/healthkube
Last synced: about 1 year ago
JSON representation
Keep Kubernetes CronJobs and Healthchecks.io jobs in sync
- Host: GitHub
- URL: https://github.com/jezza/healthkube
- Owner: Jezza
- Created: 2022-02-17T14:10:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-22T14:22:20.000Z (over 4 years ago)
- Last Synced: 2025-02-12T14:31:03.410Z (over 1 year ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Healthkube
A small program used to synchronise kubernetes cron jobs and healthcheck.io jobs.
## Installation
```shell
git clone https://github.com/Jezza/healthkube
cd healthkube
cargo install --path .
```
## Usage
Healthkube uses the local kubeconfig to query the cluster, and appropriate namespaces.
Here's a quick example to get you started:
```shell
healthkube --env-kube {} --all-integrations --hc-key {} --hc-url {} [TARGETS]
--env-key # Can be used to define a env key that will be updated with the healthchecks id.
--all-integrations # Used to fetch all healthcheck channels/integrations, and use them when creating/registering/updating new jobs.
--hc-key # Defines the Healthcheck api key (It uses the read/write api key.).
--hc-url # Where to find the healthcheck server.
TARGETS:
Follows a simple pattern of "context", "context:namespace", or even "context:namespace1,namespace2,namespace3".
```
`healthkube --help` will give you a bigger look at all the flags.