Thanks Jason for explanation
It answer few my questions. Today only am aware that we have to run the scaleup.yaml and create a new node group.
I heard some complaints in the community as well as my internal team about overwriting config changes when ran the ansible playbook. Am sure we might be using existing node group while adding new nodes.
Please take a look at existing documentation and modify with this new data if not already there.
From: Jason DeTiberus <jdetiber redhat com>
Date: Thursday, February 4, 2016 at 10:24 AM
To: skotaru <skotaru cisco com>
Cc: v <vekt0r7 gmx net>, "users lists openshift redhat com" <users lists openshift redhat com>
Subject: Re: Adding a node to the cluster without ansible
On Thu, Feb 4, 2016 at 1:04 PM, Srinivas Naga Kotaru (skotaru) <skotaru cisco com> wrote:
If running the full configuration playbooks, yes Ansible will overwrite custom configuration of the following files (at least):
- systemd unit files for ha master services
The goals of the configuration playbooks are to be able to continually manage a system in addition to installation.
If running the upgrade playbooks, we limit the changes made to the configuration files to the limit subset of configuration that we need to update. We use a custom ansible module to read in the YAML files, process the limited changes and write the file back out.
If you are running the scaleup.yml playbook, the only tasks done on the master(s) (other than gather facts from them), is to generate the new certificates/kubeconfigs for the new nodes. The playbook then goes on to configure the new nodes only (leaving the existing nodes untouched). This does require defining the new nodes in a [new_nodes] group instead of just adding them onto the [nodes] group.
The scaleup.yml playbook already does this. If your environment was installed with the openshift-ansible-installer, then you can also use that tool for configuring the new nodes as well. Eventually the installer tool will be able to work against a previously installed cluster, but we still have a bit of work to make that happen.