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

create deployment kubevpn-traffic-manager pending #255

Closed
kilawang opened this issue May 17, 2024 · 9 comments
Closed

create deployment kubevpn-traffic-manager pending #255

kilawang opened this issue May 17, 2024 · 9 comments

Comments

@kilawang
Copy link

kilawang commented May 17, 2024

Hi

I download v 2.2.9 kubevpn client
and connect my GKE cluster
But the status always pending create deployment

Than I check deployment status , always 0 pod
It looks like the pod cannot be created

I use Macbook pro
Cluster Version is 1.27.12-gke.1115000
Clinet is Kubevpn v2.2.9

截圖 2024-05-17 下午2 46 43

截圖 2024-05-17 下午2 47 20

@wencaiwulue
Copy link
Collaborator

wencaiwulue commented May 17, 2024

@kilawang can you show apiserver log? maybe pod is blocked by some webhook.

@kilawang
Copy link
Author

@wencaiwulue Thank you for your suggestion. I checked the GKE log.
There is a message that the quota is insufficient.

截圖 2024-05-17 下午3 46 24

But I don’t know what quota settings are needed
I tried adjusting the nodes from 3 to 6 but the problem is still not solved so it shouldn't be a resource issue

@wencaiwulue
Copy link
Collaborator

Got it you can use this command to remove priorityClassName from deploy

kubectl patch deployment kubevpn-traffic-manager
 -p '{"spec":{"template":{"spec":{"priorityClassName":null}}}}'

@kilawang
Copy link
Author

@wencaiwulue Thank you, It's work
Pod has been created

@wencaiwulue
Copy link
Collaborator

wencaiwulue commented May 17, 2024

@wencaiwulue Thank you for your suggestion. I checked the GKE log. There is a message that the quota is insufficient.

截圖 2024-05-17 下午3 46 24

But I don’t know what quota settings are needed I tried adjusting the nodes from 3 to 6 but the problem is still not solved so it shouldn't be a resource issue

You can try to edit resourcequota, increase quota

kubectl describe resourcequota 

@kilawang
Copy link
Author

@wencaiwulue
Hello, I would like to confirm whether the option to remove this setting parameter can be added in future updates to the settings, or whether it can be listed as optional. Thank you.

Because we currently manage about 19 clusters, and they all need to be manually patched during installation.
This seems unavoidable on GKE

@wencaiwulue
Copy link
Collaborator

@wencaiwulue Hello, I would like to confirm whether the option to remove this setting parameter can be added in future updates to the settings, or whether it can be listed as optional. Thank you.

Because we currently manage about 19 clusters, and they all need to be manually patched during installation. This seems unavoidable on GKE

Yes,i will remove this setting parameter in v2.2.10. do worry about it

@wencaiwulue
Copy link
Collaborator

@kilawang already released v2.2.10, you can use command kubevpn upgrade to have a try ~

@kilawang kilawang reopened this May 21, 2024
@kilawang
Copy link
Author

@wencaiwulue Thank you, I upgrade and try it,It's work very well

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