mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 06:47:24 +08:00
* Update NOTES.txt * Add namespace to helm upgrade command and unify format --namespace vs -n Co-authored-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
** Please be patient while the chart is being deployed **
|
|
|
|
The metric server has been deployed.
|
|
{{ if or .Values.apiService.create (.Capabilities.APIVersions.Has "metrics.k8s.io/v1beta1") }}
|
|
In a few minutes you should be able to list metrics using the following
|
|
command:
|
|
|
|
kubectl get --raw "/apis/metrics.k8s.io/v1beta1/nodes"
|
|
{{ else }}
|
|
########################################################################################
|
|
### ERROR: The metrics.k8s.io/v1beta1 API service is not enabled in the cluster ###
|
|
########################################################################################
|
|
You have disabled the API service creation for this release. As the Kubernetes version in the cluster
|
|
does not have metrics.k8s.io/v1beta1, the metrics API will not work with this release unless:
|
|
|
|
Option A:
|
|
|
|
You complete your metrics-server release by running:
|
|
|
|
helm upgrade --namespace {{ .Release.Namespace }} {{ .Release.Name }} bitnami/metrics-server \
|
|
--set apiService.create=true
|
|
|
|
Option B:
|
|
|
|
You configure the metrics API service outside of this Helm chart
|
|
{{- end -}}
|
|
|
|
{{- include "metrics-server.validateValues" . }}
|
|
{{- include "metrics-server.checkRollingTags" . }}
|
|
|