skupper
skupper copied to clipboard
skupper status reports all is good, even when no pod is running (might be by design)
Describe the bug
skupper status does not check if any code is running and reports good status when skupper is not running:
$ kubectl get pods
No resources found in east namespace.
$ skupper status
Skupper is enabled for namespace "east" with site name "east". It is not connected to any other sites. It has no exposed services.
Encountered this issue using OpenShift sandbox. This environment stops idle pods after a few hours.
How To Reproduce
Edit the deployment yaml for skupper-service-controller and skupper-router.
Set spec.replicas to 0
kubectl get pods will then show that there aren't any skupper-* pods
run skupper status
Expected behavior
Maybe something like status could not be determined
Environment details
- Skupper CLI: 1.5.3
- Skupper Operator (if applicable): na
- Platform: kubernetes, openshift
Additional context Add any other context about the problem here.