Closed marvanto closed 5 years ago
@marvanto Kubernetes services are TCP / UDP only. That means commands like ping
which use ICMP won't work if you're targeting a Service IP address.
Try using a pod address to see if that works.
@caseydavenport thank you, you have made my day. I've checked telnet to service and it works, thank you again.
Sounds like things are resolved so I'm going to close this issue.
Cannot reach service network I have HA multi-master cluster (3 masters on VM in same subnet). I configured cluster with --pod-network-cidr "192.168.0.0/16" --service-cidr "172.20.0.0/16", master1 - 10.0.3.2, master2 - 10.0.3.3, master3 - 10.0.3.4.
traceroute from "web" container
part of calico.yaml
cni_network_config: |- { "name": "k8s-pod-network", "cniVersion": "0.3.1", "plugins": [ { "type": "calico", "log_level": "info", "datastore_type": "kubernetes", "nodename": "KUBERNETES_NODE_NAME", "mtu": __CNI_MTU__, "ipam": { "type": "calico-ipam" }, "policy": { "type": "k8s" }, "kubernetes": { "kubeconfig": "/etc/kubernetes/admin.conf" } }, { "type": "portmap", "snat": true, "capabilities": {"portMappings": true} } ] }
Expected Behavior
Expected routes to services
Current Behavior
Possible Solution
I tried some options wich you can see in config, no effect, now i'm stuck
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context
Your Environment