From db6f18947c6178f26cfde8482ff82cdb99d242be Mon Sep 17 00:00:00 2001 From: Cory Sherman Date: Sun, 12 Jan 2025 23:38:07 -0600 Subject: [PATCH 1/6] Adding kubernetes-provider quickstart Signed-off-by: Cory Sherman --- .../getting-started/provider-kubernetes.md | 243 ++++++++++++++++++ 1 file changed, 243 insertions(+) create mode 100644 content/master/getting-started/provider-kubernetes.md diff --git a/content/master/getting-started/provider-kubernetes.md b/content/master/getting-started/provider-kubernetes.md new file mode 100644 index 00000000..56efe93e --- /dev/null +++ b/content/master/getting-started/provider-kubernetes.md @@ -0,0 +1,243 @@ + --- +title: KubeAdm Quickstart +weight: 110 +--- + +Connect Crossplane to in-cluster kubernetes to create and manage resources from Kubernetes +with the +[Upbound Kubernetes Provider](https://marketplace.upbound.io/providers/upbound/provider-kubernetes/). + +## Prerequisites +This quickstart requires: +* a Kubernetes cluster with at least 2 GB of RAM +* permissions to create pods and secrets in the Kubernetes cluster +* [Helm](https://helm.sh/) version v3.2.0 or later +* CNI + +{{}} + +## Install the Kubernetes provider + +Install the Azure Network resource provider into the Kubernetes cluster with a Kubernetes configuration +file. + +```yaml +cat <}}Provider{{}} +installs the Kubernetes _Custom Resource Definitions_ (CRDs) representing Kubernetes objects. +These CRDs allow you to create resources inside Kubernetes. +Verify the provider installed with `kubectl get providers`. + + +```shell {copy-lines="1",label="getProvider"} +kubectl get providers +NAME INSTALLED HEALTHY PACKAGE AGE +provider-kubernetes True True xpkg.upbound.io/upbound/provider-azure-network:v1.16.0 38s +``` + + + +## Create a ProviderConfig +A `ProviderConfig` customizes the settings of the Kubernetes Provider. + +```yaml +cat < Date: Sun, 12 Jan 2025 23:45:37 -0600 Subject: [PATCH 2/6] Update provider-kubernetes.md Signed-off-by: Cory Sherman --- content/master/getting-started/provider-kubernetes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/master/getting-started/provider-kubernetes.md b/content/master/getting-started/provider-kubernetes.md index 56efe93e..f5a6ec28 100644 --- a/content/master/getting-started/provider-kubernetes.md +++ b/content/master/getting-started/provider-kubernetes.md @@ -1,4 +1,4 @@ - --- +--- title: KubeAdm Quickstart weight: 110 --- @@ -240,4 +240,4 @@ example-deployment-5f76bbff9b-w5n9h 1/1 Running 0 20s * Explore Kubernetes resources that Crossplane can configure in the [Provider CRD reference](https://marketplace.upbound.io/providers/upbound/kubernetes-provider/). * Join the [Crossplane Slack](https://slack.crossplane.io/) and connect with - Crossplane users and contributors. \ No newline at end of file + Crossplane users and contributors. From 58523b23d5c701586ed16960a38b5bc804cae877 Mon Sep 17 00:00:00 2001 From: cccsss01 <56396984+cccsss01@users.noreply.github.com> Date: Mon, 20 Jan 2025 13:52:33 -0600 Subject: [PATCH 3/6] Update content/master/getting-started/provider-kubernetes.md Co-authored-by: Philippe Scorsolini --- content/master/getting-started/provider-kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/master/getting-started/provider-kubernetes.md b/content/master/getting-started/provider-kubernetes.md index f5a6ec28..3fe55b21 100644 --- a/content/master/getting-started/provider-kubernetes.md +++ b/content/master/getting-started/provider-kubernetes.md @@ -18,7 +18,7 @@ This quickstart requires: ## Install the Kubernetes provider -Install the Azure Network resource provider into the Kubernetes cluster with a Kubernetes configuration +Install the Kubernetes provider into the Kubernetes cluster with a Kubernetes configuration file. ```yaml From e13708cd00a0e34f038dee5b4e9514ed61bc0f46 Mon Sep 17 00:00:00 2001 From: cccsss01 <56396984+cccsss01@users.noreply.github.com> Date: Mon, 20 Jan 2025 13:52:38 -0600 Subject: [PATCH 4/6] Update content/master/getting-started/provider-kubernetes.md Co-authored-by: Philippe Scorsolini --- content/master/getting-started/provider-kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/master/getting-started/provider-kubernetes.md b/content/master/getting-started/provider-kubernetes.md index 3fe55b21..e8f225a3 100644 --- a/content/master/getting-started/provider-kubernetes.md +++ b/content/master/getting-started/provider-kubernetes.md @@ -26,7 +26,7 @@ cat < Date: Mon, 20 Jan 2025 13:52:55 -0600 Subject: [PATCH 5/6] Update content/master/getting-started/provider-kubernetes.md Co-authored-by: Philippe Scorsolini --- content/master/getting-started/provider-kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/master/getting-started/provider-kubernetes.md b/content/master/getting-started/provider-kubernetes.md index e8f225a3..dafc25ae 100644 --- a/content/master/getting-started/provider-kubernetes.md +++ b/content/master/getting-started/provider-kubernetes.md @@ -72,7 +72,7 @@ Verify the provider installed with `kubectl get providers`. ```shell {copy-lines="1",label="getProvider"} kubectl get providers NAME INSTALLED HEALTHY PACKAGE AGE -provider-kubernetes True True xpkg.upbound.io/upbound/provider-azure-network:v1.16.0 38s +provider-kubernetes True True xpkg.upbound.io/upbound/provider-kubernetes:v1.16.2 38s ``` From e84364fd4984ce3526d8e5f455312cff4a1ddd76 Mon Sep 17 00:00:00 2001 From: cccsss01 <56396984+cccsss01@users.noreply.github.com> Date: Thu, 23 Jan 2025 01:20:04 -0600 Subject: [PATCH 6/6] Apply suggestions from code review Co-authored-by: Philippe Scorsolini --- content/master/getting-started/provider-kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/master/getting-started/provider-kubernetes.md b/content/master/getting-started/provider-kubernetes.md index dafc25ae..bfaf18a8 100644 --- a/content/master/getting-started/provider-kubernetes.md +++ b/content/master/getting-started/provider-kubernetes.md @@ -1,5 +1,5 @@ --- -title: KubeAdm Quickstart +title: Kubernetes Provider Quickstart weight: 110 ---