Skip to content

Commit 20ec8f0

Browse files
committed
edits
1 parent 6f0485b commit 20ec8f0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/embedded-config.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,11 @@ k0s supports worker profiles, which allow you to configure the Kubelet with diff
291291

292292
When a worker profile is defined in the Embedded Cluster Config, Embedded Cluster uses the profile for every node in the cluster during initial installation and when joining nodes to the cluster.
293293

294-
You can add a worker profile in the Embedded Cluster Config under `unsupportedOverrides.k0s.config.spec.workerProfiles[]`.
294+
You can add a worker profile in the Embedded Cluster Config under `unsupportedOverrides.k0s.config.spec.workerProfiles[]`. The worker profile has the following required fields:
295+
* `name`: The name of the worker profile. Do not use the name `default` for your custom worker profile. `default` is reserved by k0s.
296+
* `values`: The Kubelet configuration settings for the profile. For a complete list of the available Kubelet configuration options that you can set in a worker profile, see [KubeletConfiguration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/#kubelet-config-k8s-io-v1beta1-KubeletConfiguration) in the Kubernetes documentation.
295297

296-
For more information about how to define worker profiles, see [spec.workerProfiles](https://docs.k0sproject.io/stable/configuration/#specworkerprofiles) in the k0s documentation. For a complete list of the available Kubelet configuration options that you can set in a worker profile, see [KubeletConfiguration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/#kubelet-config-k8s-io-v1beta1-KubeletConfiguration) in the Kubernetes documentation.
298+
For more information about how to define worker profiles, see [spec.workerProfiles](https://docs.k0sproject.io/stable/configuration/#specworkerprofiles) in the k0s documentation.
297299

298300
#### Limitations
299301

@@ -312,10 +314,8 @@ spec:
312314
spec:
313315
# Define a default profile that sets maxPods to 150
314316
workerProfiles:
317+
# Note: Do not use the name "default"
315318
- name: custom-maxpods
316319
values:
317320
maxPods: 150
318-
```
319-
:::note
320-
Do not use the name `default` for your custom worker profile. `default` is reserved by k0s.
321-
:::
321+
```

0 commit comments

Comments
 (0)