Comments (7)
Thanks a lot @hectorj2f, the error was i didn't consider the rest of associated quotas (default values) as you said.
ThankU very much!
from dcos-kubernetes-quickstart.
are you trying to update the currently running kubernetes service?
from dcos-kubernetes-quickstart.
did you use dcos kubernetes update --options=new_options.json
?
https://docs.mesosphere.com/services/kubernetes/1.0.3-1.9.7/upgrade/
from dcos-kubernetes-quickstart.
@engapa The private agents of type n1-standard-8
with 8 available cpus won't be able to allocate all the components in these 3 private agents. There aren't enough cpu resources.
from dcos-kubernetes-quickstart.
More information about it:
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
kube-node-0-kubelet.kubernetes.mesos Ready <none> 1m v1.9.7
kube-node-1-kubelet.kubernetes.mesos Ready <none> 1m v1.9.7
kube-node-2-kubelet.kubernetes.mesos Ready <none> 1m v1.9.7
kube-node-public-0-kubelet.kubernetes.mesos Ready <none> 57s v1.9.7
$ kubectl describe node
...
Capacity:
cpu: 8
memory: 30880100Ki
pods: 80
Allocatable:
cpu: 2
memory: 2000Mi
pods: 80
$ dcos kubernetes update --options=resources/options.json.gcp
The following differences were detected between service configurations (CHANGED, CURRENT):
{
"kubernetes": {
"high_availability": true,
"node_count": 3,
"public_node_count": 1,
"reserved_resources": {
- "kube_cpus": 2,
+ "kube_cpus": 5,
}
}
}
The components of the cluster will be updated according to the changes in the
options file [/Users/engapa/git/dcos-kubernetes-quickstart/resources/options.json.gcp].
Updating these components means the Kubernetes cluster may experience some
downtime or, in the worst-case scenario, cease to function properly.
Before updating proceed cautiously and always backup your data.
This operation is long-running and has to run to completion.
Are you sure you want to continue? [yes/no] yes
2018/05/08 13:48:34 starting update process...
from dcos-kubernetes-quickstart.
@engapa There isn't space in those 3 private agents to allocate all the components:
3 * kube-node cpus: 5 + 1;
3 * kube-proxy: 0.1;
3 * kube-coredns: 0.1;
3 * etcd: 0.5;
3 * apiserver: 0.5
3 * controller: 0.5
3 * scheduler: 0.5
1 * kubernetes: 1
from dcos-kubernetes-quickstart.
Thank you all!
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
- 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.