Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 committed Jun 13, 2024
1 parent bbc707b commit 3b01fd9
Showing 1 changed file with 90 additions and 0 deletions.
90 changes: 90 additions & 0 deletions docs/src/snap/reference/bootstrap-config-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Determines if the feature should be enabled.
If omitted defaults to `true`

#### cluster-config.dns.cluster-domain

**Type:** `string`<br>
**Required:** `No` <br>

Expand Down Expand Up @@ -437,6 +438,79 @@ If omitted defaults to an auto generated certificate.
The key to be used for the kubelet.
If omitted defaults to an auto generated key.

### extra-node-config-files:

**Type:** `map[string]string` <br>
**Required:** `No` <br>

Additional files that are uploaded `/var/snap/k8s/common/args/conf.d/<filename>`
to a node on bootstrap. These files can them be references by Kubernetes
service arguments.
The format is `map[<filename>]<filecontent>`.

### extra-node-kube-apiserver-args:

**Type:** `map[string]string` <br>
**Required:** `No` <br>

Additional arguments that are passed to the `kube-apiserver` only for that
specific node. Overwrites default configuration. A parameter that is explicitly
set to `null` is deleted. The format is `map[<--flag-name>]<value>`.

### extra-node-kube-controller-manager-args:

**Type:** `map[string]string` <br>
**Required:** `No` <br>

Additional arguments that are passed to the `kube-controller-manager` only for
that specific node. Overwrites default configuration. A parameter that is
explicitly set to `null` is deleted. The format is `map[<--flag-name>]<value>`.

### extra-node-kube-scheduler-args:

**Type:** `map[string]string` <br>
**Required:** `No` <br>

Additional arguments that are passed to the `kube-scheduler` only for that
specific node. Overwrites default configuration. A parameter that is explicitly
set to `null` is deleted. The format is `map[<--flag-name>]<value>`.

### extra-node-kube-proxy-args:

**Type:** `map[string]string` <br>
**Required:** `No` <br>

Additional arguments that are passed to the `kube-proxy` only for that
specific node. Overwrites default configuration. A parameter that is explicitly
set to `null` is deleted. The format is `map[<--flag-name>]<value>`.

### extra-node-kubelet-args:

**Type:** `map[string]string` <br>
**Required:** `No` <br>

Additional arguments that are passed to the `kubelet` only for that
specific node. Overwrites default configuration. A parameter that is explicitly
set to `null` is deleted. The format is `map[<--flag-name>]<value>`.

### extra-node-containerd-args:

**Type:** `map[string]string` <br>
**Required:** `No` <br>

Additional arguments that are passed to `containerd` only for that
specific node. Overwrites default configuration. A parameter that is explicitly
set to `null` is deleted. The format is `map[<--flag-name>]<value>`.

### extra-node-k8s-dqlite-args:

**Type:** `map[string]string` <br>
**Required:** `No` <br>

Additional arguments that are passed to `k8s-dqlite` only for that
specific node. Overwrites default configuration. A parameter that is explicitly
set to `null` is deleted. The format is `map[<--flag-name>]<value>`.

## Example

The following example configures and enables certain features, sets an external
Expand Down Expand Up @@ -478,4 +552,20 @@ k8s-dqlite-port: 9090
datastore-type: k8s-dqlite
extra-sans:
- custom.kubernetes
extra-node-config-files:
bootstrap-extra-file.yaml: extra-args-test-file-content
extra-node-kube-apiserver-args:
--request-timeout: 2m
extra-node-kube-controller-manager-args:
--leader-elect-retry-period: 3s
extra-node-kube-scheduler-args:
--authorization-webhook-cache-authorized-ttl: 11s
extra-node-kube-proxy-args:
--config-sync-period: 14m
extra-node-kubelet-args:
--authentication-token-webhook-cache-ttl: 3m
extra-node-containerd-args:
--log-level: debug
extra-node-k8s-dqlite-args:
--watch-storage-available-size-interval: 6s
```

0 comments on commit 3b01fd9

Please sign in to comment.