-
Notifications
You must be signed in to change notification settings - Fork 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
Support configuring upstream zone sizes in VS/VSR #659
Conversation
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 we need to do some validation in https://github.com/nginxinc/kubernetes-ingress/blob/master/pkg/apis/configuration/validation/validation.go#L282 ? I suggest writing a reuseable func
validateSize
to ensure a valid[size]
was specified. -
An example and docs should be included in: https://github.com/nginxinc/kubernetes-ingress/blob/master/docs/virtualserver-and-virtualserverroute.md#upstream
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.
@LorcanMcVeigh thanks for the PR. Please see my comments.
Thanks for the comments @Dean-Coakley However, they are not applicable because extending the VS/VSR resources upstream field is not part of this task. However, the configmap key upstream-zone-size
must affect the generated config for VS/VSR. At the same time, please update the description of the upstream-zone-size entry in the configmap table for the case of NGINX Plus.
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.
@LorcanMcVeigh thanks for the update. Please see an additional suggestion.
Also, the comment about the documentation wasn't addressed. We need to update the documentation to cover NGINX Plus.
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.
looks better! Please see the suggestions for the added parts.
c3c9615
to
80dc5d9
Compare
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, just a small comment, let me know if it makes sense.
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.
Please see additional comments
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.
thanks @LorcanMcVeigh looks like we're almost there. Please see a few suggestions
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.
👍
Proposed changes
Extended upstream zone size support to nginx plus and vs/vsr
Checklist