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

Shinyproxy old deployment not getting terminated #20

Open
anoop7181 opened this issue Oct 22, 2021 · 1 comment
Open

Shinyproxy old deployment not getting terminated #20

anoop7181 opened this issue Oct 22, 2021 · 1 comment

Comments

@anoop7181
Copy link
Contributor

Hello,

I am deploying shinyproxy and the latest version is not getting picked automatically even with successful deployment. There are no active web socket connections or child pods present.
This was not the case before and only different was enabling promethus metrics through shinyproxy.yaml. Though it might not be the issue i am unabled find the Root Cause of this.
image

@anoop7181 anoop7181 changed the title Shinyproxy old version not getting terminated Shinyproxy old deployment not getting terminated Oct 22, 2021
@LEDfan
Copy link
Member

LEDfan commented Nov 2, 2021

Hi @anoop7181

There was a bug in the operator (or more precisely, in the library we use to talk with k8s) where the operator could be confused about the state of k8s. One of the things observed was, that the operator thought there were more pods running in the cluster than in reality. This causes the operator to not remove the old shinyproxy servers. When this would have been the case, you would have seen a log statement similar too:

ShinyProxyInstance has X running apps => not removing this instance

A simple workaround is restarting the operator, but the bug should be fixed in the latest snapshot of the operator (0.1.0-SNAPSHOT-20211029.071023).

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