-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Create Knative-with-MicroK8s.md #1747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
dfa037a
f546313
e708d76
c783a14
df5506b
1092b87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| --- | ||
| title: "Install on MicroK8s" | ||
| linkTitle: "MicroK8s" | ||
| weight: 10 | ||
| type: "docs" | ||
| --- | ||
|
|
||
| [MicroK8s](https://microk8s.io) is a lightweight, powerful fully-conformant Kubernetes that tracks upstream releases and makes clustering trivial. It can run on any flavor of Linux that supports [Snap](https://snapcraft.io) packages. It can run on Windows and Mac OS using [Mutlipass](https://multipass.run). | ||
| This guide walks you through the installation of Knative using MicroK8s. | ||
|
|
||
| If you need help or support please reach out on the [Kubernetes forum](https://discuss.kubernetes.io/tags/microk8s) or Kubernetes.slack.com channel #microk8s. | ||
| Additionally if you wish to contribute or report an issue please visit [MicroK8s Github](https://github.com/ubuntu/microk8s). | ||
|
|
||
| You can find [guides for other platforms here](./README.md). | ||
|
|
||
| ### Install MicroK8s | ||
|
|
||
| ```shell | ||
| sudo snap install --classic microk8s | ||
| ``` | ||
|
|
||
| ## Alias MicroK8s kubectl for convenience | ||
|
|
||
| ```shell | ||
| sudo snap alias microk8s.kubectl kubectl | ||
| ``` | ||
|
|
||
| ## Enable Knative | ||
|
|
||
| ```shell | ||
| echo 'N;' | microk8s.enable knative | ||
| ``` | ||
|
Contributor
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. Can you add a description of what gets installed and which version. This feels a bit too magical with little information 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. +1 It would be great to know what version gets installed and how this will be kept up-to-date.
Contributor
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. @ammarn911 Can you explicitly list what gets installed with this command? With that change, I'll be able to approve and LGTM this so it merges.
Contributor
Author
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. @samodell done. Added what gets installed; Knative Serving v0.7.1 and Knative Eventing v0.7.1
Contributor
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. @ammarn911 do you know if these versions are updated and reflect the current versions? |
||
| This command will install Knative Serving version 0.7.1 and Eventing version 0.7.1 components. | ||
|
|
||
| NOTE: As of this writing, MicroK8s comes with version 0.7.1, this doc will be updated to reflect versioning changes. | ||
|
|
||
| You can check the status of Knative pods using the following commands: | ||
|
|
||
| ```shell | ||
| kubectl get pods -n knative-serving | ||
| ``` | ||
|
|
||
| ```shell | ||
| kubectl get pods -n knative-eventing | ||
| ``` | ||
|
|
||
| ```shell | ||
| kubectl get pods -n knative-monitoring | ||
| ``` | ||
|
|
||
| ## Cleaning up | ||
|
|
||
| Knative can be removed from MicroK8s using the following command: | ||
|
|
||
| ```shell | ||
| sudo microk8s.disable knative | ||
| ``` | ||
|
|
||
| To delete MicroK8s along with Knative, Istio, and any deployed apps run: | ||
|
|
||
| ```shell | ||
| sudo snap remove microk8s | ||
| ``` | ||
ammarn911 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Uh oh!
There was an error while loading. Please reload this page.