diff --git a/docs/src/_parts/install.md b/docs/src/_parts/install.md index fa82997c6..bab99074d 100644 --- a/docs/src/_parts/install.md +++ b/docs/src/_parts/install.md @@ -24,3 +24,6 @@ juju deploy k8s --channel=latest/stable \ --base "ubuntu@22.04" \ --constraints "cores=2 mem=8G root-disk=16G virt-type=virtual-machine" + +juju deploy k8s --config ./k8s-config.yaml --channel=1.32/stable + diff --git a/docs/src/charm/howto/install-custom.md b/docs/src/charm/howto/install-custom.md index dbb4a74a5..49ca72c3c 100644 --- a/docs/src/charm/howto/install-custom.md +++ b/docs/src/charm/howto/install-custom.md @@ -6,6 +6,7 @@ configuration options. ## What you'll need This guide assumes the following: + - You have Juju installed on your system with your cloud credentials configured and a controller bootstrapped - A Juju model is created and selected @@ -42,6 +43,7 @@ k8s: local-storage-enabled: true local-storage-reclaim-policy: "Retain" ``` + You can find a full list of configuration options in the [charm configurations] page. @@ -56,8 +58,9 @@ align with your requirements. Deploy the `k8s` charm with your custom configuration: -```bash -juju deploy k8s --config ./k8s-config.yaml +```{literalinclude} ../../_parts/install.md +:start-after: +:end-before: ``` ## Bootstrap the cluster