An open API service indexing awesome lists of open source software.

https://github.com/sshaplygin/start-k8s

Notes by articls https://habr.com/ru/companies/avito/articles/820953/
https://github.com/sshaplygin/start-k8s

Last synced: 10 months ago
JSON representation

Notes by articls https://habr.com/ru/companies/avito/articles/820953/

Awesome Lists containing this project

README

          

# start k8s with mikikube

by

install minikube

## Minibube config

```bash
eval $(minikube -p minikube docker-env)
```

check mikibube images by: docker images

## Build images

```bash
docker build -t kubeapp1:v1 kubeapp1/.
docker build -t kubeapp2:v1 kubeapp2/.
```

## Add NodePort

```bash
k expose --type=NodePort -n app2 deployment/kubeapp2
```

```bash
minikube service kubeapp1 -n app1 --url | curl /hello
```