Hey, I used K8S for quite some time and am now doing the switch over to K3S for my home.
I am struggling since days with networking issues. At first, MariaDB could not contact a certain domain (context deadline exceeded)
Now paperless cannot connect to a postgres database (connection timeout expired)
I checked with busybox, that domains resolve. Also tried with <namespace>.svc / .cluster.local and directly with the IP
apiVersion:
networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-all-ingress
namespace: storage
spec:
podSelector: {}
ingress:
- {}
policyTypes:
- Ingress
I also created a "all" networkPolicy. But whatever I try and with every container they do not seem to be able to communicate.
I disabled firewall completely.
kube-system coredns-65577974f-clktm 1/1 Running 0 10m
kube-system csi-nfs-controller-5bf646f7cc-c4r46 5/5 Running 0 10m
kube-system csi-nfs-node-gtp7q 3/3 Running 0 10m
kube-system csi-nfs-node-wrd6v 3/3 Running 0 10m
kube-system local-path-provisioner-774c6665dc-vrcqm 1/1 Running 0 10m
kube-system metrics-server-6f4c6675d5-6vc9l 1/1 Running 0 10m
kube-system svclb-pg-cluster-postgresql-3c437cf4-96h9g 1/1 Running 0 10m
kube-system svclb-pg-cluster-postgresql-3c437cf4-dt7gm 1/1 Running 0 10m
kube-system svclb-traefik-9a5113ec-68kdc 2/2 Running 0 10m
kube-system svclb-traefik-9a5113ec-qh82g 2/2 Running 0 10m
kube-system traefik-c98fdf6fb-79gh5 1/1 Running 0 10m
With KubeSystem everything runs correctly.
I tried deleting every pod and restarting the whole cluster.
Any idead? Help would be greatly appreciated. Thank you !!