Skip to content

Commit

Permalink
Merge pull request #5243 from rajalokan/remove-heapster
Browse files Browse the repository at this point in the history
Remove heapster addon
  • Loading branch information
sharifelgamal authored Nov 6, 2019
2 parents a583cbe + ccc2042 commit 6ff6870
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 273 deletions.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/config/addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
var AddonsCmd = &cobra.Command{
Use: "addons SUBCOMMAND [flags]",
Short: "Modify minikube's kubernetes addons",
Long: `addons modifies minikube addons files using subcommands like "minikube addons enable heapster"`,
Long: `addons modifies minikube addons files using subcommands like "minikube addons enable dashboard"`,
Run: func(cmd *cobra.Command, args []string) {
if err := cmd.Help(); err != nil {
glog.Errorf("help: %v", err)
Expand Down
6 changes: 0 additions & 6 deletions cmd/minikube/cmd/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,6 @@ var settings = []Setting{
validations: []setFn{IsValidAddon},
callbacks: []setFn{EnableOrDisableStorageClasses},
},
{
name: "heapster",
set: SetBool,
validations: []setFn{IsValidAddon},
callbacks: []setFn{EnableOrDisableAddon},
},
{
name: "efk",
set: SetBool,
Expand Down
3 changes: 2 additions & 1 deletion cmd/minikube/cmd/config/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ func TestIsAddonAlreadySet(t *testing.T) {
{
addonName: "ingress",
},

{
addonName: "heapster",
addonName: "registry",
},
}

Expand Down
34 changes: 0 additions & 34 deletions deploy/addons/heapster/grafana-svc.yaml.tmpl

This file was deleted.

54 changes: 0 additions & 54 deletions deploy/addons/heapster/heapster-rc.yaml.tmpl

This file was deleted.

31 changes: 0 additions & 31 deletions deploy/addons/heapster/heapster-svc.yaml.tmpl

This file was deleted.

75 changes: 0 additions & 75 deletions deploy/addons/heapster/influx-grafana-rc.yaml.tmpl

This file was deleted.

34 changes: 0 additions & 34 deletions deploy/addons/heapster/influxdb-svc.yaml.tmpl

This file was deleted.

32 changes: 0 additions & 32 deletions pkg/minikube/assets/addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,38 +132,6 @@ var Addons = map[string]*Addon{
"0640",
false),
}, false, "storage-provisioner-gluster"),
"heapster": NewAddon([]*BinAsset{
MustBinAsset(
"deploy/addons/heapster/influx-grafana-rc.yaml.tmpl",
vmpath.GuestAddonsDir,
"influxGrafana-rc.yaml",
"0640",
true),
MustBinAsset(
"deploy/addons/heapster/grafana-svc.yaml.tmpl",
vmpath.GuestAddonsDir,
"grafana-svc.yaml",
"0640",
false),
MustBinAsset(
"deploy/addons/heapster/influxdb-svc.yaml.tmpl",
vmpath.GuestAddonsDir,
"influxdb-svc.yaml",
"0640",
false),
MustBinAsset(
"deploy/addons/heapster/heapster-rc.yaml.tmpl",
vmpath.GuestAddonsDir,
"heapster-rc.yaml",
"0640",
true),
MustBinAsset(
"deploy/addons/heapster/heapster-svc.yaml.tmpl",
vmpath.GuestAddonsDir,
"heapster-svc.yaml",
"0640",
false),
}, false, "heapster"),
"efk": NewAddon([]*BinAsset{
MustBinAsset(
"deploy/addons/efk/elasticsearch-rc.yaml.tmpl",
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/Reference/Commands/addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ linkTitle: "addons"
weight: 1
date: 2019-08-01
description: >
Modifies minikube addons files using subcommands like "minikube addons enable heapster"
Modifies minikube addons files using subcommands like "minikube addons enable dashboard"
---

## Overview
Expand Down
1 change: 0 additions & 1 deletion site/content/en/docs/Reference/Commands/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Configurable fields:
* dashboard
* addon-manager
* default-storageclass
* heapster
* efk
* ingress
* registry
Expand Down
1 change: 0 additions & 1 deletion site/content/en/docs/Reference/Configuration/minikube.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ Configurable fields:
* dashboard
* addon-manager
* default-storageclass
* heapster
* efk
* ingress
* registry
Expand Down
2 changes: 0 additions & 2 deletions site/content/en/docs/Tasks/addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ minikube has a set of built-in addons that, when enabled, can be used within Kub
## Available addons

* [Kubernetes Dashboard](https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dashboard)
* [Heapster](https://github.com/kubernetes/heapster): [Troubleshooting Guide](https://github.com/kubernetes/heapster/blob/master/docs/influxdb.md) Note:You will need to login to Grafana as admin/admin in order to access the console
* [EFK](https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/fluentd-elasticsearch)
* [Registry](https://github.com/kubernetes/minikube/tree/master/deploy/addons/registry)
* [Registry Credentials](https://github.com/upmc-enterprises/registry-creds)
Expand Down Expand Up @@ -39,7 +38,6 @@ Example output:
- freshpod: disabled
- addon-manager: enabled
- dashboard: enabled
- heapster: disabled
- efk: disabled
- ingress: disabled
- default-storageclass: enabled
Expand Down

0 comments on commit 6ff6870

Please sign in to comment.