Skip to content

Commit

Permalink
Retired Addon heaspter is not in use
Browse files Browse the repository at this point in the history
Fixes #5017. As per discussion, needed a rebase and this PR is rebased
to latest master.
  • Loading branch information
Ruslan Gustomiasov authored and rajalokan committed Oct 10, 2019
1 parent 5c6f33b commit 7328332
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 276 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
4 changes: 0 additions & 4 deletions cmd/minikube/cmd/config/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ func TestIsAddonAlreadySet(t *testing.T) {
addonName: "ingress",
expectErr: "addon ingress was already ",
},
{
addonName: "heapster",
expectErr: "addon heapster was already ",
},
}

for _, test := range testCases {
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 7328332

Please sign in to comment.