-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Unknown flag "size-buckets" #8233
Comments
@nlybe: This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-kind bug |
/remove-kind bug |
size-bucket is not part of configuration of controller so you cant set it as you did
size-bucket is parts of metrics not controller |
/assign |
you cannot et these flag with command line. you need to set these in config file |
@nlybe if your problem got resolved then you can close this issue. |
@kundan2707 thanks for your replies. Actually it's not clear to me how to use this feature with helm if I can't use variables in values yaml file. Which config file do you mean? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@nlybe HI, did you manage to use this configuration? Where should I put it if I cannot do it with the values for the helm chart? Thanks |
Just for the history, I was able to use
|
@voron Thank you! I was about to commit suicide. |
This helps documenting this issue: kubernetes#8233 and relates to this documentation: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/monitoring.md#histogram-buckets
* feat(helm): add documentation about metric args This helps documenting this issue: #8233 and relates to this documentation: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/monitoring.md#histogram-buckets * fix
This helps documenting this issue: kubernetes#8233 and relates to this documentation: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/monitoring.md#histogram-buckets
* feat(helm): add documentation about metric args This helps documenting this issue: #8233 and relates to this documentation: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/monitoring.md#histogram-buckets * fix --------- Co-authored-by: Pierre Ozoux <[email protected]>
NGINX Ingress controller
Release: v1.1.1
nginx version: nginx/1.19.9
Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:25:17Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.12-gke.1500", GitCommit:"d32c0db9a3ccd0ac73b0b3abd0532505217b376e", GitTreeState:"clean", BuildDate:"2021-11-17T09:30:02Z", GoVersion:"go1.15.15b5", Compiler:"gc", Platform:"linux/amd64"}
Helm version:
version.BuildInfo{Version:"v3.7.0", GitCommit:"eeac83883cb4014fe60267ec6373570374ce770b", GitTreeState:"clean", GoVersion:"go1.16.8"}
Environment:
How was the ingress-nginx-controller installed:
Using helm template , using the command:
helm install ingress-nginx ingress-nginx/ingress-nginx --set controller.extraArgs.size-buckets="{0.05,0.1,0.3,0.5,1.0,5,10}"
Output of 'helm ls -A | grep -i ingress'
ingress-nginx default 1 2022-02-10 12:35:46.167462946 +0200 EET deployed ingress-nginx-4.0.17 1.1.1
Current State of the controller:
What happened:
I installed ingress-nginx using helm and tried to set the flag size-buckets as it looks that it exists https://github.com/kubernetes/ingress-nginx/blob/main/cmd/nginx/flags.go and according that feature described here #7171.
The ingress-nginx deployment is successful but the pod is not starting and get the following message in pod logs "unknown flag: --size-buckets".
If try to use other flag, e.g. "enable-metrics" it works and accept the flag.
According the documentation at https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/cli-arguments.md, the flags time-buckets, length-buckets, size-buckets are not listed in list of arguments.
So the question is, how can I set these flags?
The text was updated successfully, but these errors were encountered: