kubespray/docs/coreos.md

21 lines
761 B
Markdown
Raw Normal View History

2016-07-04 20:13:18 +08:00
CoreOS bootstrap
===============
2017-06-24 00:35:10 +08:00
Example with **kubespray-cli**:
2016-07-04 20:13:18 +08:00
```
2017-06-24 00:35:10 +08:00
kubespray deploy --gce --coreos
2016-07-04 20:13:18 +08:00
```
Or with Ansible:
Before running the cluster playbook you must satisfy the following requirements:
General CoreOS Pre-Installation Notes:
- You should set the bootstrap_os variable to `coreos`
- Ensure that the bin_dir is set to `/opt/bin`
- ansible_python_interpreter should be `/opt/bin/python`. This will be laid down by the bootstrap task.
- The default resolvconf_mode setting of `docker_dns` **does not** work for CoreOS. This is because we do not edit the systemd service file for docker on CoreOS nodes. Instead, just use the `host_resolvconf` mode. It should work out of the box.
2016-07-04 20:13:18 +08:00
Then you can proceed to [cluster deployment](#run-deployment)