From 32e276392f8fc7595b4e95a93b8a575b01ebb878 Mon Sep 17 00:00:00 2001 From: Otavio Rodolfo Piske Date: Fri, 14 May 2021 10:42:46 +0200 Subject: [PATCH] Added documentation about installing Camel K on Kind --- docs/modules/ROOT/nav.adoc | 1 + .../ROOT/pages/installation/installation.adoc | 1 + .../modules/ROOT/pages/installation/kind.adoc | 25 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 docs/modules/ROOT/pages/installation/kind.adoc diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 2ff0ffbad4..3f4963280e 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -5,6 +5,7 @@ ** xref:installation/gke.adoc[Google Kubernetes Engine (GKE)] ** xref:installation/openshift.adoc[OpenShift] ** xref:installation/iks.adoc[IBM Kubernetes Service (IKS)] +** xref:installation/kind.adoc[Kind] ** xref:installation/registry/registry.adoc[Configuring Registry] *** xref:installation/registry/digitalocean.adoc[DigitalOcean] *** xref:installation/registry/dockerhub.adoc[Docker Hub] diff --git a/docs/modules/ROOT/pages/installation/installation.adoc b/docs/modules/ROOT/pages/installation/installation.adoc index a2b5781344..8d1f67ba3e 100644 --- a/docs/modules/ROOT/pages/installation/installation.adoc +++ b/docs/modules/ROOT/pages/installation/installation.adoc @@ -17,6 +17,7 @@ before installing it. Customized instructions are needed for the following clust - xref:installation/openshift.adoc[OpenShift] - xref:installation/iks.adoc[IBM Kubernetes Services (IKS)] - xref:installation/k3s.adoc[K3s] +- xref:installation/kind.adoc[Kind] Other cluster types (such as OpenShift clusters) should *not need* prior configuration. diff --git a/docs/modules/ROOT/pages/installation/kind.adoc b/docs/modules/ROOT/pages/installation/kind.adoc new file mode 100644 index 0000000000..eaf1869a0e --- /dev/null +++ b/docs/modules/ROOT/pages/installation/kind.adoc @@ -0,0 +1,25 @@ +[[installation-on-kind]] += Installing Camel K on Kind + +Installing Camel K on Kind, with a public registry, doesn't require any special configuration. + + +Assuming you have Kind installed, then start by creating a cluster: + +``` +kind create cluster +``` + +Create a secret with your registry username and password: + +``` +kubectl -n default create secret docker-registry external-registry-secret --docker-username my-user --docker-password "password" +``` + +Install Camel K operator on the cluster in the default namespace: + +``` +kamel install --olm=false -n default --registry docker.io --organization my-org-or-username --registry-secret external-registry-secret --wait +``` + +Make sure to replace the `my-org-or-username` with your actual username or organization used to host the images.