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.
- Host: GitHub
- URL: https://github.com/mchirico/minikube_common_commands
- Owner: mchirico
- License: apache-2.0
- Created: 2019-01-20T22:25:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-25T02:57:22.000Z (about 7 years ago)
- Last Synced: 2025-06-27T21:46:56.437Z (12 months ago)
- Topics: docker, kubernetes, tutorial
- Language: Dockerfile
- Homepage:
- Size: 1.08 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
[
](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
```

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