Applications
Netshoot
kubectl run netshoot --image=nicolaka/netshoot -n default -- sleep infinity
# kubectl apply -f netshoot.yaml
kubectl exec -it netshoot -n default -- bash
Goldpinger
Helm chart
helm repo add goldpinger https://bloomberg.github.io/goldpinger
helm repo update
helm install goldpinger goldpinger/goldpinger
kubectl expose service goldpinger --name goldpinger-nodeport --type=NodePort --port 8080 \
--overrides '{"spec":{"ports": [{"port":80,"protocol":"TCP","targetPort":8080,"nodePort":30080}]}}'
Manifest
kubectl apply -f goldpinger.yaml
Status check
curl -s http://127.0.0.1:30080/check | jq
curl -s http://127.0.0.1:30080/metrics | grep '^goldpinger_nodes_health_total'