Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ncabatoff/kubernetes-network-tester
https://github.com/ncabatoff/kubernetes-network-tester
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ncabatoff/kubernetes-network-tester
- Owner: ncabatoff
- License: apache-2.0
- Created: 2018-10-03T01:11:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T02:49:46.000Z (over 6 years ago)
- Last Synced: 2024-10-15T13:30:01.064Z (3 months ago)
- Language: Go
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubernetes-network-tester
Tests Kubernetes pod-to-pod network connectivity using Prometheus and blackbox-exporter.## Usage
Download from the [Releases][release] page, then run:```
./kubernetes-network-tester \
-numhosts 3
-resolver $(kubectl get svc -n kube-system kube-dns -o jsonpath='{.spec.clusterIP}'):53 \
checksvc1 checksvc2 checksvc3
```This will create daemonsets and services named checksvc2, checksvc2, and
checksvc3. It will also create a Prometheus deployment and service named
'prometheus'.The Prometheus configuration is designed to have every checksvc pod query
every checksvc pod. kubernetes-network-tester will exit with an error if it
can't validate every pod-to-pod connection via Prometheus before it times
out.