Skip to content

Commit c9e94e8

Browse files
authored
Merge pull request #3173 from replicatedhq/paigecalvert-patch-4
Edits to worker profile description
2 parents 2460012 + 89fd92a commit c9e94e8

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
@@ -285,13 +285,13 @@ spec:
285285
key: value
286286
```
287287

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

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.
290+
You can configure the Kubelet to customize your worker nodes with Embedded Cluster. One common use case for configuring the Kubelet is that you need more pods on a single node than the default limit of 100. In this case, you could set the `maxPods` Kubelet configuration option 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

292-
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.
292+
You can customize the Kubelet configuration settings by adding a _worker profile_ in the Embedded Cluster Config under `unsupportedOverrides.k0s.config.spec.workerProfiles[]`. When a worker profile is defined, 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[]`. The worker profile has the following required fields:
294+
The worker profile has the following required fields:
295295
* `name`: The name of the worker profile. Do not use the name `default` for your custom worker profile. `default` is reserved by k0s.
296296
* `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.
297297

@@ -312,10 +312,10 @@ spec:
312312
k0s: |
313313
config:
314314
spec:
315-
# Define a default profile that sets maxPods to 150
315+
# Define a profile that sets maxPods to 150
316316
workerProfiles:
317317
# Note: Do not use the name "default"
318318
- name: custom-maxpods
319319
values:
320320
maxPods: 150
321-
```
321+
```

0 commit comments

Comments
 (0)