Comments (7)
@wyflimago Why do you need to install flannel ?
from dcos-kubernetes-quickstart.
Hi @wyfligamo! Currently, we support only the DC/OS overlay. We have been trying some other overlay networks, like Calico, but it will need more work, and so we'll leave it to post-GA.
Adding some more details, in this particular case, the error is:
E0201 02:24:57.279419 1 main.go:279] Error registering network: failed to acquire lease: node "kube-node-1-kubelet.kubernetes.mesos" pod cidr not assigned
This happens because we do not enable the--allocate-node-cidrs
flag for thekube-controller-manager
.
from dcos-kubernetes-quickstart.
@wyfligamo feel free to comment but I'm going to close this as it's no bug. Thank you for reporting.
from dcos-kubernetes-quickstart.
@hectorj2f my kube-dns pod status is CrashLoopBackOff and kubedns container log says
E0202 01:21:34.174837 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:147: Failed to list *v1.Endpoints: Get https://10.100.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.100.0.1:443: i/o timeout E0202 01:21:34.175333 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:150: Failed to list *v1.Service: Get https://10.100.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.100.0.1:443: i/o timeout
I can't find any other pods except heapster
[root@localhost ~]# kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube-system heapster-7d7b7f4f87-brp2l 1/1 Running 0 21h kube-system kube-dns-6dc79b7c4-dbw5g 1/3 CrashLoopBackOff 506 21h
so I wonder if I should add a network plugin like flannel
from dcos-kubernetes-quickstart.
@pires I don't understand about DC/OS overlay, is that working as a kubernetes pods or a dcos/k8s service?
My k8s only start kube-dns and heapster pods, is that right? they can't communicate with api service, but I can get api response with browser outside the cluster
[root@localhost ~]# kubectl logs --namespace=kube-system heapster-7d7b7f4f87-brp2l E0202 05:26:09.524966 1 reflector.go:190] k8s.io/heapster/metrics/heapster.go:322: Failed to list *v1.Pod: Get https://kubernetes.default/api/v1/pods?resourceVersion=0: dial tcp: i/o timeout
[root@localhost ~]# kubectl logs --namespace=kube-system kube-dns-6dc79b7c4-dbw5g kubedns E0202 05:23:47.244936 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:150: Failed to list *v1.Service: Get https://10.100.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.100.0.1:443: i/o timeout E0202 05:23:47.244981 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:147: Failed to list *v1.Endpoints: Get https://10.100.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.100.0.1:443: i/o timeout I0202 05:23:47.742922 1 dns.go:173] Waiting for services and endpoints to be initialized from apiserver... I0202 05:23:48.242824 1 dns.go:173] Waiting for services and endpoints to be initialized from apiserver... I0202 05:23:48.742850 1 dns.go:173] Waiting for services and endpoints to be initialized from apiserver... I0202 05:23:49.242879 1 dns.go:173] Waiting for services and endpoints to be initialized from apiserver...
from dcos-kubernetes-quickstart.
@wyfligamo https://docs.mesosphere.com/1.10/networking/virtual-networks/#dcos-overlay
from dcos-kubernetes-quickstart.
Since this issue was initially about running flannel and that has been clarified to the user, I am moving the real issue to a new issue #58. Let's continue there.
from dcos-kubernetes-quickstart.
Related Issues (20)
- Failed to Write to cpu.cfs_quota_us HOT 2
- Unable to setup Kubectl command in DCOS Master HOT 5
- Unable to delpoy Application on Kubernetes running on DCOS HOT 5
- etcd is unable to start on DC/OS 1.12.1 HOT 1
- authentication issue HOT 7
- Not able to access host binded volume in Kubernetes
- kubernetes CLI package error HOT 1
- Is it possible to convert same quickstart using API call rather than DCOS CLI ?
- "Bad CPU type in executable" with macOS Catalina HOT 3
- Access kubernetes nodeport service via marathon-lb?
- error during deploy at dcos_generate_config.sh
- kubernetes-dashboard not found HOT 6
- Cloud Provider option makes kube-controller-manager to fail HOT 2
- Unable to update config of kubernetes service HOT 7
- Kubernetes installation stuck in IN_PROGRESS HOT 8
- Support 1.1.0-1.10.3 or newer HOT 1
- CLI-related make goals are confusing HOT 1
- "make deploy" fails HOT 7
- Drop SSH tunnel HOT 1
- Pod cannot call it's own service HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcos-kubernetes-quickstart.