mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 11:36:50 +00:00
12 lines
481 B
Bash
Executable File
12 lines
481 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Post-sync fix for scylla-manager: the chart-created NetworkPolicy
|
|
# blocks cross-node ClusterIP traffic due to a CNI/kube-proxy DNAT
|
|
# interaction. Delete it so the manager API can reach its backend
|
|
# ScyllaCluster via the per-pod service from any node.
|
|
set -euo pipefail
|
|
|
|
NS=scylla-manager
|
|
|
|
echo "Removing NetworkPolicy that blocks cross-node ClusterIP traffic..."
|
|
kubectl -n "${NS}" delete networkpolicy scylla-manager-to-scylla-pod --ignore-not-found=true
|