addons.md 2.9 KB
Newer Older
1
# Add-ons
M
Matt Rickard 已提交
2

3
Minikube has a set of built in addons that can be used enabled, disabled, and opened inside of the local k8s environment. Below is an example of this functionality for the `heapster` addon:
4

M
Matt Rickard 已提交
5 6
```shell
$ minikube addons list
7
- registry: disabled
M
Matt Rickard 已提交
8
- registry-creds: disabled
K
kairen 已提交
9
- freshpod: disabled
10
- addon-manager: enabled
K
kairen 已提交
11
- dashboard: enabled
12 13 14
- heapster: disabled
- efk: disabled
- ingress: disabled
K
kairen 已提交
15 16
- default-storageclass: enabled
- storage-provisioner: enabled
17
- storage-provisioner-gluster: disabled
18 19
- nvidia-driver-installer: disabled
- nvidia-gpu-device-plugin: disabled
M
Matt Rickard 已提交
20 21 22 23 24 25 26 27 28 29

# minikube must be running for these commands to take effect
$ minikube addons enable heapster
heapster was successfully enabled

$ minikube addons open heapster # This will open grafana (interacting w/ heapster) in the browser
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Created new window in existing browser session.
```
30

M
Matt Rickard 已提交
31 32 33 34
The currently supported addons include:

* [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
K
kairen 已提交
35
* [EFK](https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/fluentd-elasticsearch)
M
Matt Rickard 已提交
36
* [Registry](https://github.com/kubernetes/minikube/tree/master/deploy/addons/registry)
M
Matt Rickard 已提交
37
* [Registry Credentials](https://github.com/upmc-enterprises/registry-creds)
38
* [Ingress](https://github.com/kubernetes/ingress-nginx)
K
kairen 已提交
39
* [Freshpod](https://github.com/GoogleCloudPlatform/freshpod)
40 41
* [nvidia-driver-installer](https://github.com/GoogleCloudPlatform/container-engine-accelerators/tree/master/nvidia-driver-installer/minikube)
* [nvidia-gpu-device-plugin](https://github.com/GoogleCloudPlatform/container-engine-accelerators/tree/master/cmd/nvidia_gpu)
I
ivans3 已提交
42
* [logviewer](https://github.com/ivans3/minikube-log-viewer)
43
* [gvisor](../deploy/addons/gvisor/README.md)
44
* [storage-provisioner-gluster](../deploy/addons/storage-provisioner-gluster/README.md)
M
Matt Rickard 已提交
45

46
If you would like to have minikube properly start/restart custom addons, place the addon(s) you wish to be launched with minikube in the `.minikube/addons` directory. Addons in this folder will be moved to the minikube VM and launched each time minikube is started/restarted.
M
Matt Rickard 已提交
47

A
Andreas Kohn 已提交
48
If you have a request for an addon in minikube, please open an issue with the name and preferably a link to the addon with a description of its purpose and why it should be added.  You can also attempt to add the addon to minikube by following the guide at [Adding an Addon](contributors/adding_an_addon.md)
L
Lena Brüder 已提交
49 50

**Note:** If you want to have a look at the default configuration for the addons, see [deploy/addons](https://github.com/kubernetes/minikube/tree/master/deploy/addons).