pipedv1 Kubernetes plugin: health status is not calculated for Job, Service, Ingress, PV/PVC and other built-in kinds
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Read pkg/app/pipedv1/plugin/kubernetes/provider/health_status.go and compare its health checks with pkg/app/piped/platformprovider/kubernetes/state.go. Start with the first proposed slice, Job and CronJob, and inspect the corresponding kubernetes_multicluster implementation to understand where the same behavior is needed. Done means those kinds report health instead of Unknown in both plugins; the issue proposes splitting the work into small PRs.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What would you like to be added:
In pipedv1, calculateHealthStatus in pkg/app/pipedv1/plugin/kubernetes/provider/health_status.go only handles Deployment, StatefulSet, ReplicaSet, DaemonSet and Pod. Every other kind falls into the default case and is reported as Unknown ("Unimplemented or unknown resource"). The kubernetes_multicluster plugin has the same gap.
piped v0 (pkg/app/piped/platformprovider/kubernetes/state.go) already determines health for Job, CronJob, Service, Ingress, ConfigMap, Secret, PersistentVolume, PersistentVolumeClaim, ServiceAccount, Role/RoleBinding, ClusterRole/ClusterRoleBinding, Namespace and PodDisruptionBudget.
Why is this needed:
Apps that include these resources show Unknown health in the live state view even when everything is fine, and a failed Job is not shown as unhealthy.
Proposal:
Port the v0 logic in small PRs:
- Job and CronJob
- Service and Ingress
- PersistentVolume and PersistentVolumeClaim
- ConfigMap, Secret, ServiceAccount, RBAC kinds, Namespace, PodDisruptionBudget
- The same for kubernetes_multicluster
- Lenguaje dominante
- Go
- Estrellas
- 1.4k
- Forks
- 391
- Merge medio
- 4 d 1 h
- PR fusionados (30 d)
- 58
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 pipe-cd/pipecd
-
Applications at the repository root are not triggered by new commitsPosiblemente ocupada @Daksha1611 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
pipedv1 kubernetes plugins ignore trafficRouting.istio.host in K8S_TRAFFIC_ROUTINGPosiblemente ocupada @Dhirenderchoudhary la tomó hoy. Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 74/100
pipe-cd/pipecd#7626 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
pipectl transfer restore application drops backed-up labelsPosiblemente ocupada @bhavishyajain545 la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
pipe-cd/pipecd#7622 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 2 días
Todos los issues de pipe-cd/pipecd
Issues similares
-
needs-triage typo
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
llm-d-incubation/llm-d-scaling-manager#122 ·
Los mantenedores suelen responder en 1 día
-
good first issue severity: low tech-debt
Dificultad 2/5 Medio día Aptitud para principiantes 75/100
TMHSDigital/subenum#329 ·
Los mantenedores suelen responder en 1 día
-
[Bug] Backend summarize min() / max() panics when a field has no numeric valuesPosiblemente ocupada @weng5e la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
grafana/grafana-infinity-datasource#1832 ·
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
GillMacedo/godebugdiff#13 ·