Health probes - App Service
This commit is contained in:
Родитель
628af982ec
Коммит
aa2458ec52
|
@ -22,8 +22,12 @@
|
|||
"value": "env://AZURE_FRONTDOOR_HEALTH_CHECK_VALUE?default=Edge Health Probe"
|
||||
}
|
||||
},
|
||||
"azureappservice": {
|
||||
"azureappservice-windows": {
|
||||
"allowed": "env://WEBSITE_WARMUP_PATH",
|
||||
"endpoint": "env://WEBSITE_WARMUP_PATH"
|
||||
},
|
||||
"azureappservice-linux": {
|
||||
"allowed": "env://WEBSITE_SITE_NAME",
|
||||
"endpoint": "/robots933456.txt"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ import { CreateError } from '../transitional';
|
|||
const dbg = debug('health');
|
||||
|
||||
const supportedHeaderProbeTypes = ['kubernetes', 'azurefrontdoor'];
|
||||
const supportedGeneralProbeTypes = ['external', 'azureappservice'];
|
||||
const supportedGeneralProbeTypes = ['external', 'azureappservice-windows', 'azureappservice-linux'];
|
||||
|
||||
enum HealthProbeType {
|
||||
Readiness = 'ready',
|
||||
|
|
Загрузка…
Ссылка в новой задаче