fix dharma startup: allow neuron-daemon ingress from neuron-prod namespace
The default-deny-all NetworkPolicy was blocking dharma from reaching neuron-daemon port 7750 (event queue / engram endpoint). Add an explicit ingress policy for neuron-daemon that allows traffic from the neuron-prod namespace, so dharma and other internal services can connect at startup.
This commit is contained in:
@@ -78,6 +78,27 @@ spec:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: kube-system
|
||||
---
|
||||
# ── neuron-daemon: accept from neuron-prod namespace (dharma, mcp, etc.) ─────
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: allow-daemon-ingress
|
||||
namespace: neuron-prod
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app: neuron-daemon
|
||||
policyTypes:
|
||||
- Ingress
|
||||
ingress:
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: neuron-prod
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: kube-system
|
||||
---
|
||||
# ── Egress: all prod pods may reach platform (postgres/redis), vault,
|
||||
# monitoring (alloy OTLP), kube-dns, and the internet (external APIs) ─
|
||||
apiVersion: networking.k8s.io/v1
|
||||
|
||||
Reference in New Issue
Block a user