Skip to content

Commit

Permalink
Merge pull request #6937 from raywainman/patch-1
Browse files Browse the repository at this point in the history
Update README.md with details about Prometheus endpoint
  • Loading branch information
k8s-ci-robot authored Jun 18, 2024
2 parents 69675bd + de14406 commit 4a65567
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addon-resizer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Usage of pod_nanny:
--storage="MISSING": The base storage resource requirement.
--threshold=0: A number between 0-100. The dependent's resources are rewritten when they deviate from expected by more than threshold.
--use-metrics=false: Whether to use apiserver metrics to detect cluster size instead of the default method of listing resources from the Kubernetes API.
--expose-metrics=true: Whether to expose Prometheus metrics about addon-resizer on the port specified by the address flag.
--address=8945: If expose-metrics is true, this is the port where we expose Prometheus metrics.
```

Estimators:
Expand Down Expand Up @@ -103,6 +105,7 @@ spec:
- --extra-memory=10Mi
- --threshold=5
- --deployment=nanny-v1
- --expose-metrics=true
volumes:
- name: nanny-config-volume
configMap:
Expand Down

0 comments on commit 4a65567

Please sign in to comment.