feat(k01): replace strimzi kafka with redpanda
build-and-push-harbor / docker-build-push (push) Has been cancelled

This commit is contained in:
zetaloop
2026-05-06 11:03:23 +08:00
parent 1deb5dbdb2
commit 2a02b848ff
5 changed files with 92 additions and 108 deletions
+4 -6
View File
@@ -14,9 +14,8 @@ kubectl -n juwan delete cluster.postgresql.cnpg.io --all --wait=false 2>/dev/nul
kubectl -n juwan delete redisreplication --all --wait=false 2>/dev/null || true
kubectl -n juwan delete redissentinel --all --wait=false 2>/dev/null || true
kubectl -n juwan delete mongodbcommunity --all --wait=false 2>/dev/null || true
kubectl -n kafka delete kafkatopic --all --wait=false 2>/dev/null || true
kubectl -n kafka delete kafka --all --wait=false 2>/dev/null || true
kubectl -n kafka delete kafkanodepool --all --wait=false 2>/dev/null || true
kubectl -n redpanda delete topic --all --wait=false 2>/dev/null || true
kubectl -n redpanda delete redpanda --all --wait=false 2>/dev/null || true
echo network
kubectl delete -f "${K01_DIR}/infra/envoy.yaml" --ignore-not-found --wait=false
@@ -27,9 +26,8 @@ sleep 30
echo cleanup orphaned
kubectl -n juwan delete pod --all --force --grace-period=0 2>/dev/null || true
kubectl -n juwan delete pvc --all --wait=false 2>/dev/null || true
kubectl -n kafka delete pod -l strimzi.io/cluster=juwan-kafka --force --grace-period=0 2>/dev/null || true
kubectl -n kafka delete pvc -l strimzi.io/cluster=juwan-kafka --wait=false 2>/dev/null || true
kubectl -n redpanda delete pvc -l app.kubernetes.io/instance=juwan-kafka --wait=false 2>/dev/null || true
kubectl get pods,pvc -n juwan
kubectl get pods,pvc -n kafka
kubectl get pods,pvc -n redpanda
kubectl describe node | grep -A 6 Allocated