create cluster issues.sh
#!/bin/bash
create-cluster-issues.sh
Creates a realistic set of broken/misconfigured resources on a cluster
for use in MCP demo scenarios. Run cleanup-cluster-issues.sh to remove them.
set -e
echo "======================================================" echo " Creating demo cluster issues..." echo "======================================================"
-------------------------------------------------------
Issue 1: Pod with invalid image (ImagePullBackOff)
-------------------------------------------------------
echo "[1/7] Creating pod with bad image (ImagePullBackOff)..." kubectl apply -f - <