This is part of a set of 2 PR. This is only the first part to review the changes made on cli.py and config.py.
cli.py is where the main login of this script resides.
config.py stores the variables to be setup to run this script.
I adapted the variables to TD-3067 needs.
To be highlighted:
it will not update the nodes with the label in EXCLUDE_NODE_LABEL_KEYS. Default: 'ara.app/tier=storage' so longhorn nodes are not updated
it will only update nodes which ASG names contain the words listed in this variable: K8S_WORKER_GROUPS_ORDER. Default: '["redis", "deployments", "plugins", "monitoring"]' and it will do it in that order as well.
This is part of a set of 2 PR. This is only the first part to review the changes made on cli.py and config.py. cli.py is where the main login of this script resides. config.py stores the variables to be setup to run this script.
I adapted the variables to TD-3067 needs.
To be highlighted: