Example
Create a kind Cluster​
- Create the kind cluster:
kind create cluster --name kubefuzz
- Wait until everything is up and running:
kubectl get pods -A
Deploy the sample Admission Controller​
- create the kubefuzz namespace:
kubectl create namespace kubefuzz
- deploy the custom resource:
kubectl apply -f fooddeliveryorder-crd.yaml
- deploy the admission controller:
kubectl apply -f deployment.yaml
- deploy the admission controller config:
kubectl apply -f validatingac.yaml
Use Kubefuzz​
- get the current schemas from the k8s api (refer to docs or kubefuzz --help)
- toy around with kubefuzz:
kubefuzz fuzz -f fuzzdir -s schemas -c constraint.yaml -e 250
Predfined Constraints​
You can find predefined Constraints in the predefined_constraints folder in the Github repo.