Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version: minikube 1.16
Cloud being used: local test vm
Installation method: Per minikube project documentation specs. Since I am already running in a vm the documentation I am starting minibus with -driver=none.
Host OS: Centos 7.9
CNI and version: Have no idea how to find out
CRI and version: See above
[root@minikube ~]# k get services --all-namespaces
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 29h
kube-system kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP,9153/TCP 29h
kubernetes-dashboard dashboard-metrics-scraper ClusterIP 10.104.157.247 <none> 8000/TCP 29h
kubernetes-dashboard kubernetes-dashboard ClusterIP 10.104.6.179 <none> 80/TCP 29h
sc4s sc4s LoadBalancer 10.98.183.111 <pending> 514:30819/TCP 26h
sc4s sc4s-lb LoadBalancer 10.105.230.238 <pending> 514:31011/TCP 25h
[root@minikube ~]# k version -o json
{
"clientVersion": {
"major": "1",
"minor": "20",
"gitVersion": "v1.20.2",
"gitCommit": "faecb196815e248d3ecfb03c680a4507229c2a56",
"gitTreeState": "clean",
"buildDate": "2021-01-13T13:28:09Z",
"goVersion": "go1.15.5",
"compiler": "gc",
"platform": "linux/amd64"
},
"serverVersion": {
"major": "1",
"minor": "20",
"gitVersion": "v1.20.0",
"gitCommit": "af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38",
"gitTreeState": "clean",
"buildDate": "2020-12-08T17:51:19Z",
"goVersion": "go1.15.5",
"compiler": "gc",
"platform": "linux/amd64"
}
}
I am struggling to understand how to access my service from the outside of Kubernetes?!?!? What is the network address? I understand it creates dynamic IP but how does the rest of the net identify and connect to it? Its is not in the networks known routing tables, just in the guest host!?!?! Most of this makes sense (and is very cool) but cannot wrap my head around networking and how to make my service avail from outside the cluster with the virtual ip?
Any help is much appreciated as I am starting to work with a product that runs on k8s and I am sooo close to getting it up and running
Thank you in advance.
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.