Add support for health check timeout configuration
Los mantenedores suelen responder en 1 día
@gururajsh ya está trabajando en esto.
Desde el 27/9/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
What's the user value of this feature request?
Health check configuration will be made more convenient for users not familiar with the CF APIs.
Who is the functionality for?
CF users willing to configure CF health checks via the CF CLI.
Who else is affected by the change?
This feature isn't a breaking change. It suggest to extend the current options supported by cf set-health-check.
Describe the solution you'd like
The CF V3 APIs support a timeout parameter as described in the docs. I'm suggesting to add an additional option to the cf set-health-check command which is called --timeout and can be used to configure the duration in seconds that health checks can fail before the process is restarted.
Describe alternatives you've considered
A workaround is to use the CF APIs directly to set the health check timeout. This can work like this:
cf app <my-app-name> --guid #get app guid
cf curl /v3/apps/<app-guid>/processes #list app processes information
cf curl -H "Content-Type: application/json" -X PATCH -d @health-conf.json /v3/processes/<process-from-previous-command>
The content of health-conf.json could be something like this:
...
"health_check": {
"type": "http",
"data": {
"timeout": 120,
"invocation_timeout": null,
"endpoint": "/health"
}
}
...
- Lenguaje dominante
- Go
- Estrellas
- 1.9k
- Forks
- 989
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudfoundry/cli
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
cloudfoundry/cli#3866 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
cloudfoundry/cli#3863 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
cloudfoundry/cli#3851 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Add zsh shell completionAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
cloudfoundry/cli#3794 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
cloudfoundry/cli#3787 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de cloudfoundry/cli
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
open-telemetry/opentelemetry-go-compile-instrumentation#1467 ·
Los mantenedores suelen responder en 3 días
-
bug: a request sent before initialize is answered with JSON-RPC error code 0 instead of -32600Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
modelcontextprotocol/go-sdk#1367 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Python 3.15 supportPosiblemente ocupada @amnesiaof la tomó hoy. AbiertoL: python L: python:uv
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
dependabot/dependabot-core#16524 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
duplication
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openvibely/openvibely#1443 ·
Los mantenedores suelen responder en 2 días