You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Network Policies
Requirements
- Have
kubectl
working against minikube
References
Setup
- Bring up a new redis server in the
default
namespace
kubectl create deployment --image=redis:alpine redis
- Create a new namespace:
kubectl create namespace attacker
- Bring up a new Alpine server
kubectl create -f alpine.yml
- SSH to the attacker pod
kubectl exec -it attacker-pod -n attacker
Break it
Get the IP Address of the Redis Pod
kubectl describe pod [pod-name]
Install redis on the alpine server
apk update && apk add redis
Try accessing redis server
Fix it