Skip to content

[Question]: How do we add healthchecks for azure devops agent running from docker containers? #5141

Open
@vikram-opensrc

Description

@vikram-opensrc

Describe your question

Currently we are running self hosted agents on docker containers(both linux and windows based) on a Swarm. Sometimes the agent containers become unresponsive and the builds get stuck until the agent containers are restarted. Is there any Healthcheck option available that we can configure that will take care of the unresponsive issue and automatically restart the containers if the healthcheck fails? Currently enable to find any such option in the docs.

Versions

Azure Devops Server 2022
Agent version: 2.218.1

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

Self Hosted

Operation system

No response

Version controll system

No response

Azure DevOps Server Version (if applicable)

2022

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions