Git Product home page Git Product logo

Comments (7)

engapa avatar engapa commented on August 23, 2024 1

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.

rimusz avatar rimusz commented on August 23, 2024

are you trying to update the currently running kubernetes service?

from dcos-kubernetes-quickstart.

rimusz avatar rimusz commented on August 23, 2024

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.

hectorj2f avatar hectorj2f commented on August 23, 2024

@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.

engapa avatar engapa commented on August 23, 2024

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.

hectorj2f avatar hectorj2f commented on August 23, 2024

@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.

pires avatar pires commented on August 23, 2024

Thank you all!

from dcos-kubernetes-quickstart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.