Skip to content

Add Application Health Extension to linux/vmss after enabling Azure Virtual Machine Scale Set automatic OS image upgrades #46

@asw101

Description

@asw101

We have enabled Azure Virtual Machine Scale Set automatic OS image upgrades on the vmss-image-upgrade branch for linux/vmss lab.

However, we'll need to add Using Application Health extension with Virtual Machine Scale Sets to the Bicep, as we currently receive the following error on deployment.

{"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/.../resourceGroups/231000-azr/providers/Microsoft.Resources/deployments/vmss","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","message":"Automatic OS Upgrade is not supported for this Virtual Machine Scale Set because a health probe or health extension was not specified."}]}}

I plan to add a probe for TCP on port 22 (SSH).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions