Kubernetes Metrics Server Operations: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
<syntaxhighlight lang='text'> | <syntaxhighlight lang='text'> | ||
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.7/components.yaml | kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.7/components.yaml | ||
</syntaxhighlight> | |||
If configuration needs to be changed, pull the file locally and install it with: | |||
<syntaxhighlight lang='text'> | |||
kubectl apply -f ./components.yaml | |||
clusterrole.rbac.authorization.k8s.io/system:aggregated-metrics-reader created | clusterrole.rbac.authorization.k8s.io/system:aggregated-metrics-reader created | ||
Line 19: | Line 23: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
It is deployed in the 'kube-system' namespace. | It is deployed in the 'kube-system' namespace. | ||
===Uninstall=== | ===Uninstall=== | ||
Revision as of 01:35, 6 October 2020
Internal
Installation
Docker Desktop Kubernetes
Install
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.7/components.yaml
If configuration needs to be changed, pull the file locally and install it with:
kubectl apply -f ./components.yaml
clusterrole.rbac.authorization.k8s.io/system:aggregated-metrics-reader created
clusterrolebinding.rbac.authorization.k8s.io/metrics-server:system:auth-delegator created
rolebinding.rbac.authorization.k8s.io/metrics-server-auth-reader created
apiservice.apiregistration.k8s.io/v1beta1.metrics.k8s.io created
serviceaccount/metrics-server created
deployment.apps/metrics-server created
service/metrics-server created
clusterrole.rbac.authorization.k8s.io/system:metrics-server created
clusterrolebinding.rbac.authorization.k8s.io/system:metrics-server created
It is deployed in the 'kube-system' namespace.