Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version: 1.17.2
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: ansible kubeadm
Host OS: CentOS Linux release 8.1.1911 (Core)
CNI and version: calico 3.11
CRI and version: Docker version 19.03.5, build 633a0ea
Hello, I have install a k8s cluster on bare metal server,
[root@kub-master kubernetes]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
kub-master Ready master 8d v1.17.2
kub-slave1 Ready 8d v1.17.2
kub-slave2 Ready 8d v1.17.2
[root@kub-master kubernetes]# kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE default jenkins-77f5859cd7-h79fq 1/1 Running 0 23h default nfs-client-provisioner-fb569d7d9-js4lj 1/1 Running 1 42h default nginx-deployment1-669cd46c9b-d9pl6 1/1 Running 0 24h grafana grafanas-d86d9998-ps2jc 1/1 Running 1 42h kube-system calico-kube-controllers-5b644bc49c-djvvw 1/1 Running 0 25h kube-system calico-node-dtkld 1/1 Running 0 25h kube-system calico-node-jkq75 1/1 Running 0 25h kube-system calico-node-l4drx 1/1 Running 0 25h kube-system coredns-664577858c-5kccv 1/1 Running 1 42h kube-system coredns-664577858c-d2njb 1/1 Running 4 42h kube-system coredns-664577858c-jbjl5 1/1 Running 3 42h kube-system etcd-kub-master 1/1 Running 3 8d kube-system kube-apiserver-kub-master 1/1 Running 6 8d kube-system kube-controller-manager-kub-master 1/1 Running 3 8d kube-system kube-proxy-ghzg5 1/1 Running 0 19h kube-system kube-proxy-gldbl 1/1 Running 0 19h kube-system kube-proxy-mnjfd 1/1 Running 0 19h kube-system kube-scheduler-kub-master 1/1 Running 3 8d kube-system traefik-85d4f45799-mr8xv 1/1 Running 0 35m kubernetes-dashboard dashboard-metrics-scraper-7b8b58dc8b-kbzms 1/1 Running 3 42h kubernetes-dashboard kubernetes-dashboard-7867cbccbb-ltvs8 1/1 Running 3 42h prometheus prometheus-alertmanager-84bbc87464-5qr85 2/2 Running 2 42h prometheus prometheus-kube-state-metrics-59bb448977-4h928 1/1 Running 1 42h prometheus prometheus-node-exporter-78pzd 1/1 Running 2 42h prometheus prometheus-node-exporter-lwdl8 1/1 Running 1 42h prometheus prometheus-pushgateway-646d94ffdc-kzp2t 1/1 Running 1 42h prometheus prometheus-server-c9977fd86-57428 2/2 Running 2 42h
I can reach the services using NodePort, but I have configured traefik ingress controler and the ingress properly but it’s not posible to reach by 80.
`[root@kub-master kubernetes]# netstat -lptun
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:9099 0.0.0.0:* LISTEN 31993/calico-node
tcp 0 0 192.168.0.32:2379 0.0.0.0:* LISTEN 5376/etcd
tcp 0 0 127.0.0.1:2379 0.0.0.0:* LISTEN 5376/etcd
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 2540/systemd-resolv
tcp 0 0 192.168.0.32:2380 0.0.0.0:* LISTEN 5376/etcd
tcp 0 0 127.0.0.1:2381 0.0.0.0:* LISTEN 5376/etcd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd
tcp 0 0 127.0.0.1:10257 0.0.0.0:* LISTEN 4094/kube-controlle
tcp 0 0 0.0.0.0:179 0.0.0.0:* LISTEN 32107/bird
tcp 0 0 127.0.0.1:10259 0.0.0.0:* LISTEN 5304/kube-scheduler
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1682/sshd
tcp 0 0 127.0.0.1:41751 0.0.0.0:* LISTEN 4548/kubelet
tcp 0 0 127.0.0.1:10248 0.0.0.0:* LISTEN 4548/kubelet
tcp 0 0 127.0.0.1:10249 0.0.0.0:* LISTEN 14549/kube-proxy
tcp6 0 0 :::10250 :::* LISTEN 4548/kubelet
tcp6 0 0 :::10251 :::* LISTEN 5304/kube-scheduler
tcp6 0 0 :::6443 :::* LISTEN 5248/kube-apiserver
tcp6 0 0 :::5355 :::* LISTEN 2540/systemd-resolv
tcp6 0 0 :::10252 :::* LISTEN 4094/kube-controlle
tcp6 0 0 :::32333 :::* LISTEN 14549/kube-proxy
tcp6 0 0 :::31791 :::* LISTEN 14549/kube-proxy
tcp6 0 0 :::111 :::* LISTEN 1/systemd
tcp6 0 0 :::30000 :::* LISTEN 14549/kube-proxy
tcp6 0 0 :::10256 :::* LISTEN 14549/kube-proxy
tcp6 0 0 :::22 :::* LISTEN 1682/sshd
tcp6 0 0 :::32222 :::* LISTEN 14549/kube-proxy
tcp6 0 0 :::32323 :::* LISTEN 14549/kube-proxy
tcp6 0 0 :::31524 :::* LISTEN 14549/kube-proxy
tcp6 0 0 :::31876 :::* LISTEN 14549/kube-proxy
udp 0 0 127.0.0.53:53 0.0.0.0:* 2540/systemd-resolv
udp 0 0 0.0.0.0:111 0.0.0.0:* 1/systemd
udp 0 0 127.0.0.1:323 0.0.0.0:* 1653/chronyd
udp 0 0 0.0.0.0:5355 0.0.0.0:* 2540/systemd-resolv
udp6 0 0 :::111 :::* 1/systemd
udp6 0 0 ::1:323 :::* 1653/chronyd
udp6 0 0 :::5355 :::* 2540/systemd-resolv> Blockquote`