Skip to content

Commit

Permalink
Improve the docs for service-cidr and pod-cidr
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Nov 20, 2024
1 parent 0bdadc3 commit db8d41b
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions charms/worker/k8s/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,36 @@ config:
https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
bootstrap-pod-cidr:
type: string
default: 10.1.0.0/16
default: "10.1.0.0/16"
description: |
CIDR to use for Kubernetes pods. It is not possible to
change the address range after deployment.
Comma-separated CIDR blocks for IP addresses that can be assigned
to pods within the cluster. Can contain at most 2 blocks, one for IPv4
and one for IPv6.
After deployment it is not possible to change the size of
the IP range.
Examples:
- "192.0.2.0/24"
- "2001:db8::/32"
- "192.0.2.0/24,2001:db8::/32"
- "2001:db8::/32,192.0.2.0/24"
bootstrap-service-cidr:
type: string
default: 10.152.183.0/24
description: |
CIDR to use for Kubernetes services. After deployment it is
only possible to increase the size of the IP range. It is not possible to
change or shrink the address range after deployment.
Comma-separated CIDR blocks for IP addresses that can be assigned
to services within the cluster. Can contain at most 2 blocks, one for IPv4
and one for IPv6.
After deployment it is not possible to change the size of
the IP range.
Examples:
- "192.0.2.0/24"
- "2001:db8::/32"
- "192.0.2.0/24,2001:db8::/32"
- "2001:db8::/32,192.0.2.0/24"
gateway-enabled:
type: boolean
default: false
Expand Down

0 comments on commit db8d41b

Please sign in to comment.