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

https://github.com/mchirico/minikube_common_commands

Minikube -- Common commands, tips and tricks.
https://github.com/mchirico/minikube_common_commands

docker kubernetes tutorial

Last synced: about 2 months ago
JSON representation

Minikube -- Common commands, tips and tricks.

Awesome Lists containing this project

README

          

# minikube common commands

## Pulling GCP Images

To pull images from Google Cloud Platform, GCP, you'll need to create and
download a gcr-json-key.


[drawing](https://player.vimeo.com/video/312422908)


Below I've download and named by key `mchirico-gcrpull2.json` and copied it into
a directory I created called `.pullK`


```bash
kubectl create secret docker-registry gcr-json-key \
--docker-server=us.gcr.io \
--docker-username=_json_key \
--docker-password="$(cat ~/.pullK/mchirico-gcrpull2.json)" \
--docker-email=mchirico@gmail.com
```

Next, you'll need to update the default serviceaccount.

```bash
kubectl patch serviceaccount default \
-p '{"imagePullSecrets": [{"name": "gcr-json-key"}]}'

```

Now, if you run `minikube dashboard`, you'll see the following entry.

```bash
minikube dashboard
```

drawing

## Without VM Support

[ref](https://github.com/kubernetes/minikube#linux-continuous-integration-without-vm-support)