Commit Graph

56 Commits

Author SHA1 Message Date
Davanum Srinivas
50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
Marek Siarkowicz
5dda60d6d1 Bump Metrics Server to v0.5.2 2021-11-17 14:51:51 +01:00
shuaichen
3d620192d9 Use 10250 as targetPort for metrics-server
Metrics-server's usage of privileged port 443 as targetPort requires
elevated permissions than necessary and violates principle of least
privilege.
2021-10-28 03:10:15 +00:00
cyclinder
3e426355b9 bump metrics-server to 0.5.1
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2021-09-27 11:18:03 +08:00
Antonio Ojea
0610968bfa bump metrics-server to 0.5.0 2021-07-22 01:13:44 +02:00
Antonio Ojea
c5aead020b cluster: fix CI metrics-server deployment
use deployment based on upstream manifest

- add liveness and readiness probes
- use kubelet port secure port

https://github.com/kubernetes-sigs/metrics-server/blob/release-0.4/manifests/base/deployment.yaml#L32-L38
2021-07-22 01:06:04 +02:00
Joachim Bartosik
3fadea4ea2 Bump version of Addon Resizer used by Metrics Server
To pull in two fixes it needs to continue working in 1.22:

- Updated dependencies,
- Using new metric for getting node count.
2021-07-07 14:48:52 +02:00
Kubernetes Prow Robot
ccbb7dbe54
Merge pull request #102070 from bskiba/master
Update addon resizer to 1.8.13
2021-05-24 13:38:41 -07:00
Beata Lach (Skiba)
7d2e6d7ba9 Update addon resizer to 1.8.13
Needed to fix https://github.com/kubernetes/autoscaler/issues/3567
2021-05-24 18:58:08 +02:00
olagacek
a492762995
Set poll period of metrics server nanny to 30s
Set poll period of fetching changes from k8s api of metrics server nanny to 30s. 
This will enable faster scaling of metrics server
2021-05-10 15:59:31 +02:00
Daniel Kłobuszewski
447b0ca705 Bump metrics server to use 0.4.4 image. 2021-04-30 09:13:39 +02:00
Ziyuan Chen
7a5508c0a7 bump metrics server version to v0.3.7 and make it multi-arch
Bumping the metrics-server version to v0.3.7. In this version,
metrics-server started building multi-arch images. To properly support
non-amd64 nodes, we should bump the version and remove the -amd64 in the
image path. (https://github.com/kubernetes-sigs/metrics-server/pull/492)

```release-note
metrics-server now uses v0.3.7 and supports multi-arch Kubernetes nodes.
```
2021-04-27 20:48:21 +00:00
Paulo Gomes
8f8f1bad72
Update yaml files to use seccomp GA syntax 2020-08-13 08:45:36 +01:00
Mateusz Matejczyk
e07f2a6b1d Bump addon-resizer for metrics-server to 1.8.11
The current version, 1.8.10, is vulnerable to https://github.com/kubernetes/autoscaler/issues/3294
2020-07-10 08:34:55 +02:00
wojtekt
b1f4bfb03e Bump addon-resizer image 2020-06-04 19:28:07 +02:00
wojtekt
5d93888f20 Bump addon resizer to 1.8.9 version 2020-05-28 19:37:01 +02:00
Kubernetes Prow Robot
082883cba3
Merge pull request #83362 from wawa0210/zx-metrics
Bind metrics-server containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
2019-12-09 03:10:02 -08:00
Beata Skiba
366e053e28 Switch addon resizer to 1.8.7 2019-11-29 16:50:51 +01:00
Aleksandra Gacek
e70d0e25ea bump metrics server version o v0.3.6 2019-10-14 16:43:26 +02:00
xiaozhang
ec3a38758c Bind metrics-server containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes 2019-10-13 09:13:43 +08:00
wojtekt
e0f1df5b09 Bump addon-resizer to 1.8.6 2019-09-26 10:00:59 +02:00
Aleksandra Gacek
236ed4d63a Bump metrics-server version to v0.3.5 2019-09-23 11:08:10 +02:00
Aleksandra Gacek
d176628b7b bump metrics-server version to v0.3.4 2019-09-04 12:08:56 +02:00
draveness
495faa22db feat: cleanup pod critical pod annotations feature 2019-08-09 08:41:23 +08:00
draveness
d83526d253 Revert "feat: cleanup pod critical pod annotations feature"
This reverts commit b6d41ee5cc.
2019-07-18 13:31:12 +08:00
draveness
b6d41ee5cc feat: cleanup pod critical pod annotations feature 2019-07-11 08:54:19 +08:00
Beata Skiba
cd6cc65236 Addon resizer version 1.8.5
Rebases addon-resizer to distroless
2019-05-27 15:12:29 +02:00
Yuwen Ma
454460f875 Bump metrics-server to v0.3.3 2019-05-15 11:44:45 -07:00
Yuwen Ma
7f629b6921
Bump metrics-server version to v0.3.3 2019-05-07 17:44:23 -07:00
Marek Siarkowicz
2fc8ac9e81 [metrics-server addon] Restore metrics-server using of IP addresses
This preference list matches is used to pick prefered field from k8s
node object. It was introduced in metrics-server 0.3 and changed default
behaviour to use DNS instead of IP addresses. It was merged into k8s
1.12 and caused breaking change by introducing dependency on DNS
configuration.
2019-04-19 11:43:17 +02:00
Brett Elliott
da4a8aa5ce Bump metrics server to v0.3.2 2019-04-11 13:27:14 +02:00
Jordan Liggitt
cc680273e8 Change add-on manifests to apps/v1 2018-12-19 17:30:59 -05:00
Maciej Borsz
2ca6334d45 Update addon-manager to 1.8.4 2018-11-09 08:27:25 +01:00
Solly Ross
13d59fde9e Bump metrics-server to v0.3.1
This fixes an issue with overly aggressive discardings of node data sets
when a single pod is missing data.
2018-09-17 11:34:29 -04:00
Marek Siarkowicz
abe3554db8 Increase metrics-server scrape frequency to 30s 2018-09-03 10:06:17 +02:00
Solly Ross
acf2d8ff1c Update metrics-server to v0.3.0
v0.3.0 is the latest version of metrics-server, and brings a number of
internal stability improvements as well as some bugfixes and features.

NB: this currently disables Kubelet auth entirely, since this setup
needs to work on GKE for the tests, and GKE doesn't support delegated
Kubelet auth yet.  When that's rectified, we can switch this over to
use secure options.
2018-08-30 12:10:09 -04:00
Van Tu
b601a02625 Add comment to clarify the use of the minClusterSize flag. 2018-08-08 13:41:59 -04:00
Van Tu
8bd0a306b5 Templatize the scaling policy for metrics-server
Also update the metrics-server-nanny to use addon resizer 1.8.3 to leverage the
minSizeCluster command line flag. This is a no-op change.
2018-07-22 17:26:59 -04:00
wojtekt
0cf4037714 Bump addon resizer image to 1.8.2 2018-07-05 14:48:58 +02:00
Zhen Wang
27da26754f Use default seccomp profile for addons 2018-05-02 22:50:29 -07:00
Kubernetes Submit Queue
7ef11bd964
Merge pull request #59237 from tanshanshan/addons1
Automatic merge from submit-queue (batch tested with PRs 59767, 56454, 59237, 59730, 55479). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Change critical pods’ template to use priority

**What this PR does / why we need it**:
Change critical pods’ template to use priority
Thanks.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
ref #57471

**Special notes for your reviewer**:

**Release note**:

```release-note

```
2018-02-12 15:44:36 -08:00
tanshanshan
95b2b94b1b Change critical pods’ template to use priority 2018-02-08 15:06:27 +08:00
Tim Hockin
3586986416 Switch to k8s.gcr.io vanity domain
This is the 2nd attempt.  The previous was reverted while we figured out
the regional mirrors (oops).

New plan: k8s.gcr.io is a read-only facade that auto-detects your source
region (us, eu, or asia for now) and pulls from the closest.  To publish
an image, push k8s-staging.gcr.io and it will be synced to the regionals
automatically (similar to today).  For now the staging is an alias to
gcr.io/google_containers (the legacy URL).

When we move off of google-owned projects (working on it), then we just
do a one-time sync, and change the google-internal config, and nobody
outside should notice.

We can, in parallel, change the auto-sync into a manual sync - send a PR
to "promote" something from staging, and a bot activates it.  Nice and
visible, easy to keep track of.
2018-02-07 21:14:19 -08:00
Kubernetes Submit Queue
de694a8aa6
Merge pull request #58391 from kawych/ms_reduction
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Reduce Metrics Server memory requirement

**What this PR does / why we need it**:
Reduces memory requirements of Metrics Server.

This was tested on GCE. On 16 - node cluster with 30 user pods per node, Metrics Server consumes ~60MB of memory. For larger clusters, the base value matters even less, and the memory utilization will be lower, therefore this change is safe.

**Release note**:
```release-note
Reduce Metrics Server memory requirement
```
2018-01-18 06:06:41 -08:00
Karol Wychowaniec
e4869f68f4 Reduce Metrics Server memory requirement 2018-01-17 15:07:43 +01:00
Karol Wychowaniec
6c39b570fb Bump Metrics Server to version v0.2.1 2018-01-02 10:57:53 +01:00
Tim Hockin
e9dd8a68f6 Revert k8s.gcr.io vanity domain
This reverts commit eba5b6092a.

Fixes https://github.com/kubernetes/kubernetes/issues/57526
2017-12-22 14:36:16 -08:00
Kubernetes Submit Queue
dd9bca89ad
Merge pull request #57252 from kawych/ms_res
Automatic merge from submit-queue (batch tested with PRs 57252, 57168). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Reduce CPU and memory requests for Metrics Server Nanny

**What this PR does / why we need it**:
Metrics Server Nanny is a sidecar container that performs small computations every 5 minutes to scale Metrics Server resource requirements when cluster size changes. This change reduces the CPU and memory requests to free up unused resource.

**Release note**:
```release-note
Free up CPU and memory requested but unused by Metrics Server Pod Nanny.
```
2017-12-20 07:48:32 -08:00
Tim Hockin
eba5b6092a Use k8s.gcr.io vanity domain for container images 2017-12-18 09:18:34 -08:00
Karol Wychowaniec
bb159cf26a Reduce CPU and memory requests for Metrics Server Nanny 2017-12-18 11:54:13 +01:00