Skip to content

Commit d2790a7

Browse files
committed
edits from feedback
1 parent 731237d commit d2790a7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/reference/embedded-config.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -285,16 +285,21 @@ spec:
285285
key: value
286286
```
287287

288-
### Configure Kubelet with k0s Worker Profiles
288+
### Configure the Kubelet with k0s Worker Profiles
289289

290-
k0s supports worker profiles, which allow you to configure Kubelet with different settings for different worker nodes. One common use case for setting a worker profile is that you need more pods on a single node than the default limit of 100. In this case, you could define a worker profile to set `maxPods` to 150. Another common example is reducing startup time by setting `maxParallelImagePulls` to increase the maximum number of image pulls that can be done in parallel.
290+
k0s supports worker profiles, which allow you to configure the Kubelet with different settings for different worker nodes. One common use case for setting a worker profile is that you need more pods on a single node than the default limit of 100. In this case, you could define a worker profile to set `maxPods` to 150. Another common example is reducing startup time by setting `maxParallelImagePulls` to increase the maximum number of image pulls that can be done in parallel.
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

294294
You can add a worker profile in the Embedded Cluster Config under `unsupportedOverrides.k0s.config.spec.workerProfiles[]`.
295295

296296
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.
297297

298+
#### Limitations
299+
300+
* The worker profile is set during initial installation. Worker profiles cannot be changed or added on upgrade.
301+
* Embedded Cluster supports only one worker profile that is used for all nodes. If you add more than one worker profile in the `workerProfiles[]` array in the Embedded Cluster Config, only the first profile is used.
302+
298303
#### Example
299304

300305
```yaml
@@ -307,12 +312,7 @@ spec:
307312
spec:
308313
# Define a default profile that sets maxPods to 150
309314
workerProfiles:
310-
- name: default
315+
- name: custom-maxpods
311316
values:
312317
maxPods: 150
313-
```
314-
315-
#### Limitations
316-
317-
* The worker profile is set during initial installation. Worker profiles cannot be changed or added on upgrade.
318-
* Embedded Cluster supports only one worker profile that is used for all nodes. If you add more than one worker profile in the `workerProfiles[]` array in the Embedded Cluster Config, only the first profile is used.
318+
```

0 commit comments

Comments
 (0)