- You have a running K8s cluster
- You have enabled PSP admission plugin
kube-apiserver --enable-admission-plugins=PodSecurityPolicy
- You have admin access to your K8s cluster and the corresponding KUBECONFIG
- Clone this repo
git clone https://github.com/platform9/pod-security-policy-demo.git
- Get the KUBECONFIG for your cluster and set it as the active KUBECONFIG
export KUBECONFIG=/path/to/your/kubeconfig.yaml
- Run the commands in demo_steps.sh sequentially.