-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from sassoftware/staging
4.0.0 - April 28, 2022
- Loading branch information
Showing
9 changed files
with
155 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
New in SAS Viya 2021.2.6: the connect workload class is no longer required. For more information, see [Connect Workload Class Changes](https://go.documentation.sas.com/doc/en/itopscdc/v_026/itopswn/n0jh2fbifqgoksn1uou9p2zgbzdy.htm#p15778dvqwzjtgn1e95nq9v0y1wv). | ||
|
||
To deploy SAS Viya 2021.2.6 and later, use the most recent version of SAS Viya 4 Infrastructure as Code. The default settings do not create a connect node pool. If your current software order has a requirement for the connect node pool, you can use the connect node pool example file in `examples/sample-input-connect.tfvars`. | ||
|
||
If you are updating SAS Viya to version 2021.2.6, take some additional steps to remove the connect nodes. | ||
|
||
1. Perform the update by following the steps in the [SAS Viya documentation](https://go.documentation.sas.com/doc/en/itopscdc/default/k8sag/p043aa4ghwwom6n1beyfifdgkve7.htm). | ||
2. When the update to 2021.2.6 has completed successfully, edit the sample-input-*.tfvars to scale down the connect node pool. Change `min_nodes` and `max_nodes` to 0: | ||
``` | ||
connect = { | ||
"vm_type" = "m5.8xlarge" | ||
"os_disk_type" = "gp2" | ||
"os_disk_size" = 200 | ||
"os_disk_iops" = 0 | ||
"min_nodes" = 0 | ||
"max_nodes" = 0 | ||
"node_taints" = ["workload.sas.com/class=connect:NoSchedule"] | ||
"node_labels" = { | ||
"workload.sas.com/class" = "connect" | ||
"launcher.sas.com/prepullImage" = "sas-programming-environment" | ||
} | ||
"custom_data" = "" | ||
"metadata_http_endpoint" = "enabled" | ||
"metadata_http_tokens" = "required" | ||
"metadata_http_put_response_hop_limit" = 1 | ||
}, | ||
``` | ||
3. Run `terraform apply` using your edited tfvars file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
# !NOTE! - These are only a subset of the variables in CONFIG-VARS.md provided | ||
# as examples. Customize this file to add any variables from CONFIG-VARS.md whose | ||
# default values you want to change. | ||
|
||
# **************** REQUIRED VARIABLES **************** | ||
# These required variables' values MUST be provided by the User | ||
prefix = "<prefix-value>" | ||
location = "<aws-location-value>" # e.g., "us-east-1" | ||
# **************** REQUIRED VARIABLES **************** | ||
|
||
# !NOTE! - Without specifying your CIDR block access rules, ingress traffic | ||
# to your cluster will be blocked by default. | ||
|
||
# ************** RECOMMENDED VARIABLES *************** | ||
default_public_access_cidrs = [] # e.g., ["123.45.6.89/32"] | ||
ssh_public_key = "~/.ssh/id_rsa.pub" | ||
# ************** RECOMMENDED VARIABLES *************** | ||
|
||
# Tags for all tagable items in your cluster. | ||
tags = { } # e.g., { "key1" = "value1", "key2" = "value2" } | ||
|
||
# Postgres config - By having this entry a database server is created. If you do not | ||
# need an external database server remove the 'postgres_servers' | ||
# block below. | ||
postgres_servers = { | ||
default = {}, | ||
} | ||
|
||
## Cluster config | ||
kubernetes_version = "1.21" | ||
default_nodepool_node_count = 2 | ||
default_nodepool_vm_type = "m5.2xlarge" | ||
default_nodepool_custom_data = "" | ||
|
||
## General | ||
efs_performance_mode = "maxIO" | ||
storage_type = "standard" | ||
|
||
## Cluster Node Pools config | ||
node_pools = { | ||
cas = { | ||
"vm_type" = "m5.2xlarge" | ||
"os_disk_type" = "gp2" | ||
"os_disk_size" = 200 | ||
"os_disk_iops" = 0 | ||
"min_nodes" = 1 | ||
"max_nodes" = 5 | ||
"node_taints" = ["workload.sas.com/class=cas:NoSchedule"] | ||
"node_labels" = { | ||
"workload.sas.com/class" = "cas" | ||
} | ||
"custom_data" = "" | ||
"metadata_http_endpoint" = "enabled" | ||
"metadata_http_tokens" = "required" | ||
"metadata_http_put_response_hop_limit" = 1 | ||
}, | ||
compute = { | ||
"vm_type" = "m5.8xlarge" | ||
"os_disk_type" = "gp2" | ||
"os_disk_size" = 200 | ||
"os_disk_iops" = 0 | ||
"min_nodes" = 1 | ||
"max_nodes" = 5 | ||
"node_taints" = ["workload.sas.com/class=compute:NoSchedule"] | ||
"node_labels" = { | ||
"workload.sas.com/class" = "compute" | ||
"launcher.sas.com/prepullImage" = "sas-programming-environment" | ||
} | ||
"custom_data" = "" | ||
"metadata_http_endpoint" = "enabled" | ||
"metadata_http_tokens" = "required" | ||
"metadata_http_put_response_hop_limit" = 1 | ||
}, | ||
connect = { | ||
"vm_type" = "m5.8xlarge" | ||
"os_disk_type" = "gp2" | ||
"os_disk_size" = 200 | ||
"os_disk_iops" = 0 | ||
"min_nodes" = 1 | ||
"max_nodes" = 5 | ||
"node_taints" = ["workload.sas.com/class=connect:NoSchedule"] | ||
"node_labels" = { | ||
"workload.sas.com/class" = "connect" | ||
"launcher.sas.com/prepullImage" = "sas-programming-environment" | ||
} | ||
"custom_data" = "" | ||
"metadata_http_endpoint" = "enabled" | ||
"metadata_http_tokens" = "required" | ||
"metadata_http_put_response_hop_limit" = 1 | ||
}, | ||
stateless = { | ||
"vm_type" = "m5.4xlarge" | ||
"os_disk_type" = "gp2" | ||
"os_disk_size" = 200 | ||
"os_disk_iops" = 0 | ||
"min_nodes" = 1 | ||
"max_nodes" = 5 | ||
"node_taints" = ["workload.sas.com/class=stateless:NoSchedule"] | ||
"node_labels" = { | ||
"workload.sas.com/class" = "stateless" | ||
} | ||
"custom_data" = "" | ||
"metadata_http_endpoint" = "enabled" | ||
"metadata_http_tokens" = "required" | ||
"metadata_http_put_response_hop_limit" = 1 | ||
}, | ||
stateful = { | ||
"vm_type" = "m5.4xlarge" | ||
"os_disk_type" = "gp2" | ||
"os_disk_size" = 200 | ||
"os_disk_iops" = 0 | ||
"min_nodes" = 1 | ||
"max_nodes" = 3 | ||
"node_taints" = ["workload.sas.com/class=stateful:NoSchedule"] | ||
"node_labels" = { | ||
"workload.sas.com/class" = "stateful" | ||
} | ||
"custom_data" = "" | ||
"metadata_http_endpoint" = "enabled" | ||
"metadata_http_tokens" = "required" | ||
"metadata_http_put_response_hop_limit" = 1 | ||
} | ||
} | ||
|
||
# Jump Server | ||
create_jump_vm = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters