Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

nrccua/kuberhealthy-custom-checks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Kuberhealthy Synthetic Checks

Collection of kuberhealthy custom checks.

Usage

  • Deploy kuberhealthy to you cluster.
  • See check.yaml in *-check directories for examples. Adjust these with custom parameters and deploy (k apply -f ...) them to Kubernetes cluster.

Example:

# Create cluster:
minikube delete && minikube start \
  --kubernetes-version=v1.26.1 \
  --memory=6g \
  --bootstrapper=kubeadm \
  --extra-config=kubelet.authentication-token-webhook=true \
  --extra-config=kubelet.authorization-mode=Webhook \
  --extra-config=scheduler.bind-address=0.0.0.0 \
  --extra-config=controller-manager.bind-address=0.0.0.0
  
# Deploy kuberhealthy:
helm repo add kuberhealthy https://kuberhealthy.github.io/kuberhealthy/helm-repos
helm install -n kuberhealthy kuberhealthy kuberhealthy/kuberhealthy --create-namespace  # --values values.yaml

# Deploy check
kubectl apply -f jq-check/check.yaml
# ... check logs of check Pod(s)

kubectl port-forward -n kuberhealthy svc/kuberhealthy 8080:80
# ... check "localhost:8080" and "localhost:8080/metrics" for check status/metrics

If running a Prometheus stack in a cluster, you can also apply sample PrometheusRule(s) located in *-check/prom-rule.yaml.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 83.3%
  • Dockerfile 10.1%
  • Makefile 6.6%