# Running Hello World Application

## Hello World Deployment in Kubernetes

Open Docker Desktop and run **Docker**.

Open **Terminal** to start **Minikube**.

```
$ minikube start
```

```bash
$ kubectl get all
```

{% hint style="info" %}
&#x20;Lists all the resources present in the cluster, i.e. pods, services, deployments, replicas.&#x20;
{% endhint %}

{% file src="<https://2706222677-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mg-RBIbw2wF_IDwm1S7%2F-Mg-eT5UEM5d-ScyWiDQ%2F-Mg-lXNXhi_7S9fgmLiE%2Fhelloworld.yaml?alt=media&token=2d24ef35-8890-4efa-a8e2-9b4f76995eab>" %}

Use this deployment file for Hello World application.

```bash
$ kubectl create -f helloworld.yaml
```

Expose the deployment as Node port to view in browser.

```bash
$ kubectl expose deployment helloworld --type=NodePort
```

Open your deployment in a browser!!

```bash
$ minikube service helloworld
```
