-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
make the HOST variable configurable #5529
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
Conversation
Kubernetes clusters can be single stack or dual stack. This change address the recent change where dual stack cluster is set to be the default. Setting can now be configurable in the chart
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
had a follow up question
@@ -102,7 +102,7 @@ spec: | |||
imagePullPolicy: {{ .Values.image.pullPolicy }} | |||
env: | |||
- name: HOST | |||
value: "::" | |||
value: "{{ .Values.listen | default "::" }}" |
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.
would this work for ipv4 addresses ?
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.
you just have to set the value to 0.0.0.0 for ipv4
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.
I think the default should be the original 0.0.0.0
, as this PR addresses a regression introduced when it was replaced with ::
are you sure the bcdeb63#diff-2105d8e1ded03b7b26c7c794db81f24dd466f6f793fd07a37120863950c2429dR59-R80 |
@menardorama @qdrddr @laurb9 is this PR ready for merge? Seems like a few open comments. Ideally we can have this as part of tonight's release train |
I don't understand .... You mean the place in the values ? Listen address has nothing to do with ingress but whatever as soon as it fix the issue..... |
Yes. I was asking if you have selected the correct placement for the variable in the values file. Currently the bcdeb63#diff-2105d8e1ded03b7b26c7c794db81f24dd466f6f793fd07a37120863950c2429dR59-R80 |
It is actually at root level like masterkey, not under ingress. Github misinterprets where the comment is located based on the last key it saw. |
Exactly, now maybe it can be a good idea to have a dedicated section where masterkey, listen address and future litellm runtime settings are located together ? |
Something like proxy config ? moving masterkey would be a breaking change and out of scope though. |
Exactly.... Even if the correct way would be that.... What about a section called runtimeConfig ? If things won't move a lot on the runtime part this can be let on the root level |
Hey @menardorama @laurb9 @qdrddr is this PR ready for review / merge? If there's additional improvements we can make, would it help to scope that into a separate PR? |
In my opinion having to change where the master key setting is defined will have a huge impact on all deployments. So for now adding another setting at the root level may be the best solution for now. Now regarding the default value, is having 0.0.0.0 as default and permit to define it to "::" may be the best choice. If yes, I can update my PR and you can merge it Is this plan is ok for you ? |
Hey @menardorama i merged in #5587 which should address the host name issue. Closing this PR as it seemed to address the same issue. If you'd like to submit another PR for improvements on the existing helm chart, that would be great |
Hi, |
make the HOST variable configurable
Kubernetes clusters can be single stack or dual stack. This change address the recent change where dual stack cluster is set to be the default.
Setting can now be configurable in the chart
Relevant issues
Fixes #5517
Type
🐛 Bug Fix
Changes
Add a value for the HOST env variable in order to make the helm chart less restrictive on the environment where it is deployed
[REQUIRED] Testing - Attach a screenshot of any new tests passing locall
helm template . --set listen="0.0.0.0"
helm template .