marmelab / greenframe-cli

Estimate the carbon footprint of a user scenario on a web application
https://greenframe.io
Other
228 stars 11 forks source link

Cannot find network container for pod #42

Open vpeltot opened 1 year ago

vpeltot commented 1 year ago

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?

fzaninotto commented 1 year ago

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.

vpeltot commented 1 year ago

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:

fzaninotto commented 1 year ago

Can you confirm this works again if you downgrade the Kubernetes version ?

vpeltot commented 1 year ago

I can't downgrade the kubernetes version, the old version is no longer available...