Minikube Addons Management¶
Minikube provides a mechanism to extend the functionality of a local Kubernetes cluster through addons^[400-devops-06-kubernetes-minikube-01-install.md]. These are pre-packaged components that can be easily enabled or disabled depending on development requirements^[400-devops-06-kubernetes-minikube-01-install.md].
Managing Addons¶
The primary interface for managing these extensions is the minikube addons command suite^[400-devops-06-kubernetes-minikube-01-install.md].
Listing Available Addons¶
Users can view all available addons and their current status using the list command^[400-devops-06-kubernetes-minikube-01-install.md].
[Minikube](<./minikube.md>) addons list
This command outputs a table detailing the Addon Name, Profile (usually minikube), Status (enabled or disabled), and the Maintainer^[400-devops-06-kubernetes-minikube-01-install.md].
Automatic Installation¶
Addons can be configured to install automatically during the cluster initialization process^[400-devops-06-kubernetes-minikube-01-install.md]. By including the --install-addons=true flag when starting the cluster, Minikube ensures that the specified or default extensions are provisioned immediately^[400-devops-06-kubernetes-minikube-01-install.md].
Enabling at Runtime¶
Specific addons can be enabled at the moment the cluster starts by passing the --addons flag followed by a comma-separated list of addon names^[400-devops-06-kubernetes-minikube-01-install.md].
For example, to enable the Ingress addon during startup:
[Minikube](<./minikube.md>) start --addons=ingress
Common Addons¶
By default, certain core addons are enabled to ensure basic cluster functionality^[400-devops-06-kubernetes-minikube-01-install.md].
- storage-provisioner: Enabled by default, this handles the Dynamic Provisioning of Persistent Volumes^[400-devops-06-kubernetes-minikube-01-install.md].
- default-storageclass: Enabled by default, this sets up the default StorageClass used by the cluster^[400-devops-06-kubernetes-minikube-01-install.md].
- ingress: Often enabled manually via flags, this provides an Ingress Controller for routing external HTTP/S traffic to services within the cluster^[400-devops-06-kubernetes-minikube-01-install.md].
Related Concepts¶
Sources¶
^[400-devops-06-kubernetes-minikube-01-install.md]