Sanjeev Rampal 58818a6af1 Combined (squashed) commit for all changes related to adding Contiv support into Openshift Ansible. This is the first (beta) release of Contiv with Openshift and is only supported for Openshift Origin + Bare metal deployments at the time of this commit. Please refer to the Openshift and Contiv official documentation for details of the level of support for different features and modes of operation. 8 years ago
..
defaults 0c7433838c Work towards determining openshift_version when unspecified. 8 years ago
handlers 5c24cf417b Cleanup ovs file and restart docker on every upgrade. 8 years ago
meta ab6ed9b280 Reorder node dnsmasq dependency s.t. networkmanager is restarted after firewall changes have been applied. 8 years ago
tasks ec7340eb70 Merge pull request #3332 from giuseppe/system-containers-ha 8 years ago
templates 58818a6af1 Combined (squashed) commit for all changes related to adding Contiv support into Openshift Ansible. This is the first (beta) release of Contiv with Openshift and is only supported for Openshift Origin + Bare metal deployments at the time of this commit. Please refer to the Openshift and Contiv official documentation for details of the level of support for different features and modes of operation. 8 years ago
vars e63ff886e7 node, vars/main.yml: define l_is_ha and l_is_same_version 8 years ago
README.md 699e895abc Add a fact to select --evacuate or --drain based on your OCP version 8 years ago

README.md

OpenShift/Atomic Enterprise 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_debug_level openshift_debug_level Verbosity of the debug logs for node
oreg_url UNDEF (Optional) Default docker registry to use

From openshift_common:

Name Default Value
openshift_debug_level 2 Global openshift debug log verbosity
openshift_public_ip UNDEF (Required) Public IP address to use for this host
openshift_hostname UNDEF (Required) hostname to use for this instance

Dependencies

openshift_common

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:

oadm manage-node --schedulable=false ${NODE} oadm manage-node --drain ${NODE} oadm 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