Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump default azure image #1429

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skanakal
Copy link

Issue:

rancher/rancher#44944
Standard_A2 is currently not available in location 'westus'

Problem

Solution

update the default azure image
Change the default VM size, as the current size is unavailable in the default region (West US).

Testing

Engineering Testing

Manual Testing

Wed Oct 23 17:31:34 skanakala ☺ ❉ ~/Downloads/test sudo terraform show
# rancher2_cloud_credential.foo-aks:
resource "rancher2_cloud_credential" "foo-aks" {
    annotations = {}
    driver      = "azure"
    id          = "cattle-global-data:cc-fx6cx"
    labels      = {
        "cattle.io/creator" = "norman"
    }
    name        = "foo-aks"

    azure_credential_config {
        client_id       = (sensitive value)
        client_secret   = (sensitive value)
        environment     = "AzurePublicCloud"
        subscription_id = (sensitive value)
    }
}

# rancher2_node_template.foo:
resource "rancher2_node_template" "foo" {
    annotations             = {
        "ownerBindingsCreated" = "true"
    }
    cloud_credential_id     = "cattle-global-data:cc-fx6cx"
    description             = "foo test"
    driver                  = "azure"
    driver_id               = "azure"
    id                      = "cattle-global-nt:nt-7qr59"
    labels                  = {
        "cattle.io/creator" = "norman"
    }
    name                    = "foo"
    use_internal_ip_address = true

    azure_config {
        availability_set    = "docker-machine"
        disk_size           = "30"
        docker_port         = "2376"
        environment         = "AzurePublicCloud"
        fault_domain_count  = "3"
        image               = "canonical:ubuntu-24_04-lts:server-gen1:latest"
        location            = "westus"
        managed_disks       = false
        no_public_ip        = false
        nsg                 = "docker-machine-nsg"
        open_port           = []
        resource_group      = "docker-machine"
        size                = "Standard_D2_v2"
        ssh_user            = "docker-user"
        static_public_ip    = false
        storage_type        = "Standard_LRS"
        subnet              = "docker-machine"
        subnet_prefix       = "192.168.0.0/16"
        update_domain_count = "5"
        use_private_ip      = false
        vnet                = "docker-machine-vnet"
    }
}

Automated Testing

QA Testing Considerations

Regressions Considerations

Signed-off-by: Siva Kanakala <siva.kanakala@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant