-
Notifications
You must be signed in to change notification settings - Fork 90
Deploying to Minikube docs #970
Deploying to Minikube docs #970
Conversation
@andreaTP can u please have a look? |
|
||
* Enable insecure registries in Minikube. | ||
* Enable the `registry` Minikube addon. | ||
* Configure Docker ot use the insecure registry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Configure Docker ot use the insecure registry. | |
* Configure Docker to use the insecure registry. |
|
||
Configure Docker to use the Minikube registry as insecure registry by adding it to | ||
the `daemon.json` file, whose default location is `/etc/docker/daemon.json` on Linux. | ||
If the `daemon.json` file does not exist, create it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some information on how to do this for Windows / Mac, some details here: https://docs.docker.com/registry/insecure/#deploy-a-plain-http-registry (and probably smart to link to this page)
the `daemon.json` file, whose default location is `/etc/docker/daemon.json` on Linux. | ||
If the `daemon.json` file does not exist, create it. | ||
|
||
Replace `MINIKUBE_IP` with the actual Minikube VM ip obtained via `Minikube ip`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace `MINIKUBE_IP` with the actual Minikube VM ip obtained via `Minikube ip`. | |
Replace `MINIKUBE_IP` with the actual Minikube VM ip obtained via `minikube ip`. |
docker push $(minikube ip):5000/sensor-data-scala:0.1 | ||
|
||
At this point, the Docker image containing the streamlets has been published to the Minikube Docker registry. | ||
The `sensor-data-scala.json` file that the build produces contains the application descriptor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The `sensor-data-scala.json` file that the build produces contains the application descriptor. | |
The `sensor-data-scala.json` file that the build produces, contains the application descriptor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments and suggestions. otherwise good to go, thanks @leozilla !
@RayRoestenburg thanks for the fast feedback! I just incorporated your suggestions. |
You can check the docs with which looks good to me for now. |
Thanks @leozilla ! |
What changes were proposed in this pull request?
Documentation howto deploy an application to Minikube.
Refers to: #967
Why are the changes needed?
No documentation for this was present and its not trivial to find out how to deploy to Minikube.
Does this PR introduce any user-facing change?
Yes, its adding Documentation.
How was this patch tested?
By creating the docs locally and checking it manually.
There is still one thing left which does not work:
Input on the documentation is highly appreciated.