Scott Dodson 9c943e9f29 Merge pull request #7765 from abn/network-manager-config-slice il y a 6 ans
..
defaults f499e9d94d Add bool filter to all instances of openshift_use_crio il y a 6 ans
files e2a4f19ead Support tabs in resolv.conf il y a 6 ans
handlers 84896bf23b Remove non-bootstrap code il y a 7 ans
meta df6f87c18b Fix references to openshift_master_api_port il y a 7 ans
tasks 9c943e9f29 Merge pull request #7765 from abn/network-manager-config-slice il y a 6 ans
templates e2613bc820 Merge pull request #9130 from mazzystr/master il y a 6 ans
README.md d67f7c540f Remove alternative oreg vars and update logic il y a 6 ans

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
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