From 650e84e0c4f23401c688bd46192176b0edf8e9a5 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Tue, 3 Oct 2017 00:42:54 +0530 Subject: [PATCH] explain how to enable heapster on minikube (#5710) * explain how to enable heapster on minikube The docs which ask user to see if heapster is running, this commit adds explanation of how you can enable heapster on minikube Kubernetes cluster. * Update assign-cpu-resource.md * Update assign-memory-resource.md --- docs/tasks/configure-pod-container/assign-cpu-resource.md | 6 ++++++ .../tasks/configure-pod-container/assign-memory-resource.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docs/tasks/configure-pod-container/assign-cpu-resource.md b/docs/tasks/configure-pod-container/assign-cpu-resource.md index c99321a9af..901c4e314d 100644 --- a/docs/tasks/configure-pod-container/assign-cpu-resource.md +++ b/docs/tasks/configure-pod-container/assign-cpu-resource.md @@ -23,6 +23,12 @@ A few of the steps on this page require that the in your cluster. But if you don't have Heapster running, you can do most of the steps, and it won't be a problem if you skip the Heapster steps. +If you are running minikube, run the following command to enable heapster: + +```shell +minikube addons enable heapster +``` + To see whether the Heapster service is running, enter this command: ```shell diff --git a/docs/tasks/configure-pod-container/assign-memory-resource.md b/docs/tasks/configure-pod-container/assign-memory-resource.md index 7fda6fd170..c28be6e19f 100644 --- a/docs/tasks/configure-pod-container/assign-memory-resource.md +++ b/docs/tasks/configure-pod-container/assign-memory-resource.md @@ -22,6 +22,12 @@ A few of the steps on this page require that the in your cluster. But if you don't have Heapster running, you can do most of the steps, and it won't be a problem if you skip the Heapster steps. +If you are running minikube, run the following command to enable heapster: + +```shell +minikube addons enable heapster +``` + To see whether the Heapster service is running, enter this command: ```shell