Public | Automated Build

Last pushed: a year ago
Short Description
Creates a Kubernetes coreos config drive iso
Full Description

k8s-config-drive

Create a Kubernetes coreos config drive

# The gist of the call.
tar-stream-source | docker run -i lakowske/k8s-config-drive > config-drive.iso

This is the basis, you also need to feed in a tar stream. For example, tar -cf - ./my-configs will stream my-configs directory to stdout. Pipe this stream to lakowske/k8s-config-drive instead.

Works well with lakowske/k8s-keys.

name value
NODE_TYPE <controller or worker>
HOSTNAME hostname of coreos node
SSHKEY a public key used to login to node -e SSHKEY=$(cat ~/.ssh/id_rsa.pub)
NAME name of node in etcd cluster
ADVERTISE_CLIENT_URLS http://192.168.11.100:2379
INITIAL_ADVERTISE_PEER_URLS http://192.168.11.100:2380
TOKEN discovery token (see token url at https://discovery.etcd.io/new?size=3)
LISTEN_PEER_URLS http://192.168.11.100:2380
LISTEN_CLIENT_URLS http://0.0.0.0:2379
ADVERTISE_IP 192.168.11.100
ETCD_ENDPOINTS http://ip:port
CONTROLLER_ENDPOINT https://192.168.11.100:2379
Docker Pull Command
Owner
lakowske
Source Repository