Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions docs/modules/ROOT/pages/howtos/quickstart_kind.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
= Kind Quickstart

== Prerequisites

- Access to a functional Docker Engine,
- Knowledge of https://terraform.io[Terraform] basics
- Minimal Terraform version: 0.14
- `jq` binary
- https://argoproj.github.io/argo-cd/cli_installation/[argocd] CLI


include::partial$terraform_instant_intro.adoc[]

```hcl
# terraform/main.tf

module "cluster" {
source = "git::https://github.com/camptocamp/devops-stack.git//modules/kind/kind?ref=master"

cluster_name = "my-cluster"
}
```

If your docker setup doesn't support the bridge0 like on MacOSX, you cannot access to the container IP so the computed base domain isn't reachable.


include::partial$tf_apply.adoc[]

include::partial$wait_for_keycloak.adoc[]

include::partial$access_keycloak.adoc[]

include::partial$tf_destroy.adoc[]


== Reference

See the xref:ROOT:references/terraform_modules/kind/kind.adoc[Kind reference page].
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ cluster Ingress Controller.
|===
|Key |Type |Default |Description
|traefik |object
|`{"additionalArguments":["--metrics.prometheus=true","--serversTransport.insecureSkipVerify=true"],"deployment":{"replicas":2},"logs":{"access":{"enabled":true}}}`
|`{"additionalArguments":["--metrics.prometheus=true","--serversTransport.insecureSkipVerify=true"],"deployment":{"replicas":2},"logs":{"access":{"enabled":true}},"tlsOptions":{"default":{"minVersion":"VersionTLS12"}}}`
|Values passed to the traefik chart
|===
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The `aks/azure` Terraform module provides a way to install and configure:
|===
|Name |Version
|[[requirement_terraform]] <<requirement_terraform,terraform>> |>= 0.13
|[[requirement_azuread]] <<requirement_azuread,azuread>> |~> 1.5
|[[requirement_azuread]] <<requirement_azuread,azuread>> |~> 2.0
|[[requirement_azurerm]] <<requirement_azurerm,azurerm>> |~> 2.62
|[[requirement_helm]] <<requirement_helm,helm>> |~> 2.0
|[[requirement_kubernetes]] <<requirement_kubernetes,kubernetes>> |~> 2.0
Expand All @@ -25,7 +25,7 @@ The `aks/azure` Terraform module provides a way to install and configure:
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
|[[provider_azuread]] <<provider_azuread,azuread>> |~> 1.5
|[[provider_azuread]] <<provider_azuread,azuread>> |~> 2.0
|[[provider_azurerm]] <<provider_azurerm,azurerm>> |~> 2.62
|[[provider_random]] <<provider_random,random>> |~> 3.0
|===
Expand All @@ -45,7 +45,6 @@ The `aks/azure` Terraform module provides a way to install and configure:
|===
|Name |Type
|https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/application[azuread_application.oauth2_apps] |resource
|https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/application_app_role[azuread_application_app_role.argocd_admin] |resource
|https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/application_password[azuread_application_password.oauth2_apps] |resource
|https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/dns_cname_record[azurerm_dns_cname_record.wildcard] |resource
|https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster_node_pool[azurerm_kubernetes_cluster_node_pool.this] |resource
Expand All @@ -60,8 +59,9 @@ The `aks/azure` Terraform module provides a way to install and configure:
|https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/user_assigned_identity[azurerm_user_assigned_identity.kube_prometheus_stack_prometheus] |resource
|https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/user_assigned_identity[azurerm_user_assigned_identity.this] |resource
|https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password[random_password.grafana_admin_password] |resource
|https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password[random_password.oauth2_apps] |resource
|https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string[random_string.storage_account] |resource
|https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/uuid[random_uuid.argocd_app_role] |resource
|https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/uuid[random_uuid.resource_app_id] |resource
|https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config[azurerm_client_config.current] |data source
|https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/dns_zone[azurerm_dns_zone.this] |data source
|https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/kubernetes_cluster[azurerm_kubernetes_cluster.cluster] |data source
Expand Down
3 changes: 3 additions & 0 deletions site/data/en/homepage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ banner:
- label: "K3S Quickstart"
icon: "fa fa-hat-cowboy-side"
link: "/docs/devops-stack/__VERSION__/howtos/quickstart_k3s_docker.html"
- label: "Kind Quickstart"
icon: "fa fa-wine-bottle"
link: "/docs/devops-stack/__VERSION__/howtos/quickstart_kind.html"

# Components
components:
Expand Down