greenframe-cli
greenframe-cli copied to clipboard
Cannot find network container for pod
I have an issue with the greenframe analyze cli in a kubernetes execution context. All the analyse I run fails with the error :
Cannot find network container for pod pod-name-746fd5878bvvmnd
I have not made any changes to my kubernetes cluster.
greenframe-cli/1.6.6 linux-x64 node-v16.19.1
Kubernetes version 1.23, build v1.23.14-gke.1800, platform linux/amd64
@fzaninotto @guilbill What’s going on?
Did these analyses run previously? Which version of greenframe-cli are you using? Did you update it recently?
Also, the error message seems to come from your kubernetes configuration rather than from greenframe. In any case, to help you troubleshoot this error, we'll need a way to reproduce it.
Everything was working fine before an automatic update to a minor version of our kubernetes cluster.
Before, when everything was working, we were in
Kubernetes version 1.23, build v1.23.13-gke.900, platform linux/amd64
and now we are in
Kubernetes version 1.23, build v1.23.14-gke.1800, platform linux/amd64
This is the only difference.
I tried without success to:
- Update the greenframe cli to 1.6.6 (we had stayed in version 1.4.4)
- Kill and recreate the cadvisor pods (
greenframe kube-config --delete
andgreenframe kube-config
)
Can you confirm this works again if you downgrade the Kubernetes version ?
I can't downgrade the kubernetes version, the old version is no longer available...