Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ spec:
# Component mesh within the argocd namespace (repo-server :8081, redis :6379, ...).
- fromEndpoints:
- {}
# Watch replies from the apiserver land on ephemeral ports. Conntrack covers them while the entry
# lives; once it ages out mid-stream the retransmit arrives as a new flow with no rule to match.
- fromEntities: [kube-apiserver]
egress:
# DNS.
- toEndpoints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ spec:
app.kubernetes.io/name: longhorn-replica-affinity
app.kubernetes.io/component: webhook
ingress:
# Without this every mutation times out, and failurePolicy Ignore makes that silent.
- fromEntities: [kube-apiserver]
# Without this every mutation times out, and failurePolicy Ignore makes that silent. The call arrives
# SNATed to the node that hosts the apiserver, so the identity is remote-node and kube-apiserver alone
# never matches the SYN.
- fromEntities: [kube-apiserver, remote-node]
toPorts:
- ports:
- {port: "8443", protocol: TCP}
# Apiserver replies on ephemeral ports, for the egress below. Conntrack covers them until the entry
# ages out mid-stream, and the retransmit then arrives as a new flow with no rule to match.
- fromEntities: [kube-apiserver]
- fromEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: monitoring
Expand Down Expand Up @@ -53,6 +58,9 @@ spec:
toPorts:
- ports:
- {port: "9100", protocol: TCP}
# Apiserver replies on ephemeral ports, for the egress below. Conntrack covers them until the entry
# ages out mid-stream, and the retransmit then arrives as a new flow with no rule to match.
- fromEntities: [kube-apiserver]
egress:
- toEndpoints:
- matchLabels:
Expand Down