Skip to content

Incorrect toleration and labels on the sas compute deployment #468

@Stacey949

Description

@Stacey949

Terraform Version Details

We downloaded this project in February 2025 and used it as is. We deployed into our Azure environment, and it seems to have incorrectly applied the labels and taints for the compute nodes.

Image

Terraform Variable File Details

**************** REQUIRED VARIABLES ****************

These required variables' values MUST be provided by the User

prefix = "XXX-sas"

location = "australiaeast"

subscription_id = "xxxxx-xxxx-4b0e-920e-f1a05da74bd6"

tenant_id = "xxxxx-xxxx-438a-92d5-89eff9d56a6b"

create_jump_vm = false

Bring your own existing networking resources

vnet_resource_group_name = "rg-network-auea"

vnet_name = "vnet-XXX-sas-auea"

subnet_names = {

"aks": "aks",

"misc": "misc",

"netapp": "netapp"

}

also available as BYO

resource_group_name = "rg-terraform-infra"

!NOTE! - Without specifying your CIDR block access rules, ingress traffic

to your cluster will be blocked by default.

**************** REQUIRED VARIABLES ****************

Bring your own existing networking resources

vnet_address_space = "XXX.XX.32.0/20"

aks_cluster_sku_tier = "Premium"

cluster_support_tier = "AKSLongTermSupport"

aks_network_plugin = "azure"

aks_network_plugin_mode = "overlay"

cluster_egress_type = "userDefinedRouting"

!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., ["XXX.XX.6.89/32"]

************** RECOMMENDED VARIABLES ***************

Tags for all taggable items in your cluster.

tags = {"Organisation" = "XXX-XXX-office", "Environment" = "production", "Operational Hours" = "business-hours", "Application" = "sasviya4", "SupportArea" = "XXX", "BackupService" = "infrastructure-as-code", "BackupFileShare": "compliance"} # e.g., { "key1" = "value1", "key2" = "value2" }

Azure Container Registry config

create_container_registry = true

container_registry_sku = "Standard"

container_registry_admin_enabled = false

container_registry_geo_replica_locs = null

Azure monitor

create_aks_azure_monitor = false

AKS config

kubernetes_version = "1.30.7"

default_nodepool_min_nodes = 1

default_nodepool_vm_type = "Standard_D8_v5"

node_pools_proximity_placement = false

default_nodepool_availability_zones = ["1", "2", "3"]

node_pools_availability_zone = "1"

AKS Node Pools config

node_pools = {

cas = {

"machine_type" = "Standard_E16ds_v5"

"os_disk_size" = 256

"min_nodes"    = 2

"max_nodes"    = 2

"max_pods"     = 110

"node_taints"  = ["workload.sas.com/class=cas:NoSchedule"]

"node_labels" = {

  "workload.sas.com/class" = "cas"

}

},

compute = {

"machine_type" = "Standard_E8ds_v5"

"os_disk_size" = 256

"min_nodes"    = 1

"max_nodes"    = 1

"max_pods"     = 110

"node_taints"  = ["workload.sas.com/class=compute:NoSchedule"]

"node_labels" = {

  "workload.sas.com/class"        = "compute"

  "launcher.sas.com/prepullImage" = "sas-programming-environment"

}

},

stateless = {

"machine_type" = "Standard_D8_v5"

"os_disk_size" = 256

"min_nodes"    = 1

"max_nodes"    = 2

"max_pods"     = 110

"node_taints"  = ["workload.sas.com/class=stateless:NoSchedule"]

"node_labels" = {

  "workload.sas.com/class" = "stateless"

}

},

stateful = {

"machine_type" = "Standard_D8_v5"

"os_disk_size" = 256

"min_nodes"    = 4

"max_nodes"    = 4

"max_pods"     = 110

"node_taints"  = ["workload.sas.com/class=stateful:NoSchedule"]

"node_labels" = {

  "workload.sas.com/class" = "stateful"

}

}

}

Storage for SAS Viya CAS/Compute

storage_type = "ha"

netapp_service_level = "Ultra"

netapp_size_in_tb = "4"

Identity values

cluster_api_mode = "private"

aks_identity = "uai"

aks_private_cluster_public_fqdn_enabled = true

RBAC

rbac_aad_enabled = true

rbac_aad_admin_group_object_ids = [ "XXXXXX-25aa-498d-84bb-3aa2f71cb086" ]

Steps to Reproduce

Deploy as is terraform scripts

Expected Behavior

Opening SAS studio and expected it to create a SAS Compute context, and expected to see a host in the Workload Orchestrator

Actual Behavior

SAS Compute in SAS Studio does not start a SAS Compute context

Image

The host should be listed in the Workload Orchestrator

Image

Additional Context

No response

References

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleOpen for 30 days with no activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions