Comments (8)
@uditha-atukorala can you try to search for any FAIL
offer in the output of https://<CLUSTER_IP>/service/kubernetes/v1/debug/offers
? I believe it is related to lack of enough available resources
from dcos-kubernetes-quickstart.
@hectorj2f, thanks for the pointers. It does look like it is not having enough resources.
e.g.
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: cpus, value: type: SCALAR scalar { value: 3.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(VolumeEvaluationStage): Offer failed to satisfy: name: disk, value: type: SCALAR scalar { value: 10240.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal, type: 'ROOT', container-path: 'var' with resourceId: Optional.empty
I'll take a look.
from dcos-kubernetes-quickstart.
No problem. Closing this issue!
from dcos-kubernetes-quickstart.
Hey @hectorj2f ,
I came across the same issue, Could you please let me know the recommended resources that need to be configured for kube-node such that the kubernetes dashboard works. I tried to scale my resource both horizontally and vertically but still didn't find any luck.I'm trying to install using dcos-vagrant on my local machine.
Thanks in advance
from dcos-kubernetes-quickstart.
Here are the logs from above mentioned url,
FAIL(VolumeEvaluationStage): Offer failed to satisfy: name: disk, value: type: SCALAR scalar { value: 10240.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal, type: 'ROOT', container-path: 'var' with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: cpus, value: type: SCALAR scalar { value: 0.1 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: mem, value: type: SCALAR scalar { value: 32.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: cpus, value: type: SCALAR scalar { value: 0.1 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: mem, value: type: SCALAR scalar { value: 32.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: disk, value: type: SCALAR scalar { value: 256.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
PASS(LaunchEvaluationStage): Added launch information to offer requirement
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: cpus, value: type: SCALAR scalar { value: 0.1 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: mem, value: type: SCALAR scalar { value: 512.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
And also dcos kubernetes plan status deploy output:
deploy (serial strategy) (IN_PROGRESS)
├─ etcd (serial strategy) (COMPLETE)
│ └─ etcd-0:[peer] (COMPLETE)
├─ apiserver (parallel strategy) (COMPLETE)
│ └─ kube-apiserver-0:[instance] (COMPLETE)
├─ mandatory-addons (serial strategy) (COMPLETE)
│ ├─ mandatory-addons-0:[additional-cluster-role-bindings] (COMPLETE)
│ ├─ mandatory-addons-0:[kube-dns] (COMPLETE)
│ ├─ mandatory-addons-0:[metrics-server] (COMPLETE)
│ ├─ mandatory-addons-0:[dashboard] (COMPLETE)
│ └─ mandatory-addons-0:[ark] (COMPLETE)
├─ kubernetes-api-proxy (parallel strategy) (COMPLETE)
│ └─ kubernetes-api-proxy-0:[install] (COMPLETE)
├─ controller-manager (parallel strategy) (COMPLETE)
│ └─ kube-controller-manager-0:[instance] (COMPLETE)
├─ scheduler (parallel strategy) (COMPLETE)
│ └─ kube-scheduler-0:[instance] (COMPLETE)
├─ node (parallel strategy) (IN_PROGRESS)
│ └─ kube-node-0:[kube-proxy, coredns, kubelet] (PREPARED)
└─ public-node (parallel strategy) (COMPLETE)
from dcos-kubernetes-quickstart.
@uditha-atukorala May be you can guide me on this since you already have a solution,
from dcos-kubernetes-quickstart.
@ravinani02 Did you have a look at the docs https://github.com/mesosphere/dcos-kubernetes/blob/master/docs/package/install.md#prerequisites ? Based on the FAIL
logs, you shared here, it seems there aren't enough available resources in your cluster.
from dcos-kubernetes-quickstart.
@ravinani02, my issue was not having enough agent node resources. I ended up upgrading my nodes but you can also try scaling the k8s cluster down.
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
- 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.