-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[openVSXProxy] Mark the usage of PVC optional #14603
Conversation
/hold as we need to either update |
/werft run 👍 started the job as gitpod-build-tar-openvsxproxy-pvc-optional.1 |
gitpod/install/installer/pkg/components/openvsx-proxy/statefulset.go Lines 133 to 136 in 8802661
Is it ok the pod has mount but don't have pvc or volumes ? |
8802661
to
e2cb152
Compare
@iQQBot You are right, We need a emptyDir volume which I just added! 👀 |
change it to |
@iQQBot Yes, Because this issue is specific to EKS and with GKE this seems to done automatically and chanding existing functionality did not seem like a great idea! 👀 |
What I mean is that users should not use |
e2cb152
to
f52d82b
Compare
@iQQBot Moved the config into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Have you tried disabling the PVC from an existing installation? I recall we had lots of issues when amending a PVC on the in-cluster storage (I think) which is why we never made it any bigger - wondered if removing the PVC causes any issues |
/werft run publish-to-kots 👍 started the job as gitpod-build-tar-openvsxproxy-pvc-optional.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
Left a comment that I would prefer if it were reviewed, but happy for you to merge if you don't think it necessary/relevant
Fixes #14529 Currently, OpenVSXProxy is the only non-optional component that needs PVC's to get things working. The usage of a PVC in AWS reference architecture, means that components can't get restarted in a different zone anymore as PVC's with EBS are specific to a zone. As EKS reference architecture does not enable any other component that uses PVC's (i.e minio), This is a problem specific to `OpenVSXProxy`. By disabling this, OpenVSXProxy's redis now will have lost the cache once a restart occurs which does not seems like a big deal for self-hosted customers. Signed-off-by: Tarun Pothulapati <[email protected]>
f52d82b
to
ba95953
Compare
@mrsimonemms I haven't tested it on changing an existing cluster but considering that its just a statefulset that won't have a PVC anymore, This shouldn't be complex is my guess. 🤔 |
/unhold |
Description
Currently, OpenVSXProxy is the only non-optional component that needs PVC's to get things working. The usage of a PVC in AWS reference architecture, means that components can't get restarted in a different zone anymore as PVC's with EBS are specific to a zone.
As EKS reference architecture does not enable any other component that uses PVC's (i.e minio), This is a problem specific to
OpenVSXProxy
.By disabling this, OpenVSXProxy's redis now will have lost the cache once a restart occurs which does not seems like a big deal for self-hosted customers.
Signed-off-by: Tarun Pothulapati [email protected]
Related Issue(s)
Fixes #14529
How to test
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh