Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s init #5

Open
david-gwa opened this issue Jul 10, 2019 · 1 comment
Open

k8s init #5

david-gwa opened this issue Jul 10, 2019 · 1 comment

Comments

@david-gwa
Copy link

david-gwa commented Jul 10, 2019

netstat -lnt

netstat tells which port is running, and only these are listened
curl will send a http/tcp request to these ports that are running

root@ubuntu:~# telnet localhost 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

root@ubuntu:/etc/kubernetes# curl 192.168.0.1:6443
curl: (7) Failed to connect to 192.168.0.1 port 6443: Connection refused

root@ubuntu:/etc/kubernetes# kubeadm config view
Get https://192.168.0.1:6443/api/v1/namespaces/kube-system/configmaps/kubeadm-config: dial tcp 192.168.0.1:6443: connect: connection refused

Kubernetes API Server

  • how to set the ip address for API server
  • how to connect to API server
@ZJLi2013
Copy link
Owner

ZJLi2013 commented Jul 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants