# Revetment on DOKS -- raw terminal transcript, 2026-11-17 (UTC timestamps). # Run 1 = exploratory run on cluster 4710693d (found the gotchas). Run 2 = clean run on a fresh cluster with the guide's commands. # Every command ran via a wrapper that sets KUBECONFIG to a per-cluster file. Tokens, tester IP and geo are redacted. ########## RUN 1 ########## ### 2026-11-17T08:40:39Z $ doctl kubernetes cluster create revetment-guide-doks --region nyc3 --version 1.36.6-do.0 --node-pool "name=pool-guide;size=s-2vcpu-4gb;count=2;tag=revetment-guide-test" --tag revetment-guide-test --update-kubeconfig=false --wait Notice: Cluster is provisioning, waiting for cluster to be running ........................................................................................... ID Name Region Version Auto Upgrade Status Node Pools 4710693d-4df8-4a5e-9457-e75828240a7f revetment-guide-doks nyc3 1.36.6-do.0 false running pool-guide [exit 0, 489s] ### 2026-11-17T08:49:07Z $ doctl kubernetes cluster kubeconfig show revetment-guide-doks > $KUBECONFIG && chmod 600 $KUBECONFIG && kubectl config current-context && kubectl get nodes -o wide && kubectl get crd | grep -E "gateway.networking|envoyproxy" ; kubectl get storageclass do-nyc3-revetment-guide-doks NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME pool-guide-3ahn30 Ready 2m12s v1.36.6 10.108.0.16 165.227.77.68 Debian GNU/Linux 13 (trixie) 6.12.113+deb13-amd64 (amd64) containerd://2.3.6 pool-guide-3ahn31 Ready 2m12s v1.36.6 10.108.0.22 167.71.160.148 Debian GNU/Linux 13 (trixie) 6.12.113+deb13-amd64 (amd64) containerd://2.3.6 gatewayclasses.gateway.networking.k8s.io 2026-11-17T08:45:01Z gateways.gateway.networking.k8s.io 2026-11-17T08:45:01Z grpcroutes.gateway.networking.k8s.io 2026-11-17T08:45:01Z httproutes.gateway.networking.k8s.io 2026-11-17T08:45:01Z referencegrants.gateway.networking.k8s.io 2026-11-17T08:45:01Z tlsroutes.gateway.networking.k8s.io 2026-11-17T08:45:01Z NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE do-block-storage (default) dobs.csi.digitalocean.com Delete Immediate true 5m11s do-block-storage-retain dobs.csi.digitalocean.com Retain Immediate true 5m11s do-block-storage-xfs dobs.csi.digitalocean.com Delete Immediate true 5m11s do-block-storage-xfs-retain dobs.csi.digitalocean.com Retain Immediate true 5m11s [exit 0, 4s] ### 2026-11-17T08:49:16Z $ kubectl get crd -o custom-columns=NAME:.metadata.name,BUNDLE:.metadata.annotations.gateway\.networking\.k8s\.io/bundle-version,CHANNEL:.metadata.annotations.gateway\.networking\.k8s\.io/channel,SERVED:.spec.versions[*].name | grep gateway.networking; kubectl -n kube-system get configmap cilium-config -o jsonpath="{.data.enable-gateway-api}{\"\n\"}" gatewayclasses.gateway.networking.k8s.io v1,v1beta1 gateways.gateway.networking.k8s.io v1,v1beta1 grpcroutes.gateway.networking.k8s.io v1 httproutes.gateway.networking.k8s.io v1,v1beta1 referencegrants.gateway.networking.k8s.io v1beta1 tlsroutes.gateway.networking.k8s.io v1alpha2 true [exit 0, 1s] ### 2026-11-17T08:49:23Z $ kubectl get crd tlsroutes.gateway.networking.k8s.io httproutes.gateway.networking.k8s.io -o jsonpath="{range .items[*]}{.metadata.name} {.metadata.annotations}{\"\n\"}{end}"; kubectl get gatewayclass tlsroutes.gateway.networking.k8s.io {"api-approved.kubernetes.io":"https://github.com/kubernetes-sigs/gateway-api/pull/3328","gateway.networking.k8s.io/bundle-version":"v1.2.1","gateway.networking.k8s.io/channel":"experimental"} httproutes.gateway.networking.k8s.io {"api-approved.kubernetes.io":"https://github.com/kubernetes-sigs/gateway-api/pull/3328","gateway.networking.k8s.io/bundle-version":"v1.2.1","gateway.networking.k8s.io/channel":"standard"} NAME CONTROLLER ACCEPTED AGE cilium io.cilium/gateway-controller True 4m20s [exit 0, 1s] ### 2026-11-17T08:49:32Z $ kubectl config current-context; helm install eg oci://docker.io/envoyproxy/gateway-helm --version v1.8.3 -n envoy-gateway-system --create-namespace --timeout 5m 2>&1 | head -20; sleep 60; kubectl -n envoy-gateway-system get pods; kubectl -n envoy-gateway-system logs deploy/envoy-gateway --tail=5 2>&1 | cut -c1-400 do-nyc3-revetment-guide-doks Pulled: docker.io/envoyproxy/gateway-helm:v1.8.3 Digest: sha256:cfb34ff4266c87a394cd6be5c13607a2dd47083aef771368302eaeaa99c4a0a9 NAME: eg LAST DEPLOYED: Tue Nov 17 08:49:38 2026 NAMESPACE: envoy-gateway-system STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: ************************************************************************** *** PLEASE BE PATIENT: Envoy Gateway may take a few minutes to install *** ************************************************************************** Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. Thank you for installing Envoy Gateway! 🎉 Your release is named: eg. 🎉 Your release is in namespace: envoy-gateway-system. 🎉 NAME READY STATUS RESTARTS AGE envoy-gateway-6cbcdc4786-f9zzg 0/1 CrashLoopBackOff 3 (21s ago) 60s Flags: -c, --config-path string The path to the configuration file. -h, --help help for server failed to create kubernetes provider: failed to create provider Kubernetes: failed to create gatewayapi controller: error watching resources: no matches for kind "TLSRoute" in version "gateway.networking.k8s.io/v1" [exit 0, 83s] ### 2026-11-17T08:51:02Z $ kubectl config current-context curl -fsSL -o gateway-api-v1.5.1-experimental.yaml https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.5.1/experimental-install.yaml echo "64ec76609a6ac885e0405dea79ca509c229fa019d342f0857aa8b6bdc8b8ba92 gateway-api-v1.5.1-experimental.yaml" | shasum -a 256 -c - kubectl apply --server-side --force-conflicts -f gateway-api-v1.5.1-experimental.yaml 2>&1 | tail -15 kubectl get crd tlsroutes.gateway.networking.k8s.io -o jsonpath="{.spec.versions[*].name} {.metadata.annotations.gateway\.networking\.k8s\.io/bundle-version}{\"\n\"}" kubectl -n envoy-gateway-system rollout restart deploy/envoy-gateway kubectl -n envoy-gateway-system rollout status deploy/envoy-gateway --timeout=180s kubectl -n envoy-gateway-system get pods do-nyc3-revetment-guide-doks gateway-api-v1.5.1-experimental.yaml: OK customresourcedefinition.apiextensions.k8s.io/backendtlspolicies.gateway.networking.k8s.io serverside-applied customresourcedefinition.apiextensions.k8s.io/listenersets.gateway.networking.k8s.io serverside-applied customresourcedefinition.apiextensions.k8s.io/tcproutes.gateway.networking.k8s.io serverside-applied customresourcedefinition.apiextensions.k8s.io/tlsroutes.gateway.networking.k8s.io serverside-applied customresourcedefinition.apiextensions.k8s.io/udproutes.gateway.networking.k8s.io serverside-applied validatingadmissionpolicy.admissionregistration.k8s.io/safe-upgrades.gateway.networking.k8s.io serverside-applied validatingadmissionpolicybinding.admissionregistration.k8s.io/safe-upgrades.gateway.networking.k8s.io serverside-applied customresourcedefinition.apiextensions.k8s.io/xbackendtrafficpolicies.gateway.networking.x-k8s.io serverside-applied customresourcedefinition.apiextensions.k8s.io/xmeshes.gateway.networking.x-k8s.io serverside-applied Error from server (Invalid): customresourcedefinitions.apiextensions.k8s.io "gatewayclasses.gateway.networking.k8s.io" is forbidden: ValidatingAdmissionPolicy 'safe-upgrades.gateway.networking.k8s.io' with binding 'safe-upgrades.gateway.networking.k8s.io' denied request: Installing experimental CRDs on top of standard channel CRDs is prohibited by default. Uninstall ValidatingAdmissionPolicy safe-upgrades.gateway.networking.k8s.io to install experimental CRDs on top of standard channel CRDs. Error from server (Invalid): customresourcedefinitions.apiextensions.k8s.io "gateways.gateway.networking.k8s.io" is forbidden: ValidatingAdmissionPolicy 'safe-upgrades.gateway.networking.k8s.io' with binding 'safe-upgrades.gateway.networking.k8s.io' denied request: Installing experimental CRDs on top of standard channel CRDs is prohibited by default. Uninstall ValidatingAdmissionPolicy safe-upgrades.gateway.networking.k8s.io to install experimental CRDs on top of standard channel CRDs. Error from server (Invalid): customresourcedefinitions.apiextensions.k8s.io "grpcroutes.gateway.networking.k8s.io" is forbidden: ValidatingAdmissionPolicy 'safe-upgrades.gateway.networking.k8s.io' with binding 'safe-upgrades.gateway.networking.k8s.io' denied request: Installing experimental CRDs on top of standard channel CRDs is prohibited by default. Uninstall ValidatingAdmissionPolicy safe-upgrades.gateway.networking.k8s.io to install experimental CRDs on top of standard channel CRDs. Error from server (Invalid): customresourcedefinitions.apiextensions.k8s.io "httproutes.gateway.networking.k8s.io" is forbidden: ValidatingAdmissionPolicy 'safe-upgrades.gateway.networking.k8s.io' with binding 'safe-upgrades.gateway.networking.k8s.io' denied request: Installing experimental CRDs on top of standard channel CRDs is prohibited by default. Uninstall ValidatingAdmissionPolicy safe-upgrades.gateway.networking.k8s.io to install experimental CRDs on top of standard channel CRDs. Error from server (Invalid): customresourcedefinitions.apiextensions.k8s.io "referencegrants.gateway.networking.k8s.io" is forbidden: ValidatingAdmissionPolicy 'safe-upgrades.gateway.networking.k8s.io' with binding 'safe-upgrades.gateway.networking.k8s.io' denied request: Installing experimental CRDs on top of standard channel CRDs is prohibited by default. Uninstall ValidatingAdmissionPolicy safe-upgrades.gateway.networking.k8s.io to install experimental CRDs on top of standard channel CRDs. v1 v1alpha2 v1alpha3 v1.5.1 deployment.apps/envoy-gateway restarted Waiting for deployment "envoy-gateway" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "envoy-gateway" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "envoy-gateway" rollout to finish: 1 old replicas are pending termination... deployment "envoy-gateway" successfully rolled out NAME READY STATUS RESTARTS AGE envoy-gateway-5b9b7c874c-mrkk9 1/1 Running 0 14s envoy-gateway-6cbcdc4786-f9zzg 0/1 Error 3 (48s ago) 87s [exit 0, 19s] ### 2026-11-17T08:51:46Z $ kubectl config current-context umask 077; openssl rand -hex 32 | tr -d "\n" > ingest-token kubectl create namespace revetment-system kubectl -n revetment-system create secret generic revetment-ingest --from-file=token=ingest-token kubectl -n envoy-gateway-system create secret generic revetment-ingest --from-file=token=ingest-token sed -i "" "s/STORAGE_CLASS/do-block-storage/" revetment-values.yaml helm install revetment oci://registry.revetment.io/charts/revetment --version 0.1.0-722813e98f02 \ -n revetment-system -f revetment-values.yaml --wait --timeout 5m kubectl -n revetment-system get deploy,pvc,pods -o wide do-nyc3-revetment-guide-doks namespace/revetment-system created secret/revetment-ingest created secret/revetment-ingest created Pulled: registry.revetment.io/charts/revetment:0.1.0-722813e98f02 Digest: sha256:99215f305ab9c0cbbdd390f53655f87e3fb01b6bfcda30ad2d9b6eb53fb06382 NAME: revetment LAST DEPLOYED: Tue Nov 17 08:51:50 2026 NAMESPACE: revetment-system STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: Revetment 0.1.0-722813e98f02 installed as release "revetment" in namespace "revetment-system". Workloads in this release: controller revetment-controller watches RevetmentPolicy / RevetmentException / RevetmentFeed control plane revetment-control-plane HTTP API + UI data plane not rendered (dataPlane.enabled=false -- the Envoy Gateway attachment path, where Envoy Gateway provisions its own proxy pods) Watch them come up: kubectl -n revetment-system rollout status deploy/revetment-control-plane Reach the control plane's UI: kubectl -n revetment-system port-forward svc/revetment-control-plane 8080:8080 open http://127.0.0.1:8080/ Full walkthrough, including attaching to an existing Envoy Gateway estate: docs/runbooks/live-exercise.md NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR deployment.apps/revetment-control-plane 1/1 1 1 30s control-plane registry.revetment.io/control-plane:0.1.0@sha256:3cae6a6da7b6edbbc2795e73ea225ac68f34be3b36f403e85ea0879517459137 app.kubernetes.io/instance=revetment,app.kubernetes.io/name=revetment-control-plane deployment.apps/revetment-controller 1/1 1 1 30s controller registry.revetment.io/k8s-controller:0.1.0@sha256:f0441d58bfe91b7fb8aab87861facb8ac7bf2fbc903da7fc074189ed7c6189d5 app.kubernetes.io/instance=revetment,app.kubernetes.io/name=revetment-k8s-controller NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE VOLUMEMODE persistentvolumeclaim/revetment-control-plane-data Bound pvc-78063815-7fc7-49d8-954f-5622f5d5ccff 1Gi RWO do-block-storage 30s Filesystem NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES pod/revetment-control-plane-f6c7b8df4-n2tnk 1/1 Running 0 30s 10.109.0.132 pool-guide-3ahn31 pod/revetment-controller-7c8659c776-8q7mb 1/1 Running 0 30s 10.109.0.164 pool-guide-3ahn31 [exit 0, 37s] ### 2026-11-17T08:52:36Z $ kubectl config current-context kubectl apply -f envoyproxy.yaml kubectl apply -f demo.yaml kubectl -n demo wait --for=condition=Programmed gateway/demo --timeout=300s kubectl -n demo get gateway demo kubectl -n envoy-gateway-system get pods,svc -o wide do-nyc3-revetment-guide-doks envoyproxy.gateway.envoyproxy.io/revetment-proxy created gatewayclass.gateway.networking.k8s.io/revetment created namespace/demo created deployment.apps/echo created service/echo created gateway.gateway.networking.k8s.io/demo created httproute.gateway.networking.k8s.io/echo created gateway.gateway.networking.k8s.io/demo condition met NAME CLASS ADDRESS PROGRAMMED AGE demo revetment 134.199.250.25 True 40s NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES pod/envoy-demo-demo-5f75aa4b-7f758cf89b-h6nsz 2/2 Running 0 40s 10.109.0.219 pool-guide-3ahn31 pod/envoy-gateway-5b9b7c874c-mrkk9 1/1 Running 0 2m13s 10.109.0.206 pool-guide-3ahn31 NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR service/envoy-demo-demo-5f75aa4b LoadBalancer 10.108.61.159 134.199.250.25 80:32500/TCP 41s app.kubernetes.io/component=proxy,app.kubernetes.io/managed-by=envoy-gateway,app.kubernetes.io/name=envoy,gateway.envoyproxy.io/owning-gateway-name=demo,gateway.envoyproxy.io/owning-gateway-namespace=demo service/envoy-gateway ClusterIP 10.108.47.64 18000/TCP,18001/TCP,18002/TCP,19001/TCP,9443/TCP 3m27s app.kubernetes.io/instance=eg,app.kubernetes.io/name=gateway-helm,control-plane=envoy-gateway [exit 0, 45s] ### 2026-11-17T08:53:27Z $ GW=134.199.250.25 for i in $(seq 1 30); do c=$(curl -s -o /dev/null -w "%{http_code}" --max-time 5 http://$GW/); [ "$c" = 200 ] && break; sleep 5; done curl -s -o /dev/null -w "benign: %{http_code}\n" "http://$GW/?q=hello" curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271" kubectl get pods -n envoy-gateway-system -l gateway.envoyproxy.io/owning-gateway-name=demo -o jsonpath="{.items[*].spec.containers[?(@.name==\"envoy\")].image}{\"\n\"}" benign: 200 sqli: 200 registry.revetment.io/data-plane:0.1.0@sha256:e17df8a82f680ea3e00f4c6263f975c986be89aaf012d6b4e5b1200d9c7930f1 [exit 0, 1s] ### 2026-11-17T08:53:34Z $ kubectl config current-context kubectl apply -f policy.yaml sleep 20 kubectl -n demo get revetmentpolicy echo kubectl -n demo get revetmentpolicy echo -o jsonpath="{range .status.conditions[*]}{.type}={.status} reason={.reason} {.message}{\"\n\"}{end}" kubectl -n demo get envoyextensionpolicy kubectl -n demo get envoyextensionpolicy echo-revetment -o jsonpath="{range .status.ancestors[*].conditions[*]}{.type}={.status} {.reason} {.message}{\"\n\"}{end}" kubectl -n demo get envoyextensionpolicy echo-revetment -o jsonpath="{.spec.dynamicModule[0].config.mode}{\"\n\"}" do-nyc3-revetment-guide-doks revetmentpolicy.revetment.io/echo created NAME MODE ROUTE AGE echo shadow echo 21s Accepted=True reason=Accepted attached to route echo (0 exception(s), 0 source rule(s), mode Shadow, stage 100%) NAME AGE echo-revetment 21s Accepted=True Accepted Policy has been accepted. shadow [exit 0, 23s] ### 2026-11-17T08:54:03Z $ GW=134.199.250.25 sleep 10 for i in 1 2 3; do curl -s -o /dev/null -w "benign: %{http_code}\n" "http://$GW/?q=hello"; curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271"; done curl -s -o /dev/null -w "xss: %{http_code}\n" "http://$GW/?q=%3Cscript%3Ealert(1)%3C%2Fscript%3E" sleep 8 kubectl -n revetment-system port-forward svc/revetment-control-plane 8080:8080 >/dev/null 2>&1 & PF=$!; sleep 3 curl -s http://127.0.0.1:8080/metrics | grep -iE "shadow|would|block|ingest" | grep -v "^#" | head -30 kill $PF benign: 200 sqli: 200 benign: 200 sqli: 200 benign: 200 sqli: 200 xss: 200 [exit 0, 22s] ### 2026-11-17T08:54:30Z $ kubectl -n revetment-system port-forward svc/revetment-control-plane 8080:8080 >/dev/null 2>&1 & PF=$!; sleep 3 curl -s -o /dev/null -w "readyz %{http_code}\n" http://127.0.0.1:8080/readyz curl -s http://127.0.0.1:8080/metrics | grep -v "^#" | head -40 kill $PF kubectl -n revetment-system logs deploy/revetment-control-plane --tail=20 | cut -c1-300 readyz 404 {"detail":"Not Found"} 2026-11-17T08:52:10.042071Z WARN revetment_control_plane: neither --config nor --k8s-policy given; starting with no loaded policy (only the control-plane surfaces are served) 2026-11-17T08:52:10.042267Z INFO revetment_control_plane: resolved server settings db_path=/data/revetment-control-plane.sqlite3 internal_cidrs=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,127.0.0.0/8,::1/128,fc00::/7 jsonl_dir=/data/revetment-logs retention_days=30 retention_sweep_interval_seconds=300 2026-11-17T08:52:10.042333Z INFO revetment_control_plane: no bootstrap admin identity configured (REVETMENT_CONTROL_PLANE_BOOTSTRAP_ADMIN unset and not present in --server-config); defaulting to admin@localhost if no account exists yet 2026-11-17T08:52:10.043667Z INFO revetment_control_plane: revetment-control-plane listening on 0.0.0.0:8080 2026-11-17T08:52:10.043795Z INFO revetment_control_plane: magic-link sign-in configured mailer="unconfigured" public_url=http://127.0.0.1:8080 2026-11-17T08:52:10.043877Z WARN revetment_control_plane: console sessions are held in THIS PROCESS only. Correct on a single replica. On more than one, a session minted by one pod is a 401 on the other, at whatever rate the load balancer alternates -- which looks like a flaky console, not like a c 2026-11-17T08:52:10.043918Z INFO revetment_control_plane: console sessions are stamped with this deployment revision; sessions from any other revision will be refused revision=1 2026-11-17T08:52:10.045156Z INFO revetment_control_plane: JSONL event tailer started jsonl_dir=/data/revetment-logs retention_days=30 retention_sweep_interval_seconds=300 2026-11-17T08:52:10.558195Z INFO revetment_control_plane: created bootstrap admin account. It has no password: sign in from the console's front page, which sends a link to that address. If mail is not configured yet, set REVETMENT_CONTROL_PLANE_BREAK_GLASS_LINK to the address and restart to have a 2026-11-17T08:52:10.558640Z INFO revetment_control_plane: database opened at /data/revetment-control-plane.sqlite3; control plane is ready [exit 0, 4s] ### 2026-11-17T08:54:41Z $ kubectl -n revetment-system port-forward svc/revetment-control-plane 18080:8080 >/dev/null 2>&1 & PF=$!; sleep 3 curl -s -o /dev/null -w "readyz %{http_code}\n" http://127.0.0.1:18080/readyz curl -s http://127.0.0.1:18080/metrics | grep -v "^#" | grep -v "_bucket" | head -60 kill $PF readyz 200 revetment_control_plane_up 1 revetment_control_plane_ready 1 revetment_control_plane_uptime_seconds 155.086 revetment_control_plane_http_requests_total 118 revetment_control_plane_mailer_send_failures_total 0 revetment_control_plane_tailer_records_inserted_total 8 revetment_control_plane_tailer_records_skipped_malformed_total 0 revetment_control_plane_tailer_retention_events_deleted_total 0 revetment_control_plane_tailer_retention_files_deleted_total 0 revetment_control_plane_tailer_retention_last_sweep_unix_ms 0 revetment_control_plane_tailer_retention_sweep_interval_seconds 300 revetment_control_plane_ring_drops_total 0 revetment_control_plane_ring_stats_updated_at_unix_ms 0 revetment_control_plane_events_stored 4 ip_intel_lookups_total{result="city"} 0 ip_intel_lookups_total{result="country_only"} 0 ip_intel_lookups_total{result="unresolved"} 0 [exit 0, 4s] ### 2026-11-17T08:54:54Z $ kubectl config current-context helm upgrade revetment oci://registry.revetment.io/charts/revetment --version 0.1.0-722813e98f02 \ -n revetment-system -f revetment-values.yaml -f break-glass.yaml --wait --timeout 5m | head -6 kubectl -n revetment-system rollout status deploy/revetment-control-plane --timeout=180s umask 077 kubectl -n revetment-system logs deploy/revetment-control-plane | grep -o "token=[0-9A-Za-z_-]*" | tail -1 | cut -d= -f2 > signin-token printf "token file: %s bytes\n" "$(wc -c < signin-token | tr -d " ")" kubectl -n revetment-system logs deploy/revetment-control-plane | grep BREAK_GLASS | sed -E "s/token=[0-9A-Za-z_-]+/token=/" | cut -c1-400 do-nyc3-revetment-guide-doks Pulled: registry.revetment.io/charts/revetment:0.1.0-722813e98f02 Digest: sha256:99215f305ab9c0cbbdd390f53655f87e3fb01b6bfcda30ad2d9b6eb53fb06382 Release "revetment" has been upgraded. Happy Helming! NAME: revetment LAST DEPLOYED: Tue Nov 17 08:54:56 2026 NAMESPACE: revetment-system STATUS: deployed REVISION: 2 deployment "revetment-control-plane" successfully rolled out token file: 65 bytes 2026-11-17T08:55:07.895568Z WARN revetment_control_plane: REVETMENT_CONTROL_PLANE_BREAK_GLASS_LINK is set: a sign-in link for admin@localhost follows, valid for 15 minutes. It is a working credential and it is now in this log — use it, then REMOVE the variable from the deployment, and treat these log lines as sensitive. http://127.0.0.1:8080/auth/verify?token= [exit 0, 28s] ### 2026-11-17T08:55:28Z $ umask 077 kubectl -n revetment-system port-forward svc/revetment-control-plane 18080:8080 >/dev/null 2>&1 & PF=$!; sleep 3 printf "{\"token\":\"%s\"}" "$(tr -d "\n" < signin-token)" > verify.json curl -s -o /dev/null -w "verify: %{http_code}\n" -c cookies -X POST http://127.0.0.1:18080/api/auth/verify -H "content-type: application/json" --data-binary @verify.json rm -f verify.json signin-token curl -s -o /dev/null -w "session: %{http_code}\n" -b cookies http://127.0.0.1:18080/api/session curl -s -b cookies "http://127.0.0.1:18080/api/events?limit=10" | python3 -m json.tool | head -80 kill $PF verify: 200 session: 200 { "events": [ { "id": 4, "event_ulid": "01M7MBDH9XVJ01XYS5NG6Z8DH4", "timestamp_unix_ms": 1794905654589, "request_id": "b98a3a4d-3cd6-4caf-ad05-3798a8b9c309", "route": "/", "rule_id": "941390", "rule_message": "Javascript method detected", "parameter": "q", "severity": "critical", "mode": "shadow", "matched_variable": "ARGS_GET:q", "redacted_context": "", "verdict": "would_block", "anomaly_score": 26, "source_id": "envoy-demo-demo-5f75aa4b-7f758cf89b-h6nsz", "client": "203.0.113.10", "client_source": "forwarded_for", "reported_client": "", "source_origin": { "country": "", "asn": , "as_org": "", "region": "", "city": "", "latitude": , "longitude": }, "remedy": { "summary": "Add a scoped exception for rule 941390 on route /, parameter q \u2014 this narrows only that route and parameter, never the rule fleet-wide.", "suggested_exception": { "rule_id": "941390", "route": "/", "parameter": "q", "location": "query_param" } }, "method": "GET", "host": "134.199.250.25", "user_agent": "curl/8.7.1", "upstream_status": 200, "authorized_test": false, "provenance": "external", "upstream_service": "demo/echo", "stage_route": "echo", "decision_source": "rule" }, { "id": 3, "event_ulid": "01M7MBDH3SY0DCH1BXBQWTX0AQ", "timestamp_unix_ms": 1794905654393, "request_id": "6a7c12bb-2b96-474b-810c-ae8a7351ee65", "route": "/", "rule_id": "942100", "rule_message": "SQL Injection Attack Detected via libinjection", "parameter": "id", "severity": "critical", "mode": "shadow", "matched_variable": "ARGS_GET:id", "redacted_context": "1' OR '1'='1", "verdict": "would_block", "anomaly_score": 11, "source_id": "envoy-demo-demo-5f75aa4b-7f758cf89b-h6nsz", "client": "203.0.113.10", "client_source": "forwarded_for", "reported_client": "", "source_origin": { "country": "", "asn": , "as_org": "", "region": "", "city": "", "latitude": , "longitude": }, "remedy": { "summary": "Add a scoped exception for rule 942100 on route /, parameter id \u2014 this narrows only that route and parameter, never the rule fleet-wide.", "suggested_exception": { [exit 0, 4s] ### 2026-11-17T08:55:40Z $ kubectl config current-context kubectl -n demo patch revetmentpolicy echo --type merge -p "{\"spec\":{\"mode\":\"blocking\"}}" sleep 15 kubectl -n demo get revetmentpolicy echo -o jsonpath="{range .status.conditions[*]}{.type}={.status} reason={.reason} {.message}{\"\n\"}{end}" kubectl -n demo get envoyextensionpolicy echo-revetment -o jsonpath="rendered mode: {.spec.dynamicModule[0].config.mode}{\"\n\"}" curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://134.199.250.25/?id=1%27%20OR%20%271%27%3D%271" do-nyc3-revetment-guide-doks revetmentpolicy.revetment.io/echo patched Accepted=False reason=BlockingNotApproved held in shadow: blocking for route echo needs approval on the console's promotion page, which shows how many requests it would have blocked first rendered mode: shadow sqli: 200 [exit 0, 16s] ### 2026-11-17T08:56:04Z $ kubectl -n revetment-system port-forward svc/revetment-control-plane 18080:8080 >/dev/null 2>&1 & PF=$!; sleep 3 CP=http://127.0.0.1:18080 curl -s -b cookies $CP/api/routes/echo/blast-radius; echo for pct in 1 10 100; do ack=$(curl -s -b cookies $CP/api/routes/echo/blast-radius | jq -c "{would_block_requests,distinct_clients,computed_at_unix_ms,computed_through_event_id}") curl -s -o /dev/null -w "promote to $pct%%: %{http_code}\n" -b cookies -X POST $CP/api/routes/echo/promotion \ -H "content-type: application/json" \ -d "{\"stage_percent\":$pct,\"auto_rollback_threshold\":1.0,\"acknowledged_blast_radius\":$ack}" for i in $(seq 1 30); do got=$(kubectl -n demo get envoyextensionpolicy echo-revetment -o jsonpath="{.spec.dynamicModule[0].config.rollout.stagePercent}") [ "$got" = "$pct" ] && break; sleep 3 done echo " controller applied stagePercent=$got" done curl -s -b cookies $CP/api/routes/echo/promotion | jq -c .current kill $PF {"route":"echo","window_days":7,"would_block_requests":5,"distinct_clients":1,"unknown_client_requests":0,"computed_at_unix_ms":1794905767673,"computed_through_event_id":"01M7MBGMZ725XBQ1AASQQKC9S1"} promote to 1%: 201 controller applied stagePercent=1 promote to 10%: 201 controller applied stagePercent=10 promote to 100%: 201 controller applied stagePercent=100 {"id":3,"route":"echo","stage_percent":100,"status":"active","auto_rollback_threshold":1.0,"started_at_unix_ms":1794905789970,"completed_at_unix_ms":null,"created_by_account_id":1,"rollback_reason":null} [exit 0, 39s] ### 2026-11-17T08:56:49Z $ sleep 10 kubectl -n demo get revetmentpolicy echo kubectl -n demo get revetmentpolicy echo -o jsonpath="{range .status.conditions[*]}{.type}={.status} reason={.reason} {.message}{\"\n\"}{end}" kubectl -n demo get envoyextensionpolicy echo-revetment -o jsonpath="rendered mode: {.spec.dynamicModule[0].config.mode}{\"\n\"}" GW=134.199.250.25 for i in 1 2 3; do curl -s -o /dev/null -w "benign: %{http_code}\n" "http://$GW/?q=hello" curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271" curl -s -o /dev/null -w "xss: %{http_code}\n" "http://$GW/?q=%3Cscript%3Ealert(1)%3C%2Fscript%3E" done curl -s -i "http://$GW/?id=1%27%20OR%20%271%27%3D%271" | head -12 NAME MODE ROUTE AGE echo blocking echo 3m25s Accepted=True reason=Accepted attached to route echo (0 exception(s), 0 source rule(s), mode Blocking, stage 100%) rendered mode: blocking benign: 200 sqli: 403 xss: 403 benign: 200 sqli: 403 xss: 403 benign: 200 sqli: 403 xss: 403 HTTP/1.1 403 Forbidden date: Tue, 17 Nov 2026 08:57:02 GMT content-length: 0 [exit 0, 13s] ### 2026-11-17T08:57:15Z $ kubectl -n revetment-system port-forward svc/revetment-control-plane 18080:8080 >/dev/null 2>&1 & PF=$!; sleep 3 curl -s -b cookies "http://127.0.0.1:18080/api/events?limit=50" | jq -r ".events[] | [.id, .mode, .verdict, .rule_id, .matched_variable, .upstream_status] | @tsv" | head -20 kill $PF helm upgrade revetment oci://registry.revetment.io/charts/revetment --version 0.1.0-722813e98f02 -n revetment-system -f revetment-values.yaml --wait --timeout 5m | grep -E "STATUS|REVISION" kubectl -n revetment-system get deploy revetment-control-plane -o jsonpath="{.spec.template.spec.containers[0].env[*].name}" | tr " " "\n" | grep -c BREAK_GLASS || true curl -s -o /dev/null -w "sqli after control-plane restart: %{http_code}\n" "http://134.199.250.25/?id=1%27%20OR%20%271%27%3D%271" 12 blocking block 942100 ARGS_GET:id 11 blocking block 941390 ARGS_GET:q 10 blocking block 942100 ARGS_GET:id 9 blocking block 941390 ARGS_GET:q 8 blocking block 942100 ARGS_GET:id 7 blocking block 941390 ARGS_GET:q 6 blocking block 942100 ARGS_GET:id 5 shadow would_block 942100 ARGS_GET:id 200 4 shadow would_block 941390 ARGS_GET:q 200 3 shadow would_block 942100 ARGS_GET:id 200 2 shadow would_block 942100 ARGS_GET:id 200 1 shadow would_block 942100 ARGS_GET:id 200 Pulled: registry.revetment.io/charts/revetment:0.1.0-722813e98f02 Digest: sha256:99215f305ab9c0cbbdd390f53655f87e3fb01b6bfcda30ad2d9b6eb53fb06382 STATUS: deployed REVISION: 3 0 sqli after control-plane restart: 403 [exit 0, 29s] ### 2026-11-17T08:57:52Z $ doctl kubernetes cluster list-associated-resources revetment-guide-doks doctl kubernetes cluster delete revetment-guide-doks --dangerous --force sleep 20 doctl kubernetes cluster list --format Name,Status doctl compute load-balancer list --format ID,Name,IP,Status doctl compute volume list --format ID,Name,Size,DropletIDs,Tags Volumes Volume Snapshots Load Balancers [24092528-e264-11f1-bc06-aa028a253852] [] [f512026d-6489-46be-9c68-edb6847e0aba] Notice: Cluster deleted, removing credentials Notice: Removing cluster credentials from kubeconfig file found in "~/.kube/config" Notice: The removed cluster was set as the current context in kubectl. Run `kubectl config get-contexts` to see a list of other contexts you can use, and `kubectl config set-context` to specify a new one. Name Status tabor-cluster running ID Name IP Status 4d345fa5-b45a-486b-b5a3-f0a0a6d3506a ab821898c49c14625b454902f8d594d6 159.89.247.173 active 8586560e-838d-49eb-9035-c7a1163ffa58 a9f759556fcd043c7878f8fe4c355e64 129.212.149.190 active f512026d-6489-46be-9c68-edb6847e0aba a2b68811add7d44438ee86e14d65f30e 134.199.250.25 active ID Name Size Droplet IDs Tags ba519fc5-b3c8-11f1-accf-528efcfe0fec mx1-mail 40 GiB [601856796] d60766a5-7b2d-11f1-8a77-92e5cb5a949b pvc-066a5479-a048-4a58-8996-b3d14b9737e0 1 GiB [609843878] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 b45b0ce7-b8e7-11f1-83db-c284a1a8e782 pvc-096d87ca-e209-4929-9664-aa813c7e5c83 2 GiB [609843878] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 b94f2eff-c636-11f1-8701-0e7d3dbaa597 pvc-0c1a5386-25de-4864-af21-83e81a00b8d1 20 GiB [609843878] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 c789b714-b8e7-11f1-88a4-caab481b3244 pvc-1bf1d72d-24f0-402e-b45e-b0f6011bf5a5 2 GiB [609843878] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 f2dbf13e-afc1-11f1-93d8-2a61c817cb77 pvc-3d50b7f4-895b-46e4-ba95-a17a296561fd 1 GiB k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 d71c87f9-725e-11f1-8aeb-0a58ac14721a pvc-5f0549ef-e946-4eeb-932e-d894770da366 5 GiB [609849918] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 6be1de84-b7a1-11f1-83db-c284a1a8e782 pvc-6456350e-dcde-4da1-83b3-4784cde7a6fc 25 GiB [609849918] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 24092528-e264-11f1-bc06-aa028a253852 pvc-78063815-7fc7-49d8-954f-5622f5d5ccff 1 GiB [620212045] k8s:4710693d-4df8-4a5e-9457-e75828240a7f caa8df49-d572-11f1-889c-fa2c53cb4798 pvc-98e21c4a-2df2-47b8-80b3-23946e5ae058 1 GiB [609849918] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 2de45ca8-a198-11f1-9263-f2f6a1811acf pvc-aa71cdcb-4668-4222-a870-efdba3300cbd 1 GiB [609842866] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 acfbf3c0-4194-11f1-8d08-0a58ac1289af pvc-cb46a3be-76fb-4219-9f0b-213d9e0878da 5 GiB [609846986] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 01385bc9-d573-11f1-a034-dab28107f2f3 pvc-e2a82ba3-bdd7-488e-9091-b8d5ed998916 1 GiB [609843878] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 1ed6b6db-7808-11f1-9043-0a58ac146db4 pvc-e6d04f4e-b82c-4ab1-a119-060dc66e8715 1 GiB k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 34078a8e-b027-11f1-8680-be969771ec3a pvc-eac8b982-4dc5-43bd-bcb0-4a8cb38d107f 10 GiB [609849918] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 d5a72c38-7b2d-11f1-9c55-ae46a1b3b940 pvc-f44799ae-badf-4f32-9be0-27a13a1ee93c 1 GiB [609846986] k8s:7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 [exit 0, 25s] ########## RUN 2 ########## ### 2026-11-17T08:58:43Z $ date -u; doctl kubernetes cluster create revetment-guide-doks --region nyc3 --version 1.36.6-do.0 --node-pool "name=pool-guide;size=s-2vcpu-4gb;count=2;tag=revetment-guide-test" --tag revetment-guide-test --update-kubeconfig=false --wait Tue Nov 17 08:58:43 UTC 2026 Notice: Cluster is provisioning, waiting for cluster to be running ........................................................................................... ID Name Region Version Auto Upgrade Status Node Pools d83f785d-ae16-477d-8661-086e122d4d33 revetment-guide-doks nyc3 1.36.6-do.0 false running pool-guide [exit 0, 488s] ### 2026-11-17T12:01:46Z $ doctl kubernetes cluster kubeconfig show revetment-guide-doks > $KUBECONFIG && chmod 600 $KUBECONFIG kubectl config current-context [ "$(kubectl config current-context)" = "do-nyc3-revetment-guide-doks" ] || exit 1 kubectl get nodes kubectl get crd tlsroutes.gateway.networking.k8s.io -o jsonpath="tlsroutes before: {.spec.versions[*].name}{\"\n\"}" curl -fsSL -o gateway-api-v1.5.1-experimental.yaml https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.5.1/experimental-install.yaml echo "64ec76609a6ac885e0405dea79ca509c229fa019d342f0857aa8b6bdc8b8ba92 gateway-api-v1.5.1-experimental.yaml" | shasum -a 256 -c - python3 -c "import sys,yaml; [print(\"---\\n\"+yaml.safe_dump(d)) for d in yaml.safe_load_all(open(sys.argv[1])) if d and d[\"metadata\"][\"name\"]==\"tlsroutes.gateway.networking.k8s.io\"]" gateway-api-v1.5.1-experimental.yaml > tlsroutes-v1.5.1.yaml kubectl apply --server-side --force-conflicts -f tlsroutes-v1.5.1.yaml kubectl get crd tlsroutes.gateway.networking.k8s.io -o jsonpath="tlsroutes after: {.spec.versions[*].name}{\"\n\"}" helm install eg oci://docker.io/envoyproxy/gateway-helm --version v1.8.3 -n envoy-gateway-system --create-namespace --wait --timeout 5m | grep -E "STATUS|REVISION" kubectl -n envoy-gateway-system get pods do-nyc3-revetment-guide-doks NAME STATUS ROLES AGE VERSION pool-guide-3ah3k7 Ready 176m v1.36.6 pool-guide-3ah3kq Ready 176m v1.36.6 tlsroutes before: v1alpha2 gateway-api-v1.5.1-experimental.yaml: OK customresourcedefinition.apiextensions.k8s.io/tlsroutes.gateway.networking.k8s.io serverside-applied tlsroutes after: v1 v1alpha2 v1alpha3 Pulled: docker.io/envoyproxy/gateway-helm:v1.8.3 Digest: sha256:cfb34ff4266c87a394cd6be5c13607a2dd47083aef771368302eaeaa99c4a0a9 STATUS: deployed REVISION: 1 NAME READY STATUS RESTARTS AGE eg-gateway-helm-certgen-sxng4 0/1 Completed 0 25s envoy-gateway-6cbcdc4786-cndlj 1/1 Running 0 13s [exit 0, 42s] ### 2026-11-17T12:02:48Z $ [ "$(kubectl config current-context)" = "do-nyc3-revetment-guide-doks" ] || exit 1 t(){ echo "--- [$(date -u +%H:%M:%S)] $*"; } t "ingest secret + chart" umask 077; openssl rand -hex 32 | tr -d "\n" > ingest-token kubectl create namespace revetment-system kubectl -n revetment-system create secret generic revetment-ingest --from-file=token=ingest-token kubectl -n envoy-gateway-system create secret generic revetment-ingest --from-file=token=ingest-token rm -f ingest-token helm install revetment oci://registry.revetment.io/charts/revetment --version 0.1.0-722813e98f02 -n revetment-system -f revetment-values.yaml --wait --timeout 5m | grep -E "STATUS|REVISION" kubectl -n revetment-system get deploy,pvc t "envoyproxy + demo" kubectl apply -f envoyproxy.yaml -f demo.yaml kubectl -n demo wait --for=condition=Programmed gateway/demo --timeout=300s kubectl -n demo rollout status deploy/echo --timeout=120s GW=$(kubectl -n demo get gateway demo -o jsonpath="{.status.addresses[0].value}") kubectl -n demo get gateway demo until [ "$(curl -s -o /dev/null -w "%{http_code}" --max-time 5 http://$GW/)" = 200 ]; do sleep 5; done curl -s -o /dev/null -w "before policy, sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271" t "shadow policy" kubectl apply -f policy.yaml kubectl -n demo wait --for=jsonpath="{.status.conditions[?(@.type==\"Accepted\")].status}"=True revetmentpolicy/echo --timeout=120s kubectl -n demo get revetmentpolicy echo sleep 15 for i in 1 2 3; do curl -s -o /dev/null -w "benign: %{http_code}\n" "http://$GW/?q=hello" curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271" curl -s -o /dev/null -w "xss: %{http_code}\n" "http://$GW/?q=%3Cscript%3Ealert(1)%3C%2Fscript%3E" done t "sign in" helm upgrade revetment oci://registry.revetment.io/charts/revetment --version 0.1.0-722813e98f02 -n revetment-system -f revetment-values.yaml -f break-glass.yaml --wait --timeout 5m | grep -E "STATUS|REVISION" kubectl -n revetment-system logs deploy/revetment-control-plane | grep -o "token=[0-9a-f]*" | tail -1 | cut -d= -f2 | tr -d "\n" > signin-token kubectl -n revetment-system port-forward svc/revetment-control-plane 18080:8080 >/dev/null 2>&1 & PF=$!; sleep 3; CP=http://127.0.0.1:18080 printf "{\"token\":\"%s\"}" "$(cat signin-token)" > verify.json curl -s -o /dev/null -w "verify: %{http_code}\n" -c cookies -X POST $CP/api/auth/verify -H "content-type: application/json" --data-binary @verify.json rm -f verify.json signin-token curl -s -b cookies "$CP/api/events?limit=50" | jq -r ".events[] | [.id, .mode, .verdict, .rule_id, .matched_variable, .upstream_status] | @tsv" t "blocking" kubectl -n demo patch revetmentpolicy echo --type merge -p "{\"spec\":{\"mode\":\"blocking\"}}" sleep 10 kubectl -n demo get revetmentpolicy echo -o jsonpath="{range .status.conditions[*]}{.type}={.status} reason={.reason}{\"\n\"}{end}" for pct in 1 10 100; do ack=$(curl -s -b cookies $CP/api/routes/echo/blast-radius | jq -c "{would_block_requests,distinct_clients,computed_at_unix_ms,computed_through_event_id}") curl -s -o /dev/null -w "promote to $pct%%: %{http_code}\n" -b cookies -X POST $CP/api/routes/echo/promotion -H "content-type: application/json" \ -d "{\"stage_percent\":$pct,\"auto_rollback_threshold\":1.0,\"acknowledged_blast_radius\":$ack}" kubectl -n demo wait --for=jsonpath="{.spec.dynamicModule[0].config.rollout.stagePercent}"=$pct envoyextensionpolicy/echo-revetment --timeout=120s done kill $PF kubectl -n demo wait --for=jsonpath="{.status.conditions[?(@.type==\"Accepted\")].status}"=True revetmentpolicy/echo --timeout=120s kubectl -n demo get revetmentpolicy echo -o jsonpath="{range .status.conditions[*]}{.type}={.status} reason={.reason} {.message}{\"\n\"}{end}" sleep 5 for i in 1 2 3; do curl -s -o /dev/null -w "benign: %{http_code}\n" "http://$GW/?q=hello" curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271" curl -s -o /dev/null -w "xss: %{http_code}\n" "http://$GW/?q=%3Cscript%3Ealert(1)%3C%2Fscript%3E" done t "remove break-glass" helm upgrade revetment oci://registry.revetment.io/charts/revetment --version 0.1.0-722813e98f02 -n revetment-system -f revetment-values.yaml --wait --timeout 5m | grep -E "STATUS|REVISION" curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271" rm -f cookies t done --- [12:02:49] ingest secret + chart namespace/revetment-system created secret/revetment-ingest created secret/revetment-ingest created Pulled: registry.revetment.io/charts/revetment:0.1.0-722813e98f02 Digest: sha256:99215f305ab9c0cbbdd390f53655f87e3fb01b6bfcda30ad2d9b6eb53fb06382 E1117 12:02:57.872555 98102 request.go:1058] Unexpected error when reading response body: unexpected EOF Error: INSTALLATION FAILED: create: failed to create: unexpected error when reading response body. Please retry. Original error: unexpected EOF No resources found in revetment-system namespace. --- [12:02:59] envoyproxy + demo envoyproxy.gateway.envoyproxy.io/revetment-proxy created gatewayclass.gateway.networking.k8s.io/revetment created namespace/demo created deployment.apps/echo created service/echo created gateway.gateway.networking.k8s.io/demo created httproute.gateway.networking.k8s.io/echo created gateway.gateway.networking.k8s.io/demo condition met deployment "echo" successfully rolled out NAME CLASS ADDRESS PROGRAMMED AGE demo revetment 159.89.255.8 True 41s before policy, sqli: 200 --- [12:03:45] shadow policy revetmentpolicy.revetment.io/echo created error: timed out waiting for the condition on revetmentpolicies/echo NAME MODE ROUTE AGE echo shadow echo 2m1s ### 2026-11-17T12:05:58Z $ [ "$(kubectl config current-context)" = "do-nyc3-revetment-guide-doks" ] || exit 1 helm -n revetment-system list -a kubectl get crd | grep revetment.io kubectl -n revetment-system get all,pvc,secret NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION revetment revetment-system 1 2026-11-17 12:02:55.218332 +0000 UTC pending-install revetment-0.1.0-722813e98f02 0.1.0-722813e98f02 revetmentdnsfeeds.revetment.io 2026-11-17T12:02:53Z revetmentexceptions.revetment.io 2026-11-17T12:02:53Z revetmentfeeds.revetment.io 2026-11-17T12:02:53Z revetmentpolicies.revetment.io 2026-11-17T12:02:53Z NAME TYPE DATA AGE secret/revetment-ingest Opaque 1 3m11s secret/sh.helm.release.v1.revetment.v1 helm.sh/release.v1 1 3m4s [exit 0, 3s] ### 2026-11-17T12:06:07Z $ [ "$(kubectl config current-context)" = "do-nyc3-revetment-guide-doks" ] || exit 1 helm uninstall revetment -n revetment-system helm install revetment oci://registry.revetment.io/charts/revetment --version 0.1.0-722813e98f02 -n revetment-system -f revetment-values.yaml --wait --timeout 5m | grep -E "STATUS|REVISION" kubectl -n revetment-system get deploy,pvc sleep 20 kubectl -n demo get revetmentpolicy echo -o jsonpath="{range .status.conditions[*]}{.type}={.status} reason={.reason} {.message}{\"\n\"}{end}" These resources were kept due to the resource policy: [PersistentVolumeClaim] revetment-control-plane-data release "revetment" uninstalled Pulled: registry.revetment.io/charts/revetment:0.1.0-722813e98f02 Digest: sha256:99215f305ab9c0cbbdd390f53655f87e3fb01b6bfcda30ad2d9b6eb53fb06382 STATUS: deployed REVISION: 1 NAME READY UP-TO-DATE AVAILABLE AGE deployment.apps/revetment-control-plane 1/1 1 1 27s deployment.apps/revetment-controller 1/1 1 1 27s NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE persistentvolumeclaim/revetment-control-plane-data Bound pvc-5942b7e4-99ab-44bf-a087-8fbe69cf1a05 1Gi RWO do-block-storage 28s Accepted=True reason=Accepted attached to route echo (0 exception(s), 0 source rule(s), mode Shadow, stage 100%) [exit 0, 56s] ### 2026-11-17T12:07:17Z $ set -e; [ "$(kubectl config current-context)" = "do-nyc3-revetment-guide-doks" ] t(){ echo "--- [$(date -u +%H:%M:%S)] $*"; } GW=$(kubectl -n demo get gateway demo -o jsonpath="{.status.addresses[0].value}") t "shadow traffic" for i in 1 2 3; do curl -s -o /dev/null -w "benign: %{http_code}\n" "http://$GW/?q=hello" curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271" curl -s -o /dev/null -w "xss: %{http_code}\n" "http://$GW/?q=%3Cscript%3Ealert(1)%3C%2Fscript%3E" done t "sign in" helm upgrade revetment oci://registry.revetment.io/charts/revetment --version 0.1.0-722813e98f02 -n revetment-system -f revetment-values.yaml -f break-glass.yaml --wait --timeout 5m | grep -E "STATUS|REVISION" umask 077 kubectl -n revetment-system logs deploy/revetment-control-plane | grep -o "token=[0-9a-f]*" | tail -1 | cut -d= -f2 | tr -d "\n" > signin-token kubectl -n revetment-system port-forward svc/revetment-control-plane 18080:8080 >/dev/null 2>&1 & PF=$!; trap "kill $PF" EXIT; sleep 3; CP=http://127.0.0.1:18080 printf "{\"token\":\"%s\"}" "$(cat signin-token)" > verify.json curl -s -o /dev/null -w "verify: %{http_code}\n" -c cookies -X POST $CP/api/auth/verify -H "content-type: application/json" --data-binary @verify.json rm -f verify.json signin-token curl -s -b cookies "$CP/api/events?limit=50" | jq -r ".events[] | [.id, .mode, .verdict, .rule_id, .matched_variable, .upstream_status] | @tsv" t "blocking" kubectl -n demo patch revetmentpolicy echo --type merge -p "{\"spec\":{\"mode\":\"blocking\"}}" sleep 10 kubectl -n demo get revetmentpolicy echo -o jsonpath="{range .status.conditions[*]}{.type}={.status} reason={.reason}{\"\n\"}{end}" for pct in 1 10 100; do ack=$(curl -s -b cookies $CP/api/routes/echo/blast-radius | jq -c "{would_block_requests,distinct_clients,computed_at_unix_ms,computed_through_event_id}") curl -s -o /dev/null -w "promote to $pct%%: %{http_code}\n" -b cookies -X POST $CP/api/routes/echo/promotion -H "content-type: application/json" \ -d "{\"stage_percent\":$pct,\"auto_rollback_threshold\":1.0,\"acknowledged_blast_radius\":$ack}" kubectl -n demo wait --for=jsonpath="{.spec.dynamicModule[0].config.rollout.stagePercent}"=$pct envoyextensionpolicy/echo-revetment --timeout=120s done kubectl -n demo wait --for=jsonpath="{.status.conditions[?(@.type==\"Accepted\")].status}"=True revetmentpolicy/echo --timeout=120s kubectl -n demo get revetmentpolicy echo kubectl -n demo get revetmentpolicy echo -o jsonpath="{range .status.conditions[*]}{.type}={.status} reason={.reason} {.message}{\"\n\"}{end}" sleep 5 for i in 1 2 3; do curl -s -o /dev/null -w "benign: %{http_code}\n" "http://$GW/?q=hello" curl -s -o /dev/null -w "sqli: %{http_code}\n" "http://$GW/?id=1%27%20OR%20%271%27%3D%271" curl -s -o /dev/null -w "xss: %{http_code}\n" "http://$GW/?q=%3Cscript%3Ealert(1)%3C%2Fscript%3E" done rm -f cookies t done --- [12:07:18] shadow traffic benign: 200 sqli: 200 xss: 200 benign: 200 sqli: 200 xss: 200 benign: 200 sqli: 200 xss: 200 --- [12:07:20] sign in Pulled: registry.revetment.io/charts/revetment:0.1.0-722813e98f02 Digest: sha256:99215f305ab9c0cbbdd390f53655f87e3fb01b6bfcda30ad2d9b6eb53fb06382 STATUS: deployed REVISION: 2 verify: 200 6 shadow would_block 941390 ARGS_GET:q 200 5 shadow would_block 942100 ARGS_GET:id 200 4 shadow would_block 941390 ARGS_GET:q 200 3 shadow would_block 942100 ARGS_GET:id 200 2 shadow would_block 941390 ARGS_GET:q 200 1 shadow would_block 942100 ARGS_GET:id 200 --- [12:07:48] blocking revetmentpolicy.revetment.io/echo patched Accepted=False reason=BlockingNotApproved promote to 1%: 201 envoyextensionpolicy.gateway.envoyproxy.io/echo-revetment condition met promote to 10%: 201 envoyextensionpolicy.gateway.envoyproxy.io/echo-revetment condition met promote to 100%: 201 envoyextensionpolicy.gateway.envoyproxy.io/echo-revetment condition met revetmentpolicy.revetment.io/echo condition met NAME MODE ROUTE AGE echo blocking echo 4m49s Accepted=True reason=Accepted attached to route echo (0 exception(s), 0 source rule(s), mode Blocking, stage 100%) benign: 200 sqli: 403 xss: 403 benign: 200 sqli: 403 xss: 403 benign: 200 sqli: 403 xss: 403 --- [12:08:42] done [exit 0, 85s] ### 2026-11-17T12:08:48Z $ [ "$(kubectl config current-context)" = "do-nyc3-revetment-guide-doks" ] || exit 1 kubectl delete -f demo.yaml --wait=true --timeout=180s helm uninstall revetment -n revetment-system --wait kubectl -n revetment-system delete pvc revetment-control-plane-data --wait=true --timeout=180s kubectl get pv doctl kubernetes cluster list-associated-resources revetment-guide-doks doctl kubernetes cluster delete revetment-guide-doks --dangerous --force doctl compute volume delete 24092528-e264-11f1-bc06-aa028a253852 --force && echo "deleted run-1 orphan volume" namespace "demo" deleted deployment.apps "echo" deleted from demo namespace service "echo" deleted from demo namespace gateway.gateway.networking.k8s.io "demo" deleted from demo namespace httproute.gateway.networking.k8s.io "echo" deleted from demo namespace These resources were kept due to the resource policy: [PersistentVolumeClaim] revetment-control-plane-data release "revetment" uninstalled persistentvolumeclaim "revetment-control-plane-data" deleted from revetment-system namespace NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS VOLUMEATTRIBUTESCLASS REASON AGE pvc-5942b7e4-99ab-44bf-a087-8fbe69cf1a05 1Gi RWO Delete Released revetment-system/revetment-control-plane-data do-block-storage 2m50s Volumes Volume Snapshots Load Balancers [49ddc7a7-e27f-11f1-87e2-5ebb0db6c40a] [] [] Notice: Cluster deleted, removing credentials Notice: Removing cluster credentials from kubeconfig file found in "~/.kube/config" Notice: The removed cluster was set as the current context in kubectl. Run `kubectl config get-contexts` to see a list of other contexts you can use, and `kubectl config set-context` to specify a new one. deleted run-1 orphan volume [exit 0, 20s] ### 2026-11-17T12:18:14Z final teardown proof == DO: clusters Name ID Status tabor-cluster 7dc99f7c-e0b7-4402-81ae-0e9a1fedcd82 running == DO: load balancers (pre-existing tabor LBs 4d345fa5, 8586560e expected) ID Name Status 4d345fa5-b45a-486b-b5a3-f0a0a6d3506a ab821898c49c14625b454902f8d594d6 active 8586560e-838d-49eb-9035-c7a1163ffa58 a9f759556fcd043c7878f8fe4c355e64 active == DO: volumes NOT tagged to tabor-cluster 7dc99f7c (mx1-mail is pre-existing) ID Name Tags ba519fc5-b3c8-11f1-accf-528efcfe0fec mx1-mail == DO: droplets tagged revetment-guide-test ID Name == DO: exploratory/clean-run PVC volumes Error: GET https://api.digitalocean.com/v2/volumes/24092528-e264-11f1-bc06-aa028a253852: 404 (request "4a0a3a6a-4dcd-43ab-8b36-648b6b3c8ec1") failed to get volume: not found Error: GET https://api.digitalocean.com/v2/volumes/49ddc7a7-e27f-11f1-87e2-5ebb0db6c40a: 404 (request "e359dd34-9519-403e-b318-14c6f7a0d917") failed to get volume: not found == AWS: EKS clusters (us-east-1) == AWS: CFN stack Type: Sender == AWS: VPC aws: [ERROR]: An error occurred (InvalidVpcID.NotFound) when calling the DescribeVpcs operation: The vpc ID 'vpc-0b4ec54f8cac608b1' does not exist == AWS: classic + v2 load balancers in that VPC == AWS: EBS volumes for the cluster aws: [ERROR]: An error occurred (InvalidVolume.NotFound) when calling the DescribeVolumes operation: The volume 'vol-052d50a1b7310de09' does not exist. == AWS: instances tagged project=revetment-guide-test or in nodegroup == AWS: Elastic IPs / ENIs in VPC == AWS: IAM roles revetment-guide-* == AWS: tagged resources project=revetment-guide-test == GCP: projects revetment-guide* == kubectl default context (must be unchanged) do-nyc3-tabor-cluster