diff --git a/addons/metrics-server/README.md b/addons/metrics-server/README.md index f2ca0547aac03..f0d18b0bde3a9 100644 --- a/addons/metrics-server/README.md +++ b/addons/metrics-server/README.md @@ -15,6 +15,26 @@ The detailed design of the project can be found in the following docs: For the broader view of monitoring in Kubernetes take a look into [Monitoring architecture](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/instrumentation/monitoring_architecture.md) +## Prerequisites +you must allow service account tokens to communicate with kubelet, edit your cluster configuration +```console +$ kops edit cluster +``` + +add configuration below to your cluster configuration. +``` +kubelet: + anonymousAuth: false + authorizationMode: Webhook + authenticationTokenWebhook: true +``` + +update your cluster +```console +$ kops update cluster --yes +$ kops rolling-update cluster --yes +``` + ## Deployment Compatibility matrix: diff --git a/addons/metrics-server/v1.8.x.yaml b/addons/metrics-server/v1.8.x.yaml index d0b92df91a02c..caf1653be4838 100644 --- a/addons/metrics-server/v1.8.x.yaml +++ b/addons/metrics-server/v1.8.x.yaml @@ -136,7 +136,7 @@ spec: emptyDir: {} containers: - name: metrics-server - image: k8s.gcr.io/metrics-server-amd64:v0.3.2 + image: k8s.gcr.io/metrics-server-amd64:v0.3.6 imagePullPolicy: Always command: - /metrics-server