A collection of examples and test apps that can be used to validate a Kubernetes cluster
Storage classes by IaaS:
Note: These all require that your cluster has LoadBalancer
services working.
App | Description |
---|---|
guestbook | A simple Redis backend and PHP frontend. |
wordpress | A simple Redis backend and PHP frontend. |
nginx | A sample NGINX app with optional Ingress add-on. |
The prometheus folder contains a minimal Prometheus deployment, as well as example configs.
The networkpolicy folder contains an example that can be used to test whether a k8s cluster is enforcing NetworkPolicies.
To start a test pod and attach to it, run the test_pod.sh
script:
# Run and attach to a test pod in the default namespace
./util/test_pod.sh <docker image name>
# Run and attach to a test pod in a namespace that you specify
./util/test_pod.sh <docker image name> <namespace>
Common images you may want to use include ubuntu and busybox.