This repository was archived by the owner on Dec 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
documentation for running event-gateway on k8s #498
Merged
Merged
Changes from 28 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
2ad08d1
adding more changes to README
sebito91 2f0c593
interim commit for more README updates
sebito91 ebb4f53
more updates to README
sebito91 0eb794c
adding in fedora section
sebito91 dc2f511
moving README one level higher
sebito91 fa79548
adding in ports description
sebito91 f7a1d7d
breaking up lines a bit
sebito91 ee5abf9
fixing the event url
sebito91 08570dd
adding in dev flag for running
sebito91 aacd0c9
adding example function register
sebito91 4d696d3
updating data
sebito91 6f3842e
updating for typo
sebito91 4bb0f4e
cleaning up k8s content
sebito91 29c5b8f
updating based on feedback
sebito91 c2df1e0
interim commit for k8s
sebito91 f9e143d
cleaning up helm files
sebito91 8cec6b0
moving to template variables
sebito91 e26e418
initial commit minikube readme
sebito91 22d2ed2
updating README
sebito91 ee9f732
updating number
sebito91 54dc823
updating formatting
sebito91 347c8b2
more formatting
sebito91 c1e699d
updating based upon feedback
sebito91 2040648
updating with trigger
sebito91 03b1bbc
updating the TOC
sebito91 ed8c510
updating based upon further feedback
sebito91 c46f730
updating with more feedback
sebito91 16765e8
updating to query all event types
sebito91 25a3e38
updating the README for the contrib level folder
sebito91 554216f
updating to builleted items
sebito91 0ba45ab
removing extraneous reference
sebito91 2153ab0
updating README with feedback
sebito91 1b8a70f
cleaning up doublenote
sebito91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Event Gateway on Kubernetes (minikube) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doc is about setting up minikube. I think we should rename the title. |
||
|
||
To develop and deploy the `event-gateway` and all related elements locally, the easiest method includes using | ||
the [minikube](https://github.com/kubernetes/minikube) toolset. To get started, set up your local cluster with the | ||
following instructions... | ||
|
||
## Contents | ||
1. [Fedora/RHEL/CentOS](#fedora-rhel-centos) | ||
1. [Debian/Ubuntu](#debian-ubuntu) | ||
1. [MacOS](#macos) | ||
|
||
### Fedora/RHEL/CentOS | ||
+ Install the prerequisite packages: | ||
```bash | ||
sudo dnf install kubernetes libvirt-daemon-kvm qemu-kvm nodejs docker | ||
``` | ||
|
||
+ Ensure your user is added to the `libvirt` group for VM access. You can verify with `getent group libvirt` once done. | ||
```bash | ||
sudo usermod -a -G libvirt $(whoami) | ||
``` | ||
|
||
+ Next, add the `libvirt` group to your current user grouplist. Verify by running `id` once done. | ||
```bash | ||
newgrp libvirt | ||
``` | ||
|
||
+ Add the [docker-machine](https://github.com/docker/machine) binary to your system | ||
```bash | ||
curl -L https://github.com/docker/machine/releases/download/v0.15.0/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine && \ | ||
chmod +x /tmp/docker-machine && \ | ||
sudo cp /tmp/docker-machine /usr/local/bin/docker-machine | ||
``` | ||
|
||
+ Add the CentOS `docker-machine` kvm driver. It's ok if you're not using CentOS as the driver should **still work**™ | ||
```bash | ||
sudo curl -L https://github.com/dhiltgen/docker-machine-kvm/releases/download/v0.10.0/docker-machine-driver-kvm-centos7 > /tmp/docker-machine-driver-kvm && \ | ||
sudo chmod +x /tmp/docker-machine-driver-kvm && \ | ||
sudo mv /tmp/docker-machine-driver-kvm /usr/local/bin/docker-machine-driver-kvm | ||
``` | ||
|
||
+ Download the minikube instance for your system | ||
```bash | ||
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \ | ||
sudo chmod +x minikube && \ | ||
sudo mv minikube /usr/local/bin/ | ||
``` | ||
|
||
+ Finally, start up your minikube service! **NOTE:** the instructions recommend using `kvm2` but please use the version that matches your system install | ||
```bash | ||
minikube start --vm-driver kvm2 | ||
``` | ||
|
||
+ Once everything is running you should be able to view your running cluster status | ||
```bash | ||
minikube status | ||
minikube service kubernetes-dashboard --namespace kube-system | ||
``` | ||
|
||
### Debian/Ubuntu | ||
|
||
PENDING | ||
|
||
### MacOS | ||
|
||
PENDING |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We do not point to the long readme file here. Only to MINIKUBE guide. I think it's worth to link "
helm
chart" to the /contrib/helm dir.