Closed biohazd closed 7 months ago
Hey @biohazd,
The answer depends on how your infrastructure is currently configured.
If during infrastructure creation in viya4-iac-aws
you configured the max_nodes
for your CAS node pool to already be the target number of CAS nodes you desire or greater, all you have to do is update the V4_CFG_CAS_WORKER_COUNT
in your ansible-vars.yaml
and rerun the viya,install
tasks. As more CAS worker pods come up EKS will provision up to max_nodes
for the CAS pods to run on.
The Viya deployment does not need to be restarted either to add more workers, see:
sas-bases/examples/cas/configure/README.md
In your deployment assetsAlso, see viya4-iac-aws
example file for max_nodes
setting https://github.com/sassoftware/viya4-iac-aws/blob/main/examples/sample-input.tfvars#L48
Alternatively, if your max_nodes
is not enough to reach the number of CAS nodes you desire. I would recommend doing the following.
terraform.tfvars
file from the viya4-iac-aws
project adjust max_nodes
for the CAS node poolterraform apply
to apply these changesV4_CFG_CAS_WORKER_COUNT
in your ansible-vars.yaml
to your desired count and rerun the viya,install
tasks.Marking as stale/inactive. If there are further questions please open a new GitHub issue.
Hi
I have deployed the EKS cluster and set it to use 2 cas instances(pods). This works great.
how do I add more cas pods to the cluster? Do I edit the terraform/Ansible vars file to increase workers and redeploy ?