mirror of
				https://github.com/traefik/traefik.git
				synced 2025-10-31 00:11:38 +01:00 
			
		
		
		
	
		
			
				
	
	
	
		
			970 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			970 B
		
	
	
	
	
	
	
	
title, description
| title | description | 
|---|---|
| Traefik Health Check CLI Command Documentation | In Traefik Proxy, the healthcheck CLI command lets you check the health of your Traefik instances. Read the technical documentation for configuration examples and options. | 
Healthcheck Command
Checking the Health of your Traefik Instances. {: .subtitle }
Usage
The healthcheck command allows you to make a request to the /ping endpoint (defined in the install (static) configuration) to check the health of Traefik. Its exit status is 0 if Traefik is healthy and 1 otherwise.
This can be used with HEALTHCHECK instruction or any other health check orchestration mechanism.
traefik healthcheck [command] [flags] [arguments]
Example:
$ traefik healthcheck
OK: http://:8082/ping
The command uses the ping endpoint that is defined in the Traefik install (static) configuration.