Skip to content

adam-power/k8s-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes examples

A collection of examples and test apps that can be used to validate a Kubernetes cluster

Storage Classes

Storage classes by IaaS:

Sample apps

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.

Prometheus examples

The prometheus folder contains a minimal Prometheus deployment, as well as example configs.

NetworkPolicy example

The networkpolicy folder contains an example that can be used to test whether a k8s cluster is enforcing NetworkPolicies.

Utilities

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.

About

A collection of examples and test apps for Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages