Vadim Rutkovsky 0c7b5ae598 Gather master facts to make sure cluster_hostname gets appended to no_proxy list on nodes vor 6 Jahren
..
defaults c314c65dba Move os_sdn_network_plugin_name into openshift_facts vor 6 Jahren
files 0d18aa61e3 Fix to pass quoted unsafe strings (with characters like *,<,%) correctly to kubelet vor 6 Jahren
handlers 84896bf23b Remove non-bootstrap code vor 7 Jahren
meta df6f87c18b Fix references to openshift_master_api_port vor 7 Jahren
tasks 0c7b5ae598 Gather master facts to make sure cluster_hostname gets appended to no_proxy list on nodes vor 6 Jahren
templates b603f752a1 Fix openshift_node_config_name in bootstrap.yml. vor 6 Jahren
README.md 8eedacf0d1 Add possibility to enable Persistent Local Storage using Ansible vor 7 Jahren

README.md

OpenShift Node

Node service installation

Requirements

  • Ansible 2.2
  • One or more Master servers
  • A RHEL 7.1 host pre-configured with access to the rhel-7-server-rpms, rhel-7-server-extras-rpms, and rhel-7-server-ose-3.0-rpms repos

Role Variables

From this role:

Name Default value
openshift_node_start_options UNDEF (Optional) Options to pass to node start cmdline
oreg_url UNDEF (Optional) Default docker registry to use
oreg_url_node UNDEF (Optional) Default docker registry to use, specifically on the node
openshift_persistentlocalstorage_enabled false Enable the persistent local storage

openshift_node_start_options can be used for passing any start node option, e.g.:

--enable=kubelet,plugins

Which would have a node running without kube-proxy and dns.

Dependencies

Example Playbook

Notes

Currently we support re-labeling nodes but we don't re-schedule running pods nor remove existing labels. That means you will have to trigger the re-schedulling manually. To re-schedule your pods, just follow the steps below:

oc adm manage-node --schedulable=false ${NODE} oc adm manage-node --drain ${NODE} oc adm manage-node --schedulable=true ${NODE} `

If you are using version less than 1.5/3.5 you must replace --drain with --evacuate.

TODO

License

Apache License, Version 2.0

Author Information

TODO