google compute engine - kubernetes installation on coreOS -


i setting kubernetes on coreos, on gce. however, not going through due sdk dependency on python. downloaded python , tried installing it, looking c compiler. unfortunately couldn't one. this? below link following set https://github.com/rimusz/coreos-multi-node-k8s-gce/blob/master/readme.md

you're better off using cloud-init file curls, installs , runs each binary kubernetes systemd unit. each like:

- name: kube-apiserver.service   command: start   content: |     [unit]     description=kubernetes api server     documentation=https://github.com/googlecloudplatform/kubernetes     requires=etcd2.service setup-network-environment.service     after=etcd2.service setup-network-environment.service     [service]     environmentfile=/etc/network-environment     execstartpre=-/usr/bin/mkdir -p /opt/bin     execstartpre=/usr/bin/curl -l -o /opt/bin/kube-apiserver -z /opt/bin/kube-apiserver https://storage.googleapis.com/kubernetes-release/release/v0.18.2/bin/linux/amd64/kube-apiserver     execstartpre=/usr/bin/chmod +x /opt/bin/kube-apiserver     execstartpre=/usr/bin/curl -l -o /opt/bin/kubectl -z /opt/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v0.18.2/bin/linux/amd64/kubectl     execstartpre=/usr/bin/chmod 755 /opt/bin/kubectl     execstart=/opt/bin/kube-apiserver --portal_net=10.244.0.0/16 --etcd_servers=http://127.0.0.1:4001 --logtostderr=true --insecure_port=8080 --insecure_bind_address=0.0.0.0     restart=always     restartsec=10 

and similar each other binary. make sure set them follow chain of dependencies. way binaries compiled, compiling coreos isn't exactly designed for.


Comments

Popular posts from this blog

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -