2020-03-31 04:35:07 +00:00
---
title: "Deploying apps"
weight: 2
description: >
How to deploy an application to minikube
2020-04-04 23:25:53 +00:00
aliases:
- /docs/tasks/addons
2020-04-11 00:38:09 +00:00
- /Handbook/addons
2020-03-31 04:35:07 +00:00
---
## kubectl
2020-12-01 20:09:16 +00:00
```shell
2020-03-31 04:35:07 +00:00
kubectl create deployment hello-minikube1 --image=k8s.gcr.io/echoserver:1.4
kubectl expose deployment hello-minikube1 --type=LoadBalancer --port=8080
```
## Addons
minikube has a built-in list of applications and services that may be easily deployed, such as Istio or Ingress. To list the available addons for your version of minikube:
```shell
minikube addons list
```
To enable an add-on, see:
```shell
minikube addons enable < name >
```
2020-04-28 09:18:57 +00:00
To enable an addon at start-up, where *--addons* option can be specified multiple times:
2020-03-31 04:35:07 +00:00
```shell
2020-04-28 09:18:57 +00:00
minikube start --addons < name1 > --addons < name2 >
2020-03-31 04:35:07 +00:00
```
For addons that expose a browser endpoint, you can quickly open them with:
```shell
minikube addons open < name >
```
To disable an addon:
```shell
minikube addons disable < name >
```