You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
before upgrade to 2.16, it used to show more detailed information about running pods. Now I need to run kubectl -n get pods -l app=<app-name> to find out if my containers started and passed the Liveness probes. Previously I could just do helm status <release>. Any chances to return to the original behavior?
After this change, helm status is ridiculously useless command, it requires to do kubectl get next.
LAST DEPLOYED: Wed Nov 6 20:22:21 2019
NAMESPACE: default
STATUS: DEPLOYED
RESOURCES:
==> v1/ConfigMap
NAME AGE
hlf-ord--ord 15h
hlf-orderer-genesis 15h
==> v1/Deployment
NAME AGE
hlf-ord 15h
==> v1/PersistentVolumeClaim
NAME AGE
hlf-ord 15h
==> v1/Pod(related)
NAME AGE
hlf-ord-655f9d5856-tscnz 2m15s
==> v1/Secret
NAME AGE
hlf-orderer-admincert 15h
hlf-orderer-cacert 15h
hlf-orderer-cert 15h
hlf-orderer-key 15h
==> v1/Service
NAME AGE
hlf-ord 15h
==> v1beta1/Ingress
NAME AGE
hlf-ord 15h
$ helm status service-app
LAST DEPLOYED: Mon Oct 14 17:40:40 2019
NAMESPACE: default
STATUS: DEPLOYED
RESOURCES:
==> v1/Deployment
NAME AGE
service-app 31d
==> v1/Pod(related)
NAME AGE
service-app-687549b68d-k4wk6 21m
service-app-687549b68d-kz5jp 30d
==> v1/Service
NAME AGE
service-app 31d
Deployment, and Service columns have also disappeared. Will 2.16.2 fix ?
i.e
before 2.16.x
==> v1/Service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
mymicroservice ClusterIP xxx 8443/TCP 25d
after
==> v1/Service
NAME AGE
mymicroservice 25d
I don't believe #7196 was intended to fix this issue, however if you can demonstrate that #7196 does indeed fix the issue, we'd love to understand why.
I'm still seeing the issue present with the HEAD of dev-v2 with a Kubernetes 1.17 cluster.
I'm anxiously awaiting 2.16.2 for #7319, is this issue still in scope for the release?
#7319 is irrelevant to this ticket, but yes, It should be in the next patch release.
To get a better understanding of the issue here: helm status relies on the same APIs that kubectl get relies upon. k8s.io/kubernetes has broken backwards compatibility in the past, so it's quite possible it's happened again.
I'm currently looking into why it keeps breaking, and assess whether we need to replace it with some other API.
So... kubernetes did indeed break backwards compatibility. You now have to generate a metav1.Table if you want the endpoint to render the same as kubectl get. This broke somewhere around kubernetes 1.16, right when this bug popped up.
If someone wants to take a closer look at this, I started diving deeper into how kubectl get prints objects now in #7728. I don't have time to follow through and fix the issue, but hopefully this helps someone looking at fixing this.
Activity
hayorov commentedon Nov 7, 2019
After this change,
helm statusis ridiculously useless command, it requires to dokubectl getnext.bacongobbler commentedon Nov 7, 2019
fixed via #6897 which will be available in 2.16.1.
mshakhmaykin commentedon Nov 15, 2019
This didn't help unfortunately.
bacongobbler commentedon Nov 15, 2019
weird; bbdfe5e is part of the 2.16.1 branch. Perhaps the printer on Kubernetes' end changed again. Did you deploy the app with 2.16.1?
Re-opening for further investigation.
thuandt commentedon Nov 15, 2019
@bacongobbler I have same issue with 2.16.1
My application used to helm v2.14.3, then I upgraded helm to v2.16.1 pods status has been gone
cridam commentedon Nov 29, 2019
Deployment, and Service columns have also disappeared. Will 2.16.2 fix ?
i.e
before 2.16.x
==> v1/Service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
mymicroservice ClusterIP xxx 8443/TCP 25d
after
==> v1/Service
NAME AGE
mymicroservice 25d
liurd commentedon Dec 13, 2019
Are you going to build 2.16.2 to fix the issue?
thuandt commentedon Dec 18, 2019
It should be fix by #7196
bacongobbler commentedon Dec 18, 2019
I don't believe #7196 was intended to fix this issue, however if you can demonstrate that #7196 does indeed fix the issue, we'd love to understand why.
nickdgriffin commentedon Jan 17, 2020
I'm anxiously awaiting 2.16.2 for #7319, is this issue still in scope for the release?
bacongobbler commentedon Mar 5, 2020
I'm still seeing the issue present with the HEAD of
dev-v2with a Kubernetes 1.17 cluster.#7319 is irrelevant to this ticket, but yes, It should be in the next patch release.
To get a better understanding of the issue here:
helm statusrelies on the same APIs thatkubectl getrelies upon.k8s.io/kuberneteshas broken backwards compatibility in the past, so it's quite possible it's happened again.I'm currently looking into why it keeps breaking, and assess whether we need to replace it with some other API.
bacongobbler commentedon Mar 6, 2020
So... kubernetes did indeed break backwards compatibility. You now have to generate a
metav1.Tableif you want the endpoint to render the same askubectl get. This broke somewhere around kubernetes 1.16, right when this bug popped up.If someone wants to take a closer look at this, I started diving deeper into how
kubectl getprints objects now in #7728. I don't have time to follow through and fix the issue, but hopefully this helps someone looking at fixing this.mattfarina commentedon Mar 19, 2020
I have a PR coming with a fix for this. It works. Just need to try and clean up the code some more and figure out how to explain the change.
Restores display of object status when displaying helm status
Restores display of object status when displaying helm status
Restores display of object status when displaying helm status
mattfarina commentedon Mar 20, 2020
PR just landed that fixes this. Should be in the next 2.16 release.
Restores display of object status when displaying helm status