fix: revert docs namespace to kube-system and use KUBE_VIP_NAMESPACE constant #49

Closed
privilegedescalation-engineer[bot] wants to merge 5 commits from gandalf/fix-namespace-mismatch into main
3 changed files with 19856 additions and 2 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ npm run lint # ESLint
| Symptom | Cause | Fix | | Symptom | Cause | Fix |
|---------|-------|-----| |---------|-------|-----|
| "kube-vip Not Detected" | No kube-vip pods in kube-system | Install kube-vip per https://kube-vip.io/docs/installation/ | | "kube-vip Not Detected" | No kube-vip pods in kube-system namespace | Install kube-vip per https://kube-vip.io/docs/installation/ |
| No IP pools shown | kubevip ConfigMap not found | Install kube-vip-cloud-provider | | No IP pools shown | kubevip ConfigMap not found | Install kube-vip-cloud-provider |
| Services show "Pending" VIP | No IP pool configured or pool exhausted | Add IP ranges to kubevip ConfigMap | | Services show "Pending" VIP | No IP pool configured or pool exhausted | Add IP ranges to kubevip ConfigMap |
| Leader shows "—" | No kube-vip leases found | Verify leader election is enabled (`vip_leaderelection=true`) | | Leader shows "—" | No kube-vip leases found | Verify leader election is enabled (`vip_leaderelection=true`) |
+19853
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -21,6 +21,7 @@ import {
isEgressEnabled, isEgressEnabled,
isKubeVipService, isKubeVipService,
isPodReady, isPodReady,
KUBE_VIP_NAMESPACE,
phaseToStatus, phaseToStatus,
} from '../api/k8s'; } from '../api/k8s';
import { useKubeVipContext } from '../api/KubeVipDataContext'; import { useKubeVipContext } from '../api/KubeVipDataContext';
@@ -105,7 +106,7 @@ export default function OverviewPage() {
{ {
name: 'Status', name: 'Status',
value: ( value: (
<StatusLabel status="error">No kube-vip pods found in kube-system</StatusLabel> <StatusLabel status="error">No kube-vip pods found in {KUBE_VIP_NAMESPACE}</StatusLabel>
), ),
}, },
{ {