$ kubectl -n production describe svc/mail-service
Name: mail-service
Namespace: production
Labels: support-app=true
Annotations: <none>
Selector: app=mail,environment=production
Type: NodePort
IP: 10.3.0.46
Port: smtp 25/TCP
NodePort: smtp 30025/TCP
Endpoints:
10.2.38.3:25Port: imaps 993/TCP
NodePort: imaps 30993/TCP
Endpoints:
10.2.38.3:993Port: mailsend 587/TCP
NodePort: mailsend 30587/TCP
Endpoints:
10.2.38.3:587Session Affinity: None
Events: <none>
#====================: On the node that is running the pod
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
KUBE-SERVICES all -- anywhere anywhere /* kubernetes service portals */
KUBE-FIREWALL all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
DOCKER-ISOLATION all -- anywhere anywhere
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
KUBE-SERVICES all -- anywhere anywhere /* kubernetes service portals */
KUBE-FIREWALL all -- anywhere anywhere
Chain DOCKER (1 references)
target prot opt source destination
Chain DOCKER-ISOLATION (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain KUBE-FIREWALL (2 references)
target prot opt source destination
DROP all -- anywhere anywhere /* kubernetes firewall for dropping marked packets */ mark match 0x8000/0x8000
Chain KUBE-SERVICES (2 references)
target prot opt source destination
I will be asking the netadmin to check iptables but I am suspicious about Container Linux overriding any settings I may change.