Create nodes using the kubernetes API -


i noticed there api available generating node/s using yaml/json.

so far attempts have failed however, get: 2015/07/17 16:07:54 http: proxy error: dial tcp xxx.xxx.xx.xxx:443: connection refused.

note using kubectl proxy access api: kubectl proxy --port=8080 &

i have managed create replication controllers , services using api, stuck on part. in attempt bypass api, have modified config-default.sh file in kubernetes/cluster/gce, , tried run using php. received following response: can't find gcloud in path. wish install google cloud sdk? [y/n]. dont receive error when run cluster/kube-up terminal.

can has done please assist?

update/edit

after playing around bit, , using this link, managed create node short period of time before deleted(or dissapeared).

it turns out created (abstract?) concept/service node, , kubernetes controller manager server took down after not finding resources allocated it?

i found link lavalamp, quote:

@abonas think k8s need run both ways: scenario a: user provisions node, calls post inform k8s of node existence. scenario b: user call post indicate desire node; node-manager contacts cloud provider allocate & provision new node. right a.

this post made in january year though, can officially comment if possible or not using tool available?

which api referring to? there's api node register cluster, apiserver won't spin new nodes you.

if running on gce / gke, can add new nodes cluster resizing managed instance group contains nodes.


Comments