Project: Kui (App Definition and Development / Application Definition & Image Build)
File: wizard-steps-in-topmatter.md

wizard: steps: name: Prepare local Kubernetes cluster match: Run the Knative quickstart plugin name: TestRewritingOfStepName description: This will quickly set up Knative against kind or minikube name: Install the Knative quickstart plugin description: TestDescription2 Next steps WizardDescriptionInTopmatter Following this quickstart tutorial provides you with a simplified, local Knative installation by using the Knative `quickstart` plugin. <!-- Snippet used in the following topics: /docs/getting-started/quickstart-install.md /docs/install/quickstart-install.md --> To get started, install the Knative `quickstart` plugin: === "Using Homebrew" Do one of the following: To install the `quickstart` plugin by using {target=_blank}, run the command (Use `brew upgrade` instead if you are upgrading from a previous version): ```bash brew install knative-sandbox/kn-plugins/quickstart ``` === "Using a binary" Download the binary for your system from the {target=_blank}. Rename the file to remove the OS and architecture information. For example, rename `kn-quickstart-amd64` to `kn-quickstart`. Make the plugin executable. For example, `chmod +x kn-quickstart`. Move the executable binary file to a directory on your `PATH` by running the command: ```bash mv kn-quickstart /usr/local/bin ``` Verify that the plugin is working by running the command: ```bash kn quickstart --help ``` === "Using Go" Check out the `kn-plugin-quickstart` repository: ```bash git clone https://github.com/knative-sandbox/kn-plugin-quickstart.git cd kn-plugin-quickstart/ ``` Build an executable binary: ```bash hack/build.sh ``` Move the executable binary file to a directory on your `PATH`: ```bash mv kn-quickstart /usr/local/bin ``` Verify that the plugin is working by running the command: ```bash kn quickstart --help ``` The `quickstart` plugin completes the following functions: Checks if you have the selected Kubernetes instance installed Creates a cluster called `knative` Installs Knative Serving with Kourier as the default networking layer, and sslip.io as the DNS Installs Knative Eventing and creates an in-memory Broker and Channel implementation To get a local deployment of Knative, run the `quickstart` plugin: === "Using kind" Install Knative and Kubernetes using by running: ```bash kn quickstart kind ``` After the plugin is finished, verify you have a cluster called `knative`: ```bash kind get clusters ``` === "Using minikube" Install Knative and Kubernetes in a instance by running: !!! note The minikube cluster will be created with 6&nbsp;GB of RAM. If you don't have enough memory, you can change to a different value not lower than 3&nbsp;GB by running the command `minikube config set memory 3078` before this command. ```bash kn quickstart minikube ``` The output of the previous command asked you to run minikube tunnel. Run the following command to start the process in a secondary terminal window, then return to the primary window and press enter to continue: ```bash minikube tunnel --profile knative ``` The tunnel must continue to run in a terminal window any time you are using your Knative `quickstart` environment. The tunnel command is required because it allows your cluster to access Knative ingress service as a LoadBalancer from your host computer. !!! note To terminate the tunnel process and clean up network routes, enter `Ctrl-C`. For more information about the `minikube tunnel` command, see the . After the plugin is finished, verify you have a cluster called `knative`: ```bash minikube profile list ``` Now that you have installed Knative, you can learn how to deploy your first Knative Service in the next topic in this tutorial.