Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find network container for pod #42

Open
vpeltot opened this issue Mar 15, 2023 · 4 comments
Open

Cannot find network container for pod #42

vpeltot opened this issue Mar 15, 2023 · 4 comments

Comments

@vpeltot
Copy link
Contributor

vpeltot commented Mar 15, 2023

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
Copy link
Member

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
Copy link
Contributor Author

vpeltot commented Mar 17, 2023

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 and greenframe kube-config)

@fzaninotto
Copy link
Member

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

@vpeltot
Copy link
Contributor Author

vpeltot commented Mar 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants