Skip to content

AKS Nodepool creation - Podsubnet id parameter not supported in this azurecollection #1897

Open
@veldpworld

Description

@veldpworld

Hi,
I have cluster using AZURE CNI pod subnet, in az cli there is option to specify both vnet_subnet_id and pod_subnet_id. in ansible collection its not available.

How can i pass the pod_subnet_id ?

{
  "msg": "Unsupported parameters for (azure.azcollection.azure_rm_aksagentpool) module: pod_subnet_id. Supported parameters include: ad_user, adfs_authority_url, api_profile, append_tags, auth_source, availability_zones, cert_validation_mode, client_id, cloud_environment, cluster_name, count, disable_instance_discovery, enable_auto_scaling, enable_encryption_at_host, enable_fips, enable_node_public_ip, enable_ultra_ssd, gpu_instance_profile, kubelet_config, kubelet_disk_type, linux_os_config, log_mode, log_path, max_count, max_pods, min_count, mode, name, node_labels, node_public_ip_prefix_id, node_taints, orchestrator_version, os_disk_size_gb, os_sku, os_type, password, power_state, profile, proximity_placement_group_id, resource_group, scale_down_mode, scale_set_eviction_policy, scale_set_priority, secret, security_profile, spot_max_price, state, subscription_id, tags, tenant, thumbprint, type_properties_type, upgrade_settings, vm_size, vnet_subnet_id, workload_runtime, x509_certificate_path.",
  "invocation": {
    "module_args": {
      "resource_group": "rg-ecommerce-dev",
      "cluster_name": "aks-ecommerce-dev",
      "name": "syspool1",
      "mode": "System",
      "count": 1,
      "vm_size": "Standard_E4ds_v4",
      "os_type": "Linux",
      "enable_auto_scaling": false,
      "pod_subnet_id": "/subscriptions/xxxx/resourceGroups/rg-dadf-infra-nonprod/providers/Microsoft.Network/virtualNetworks/vnet-xxxsds-nonprod/subnets/snet-akspod-dev",
      "max_pods": 50,
      "state": "present",
      "auth_source": "auto",
      "cloud_environment": "AzureCloud",
      "api_profile": "latest",
      "disable_instance_discovery": false,
      "append_tags": true,
      "scale_down_mode": "Delete",
      "profile": null,
      "subscription_id": null,
      "client_id": null,
      "secret": null,
      "tenant": null,
      "ad_user": null,
      "password": null,
      "cert_validation_mode": null,
      "adfs_authority_url": null,
      "log_mode": null,
      "log_path": null,
      "x509_certificate_path": null,
      "thumbprint": null,
      "tags": null,
      "os_disk_size_gb": null,
      "vnet_subnet_id": null,
      "availability_zones": null,
      "orchestrator_version": null,
      "type_properties_type": null,
      "max_count": null,
      "node_labels": null,
      "node_taints": null,
      "min_count": null,
      "kubelet_disk_type": null,
      "workload_runtime": null,
      "os_sku": null,
      "upgrade_settings": null,
      "power_state": null,
      "enable_node_public_ip": null,
      "scale_set_priority": null,
      "node_public_ip_prefix_id": null,
      "scale_set_eviction_policy": null,
      "spot_max_price": null,
      "proximity_placement_group_id": null,
      "kubelet_config": null,
      "linux_os_config": null,
      "enable_encryption_at_host": null,
      "enable_ultra_ssd": null,
      "enable_fips": null,
      "gpu_instance_profile": null,
      "security_profile": null
    }
  },
  "_ansible_no_log": false,
  "changed": false
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions