Skip to content

Commit c33258a

Browse files
authored
Merge pull request #31966 from PriyanshuAhlawat/updating_envVariable
Update kubelet-integration.md issue
2 parents e8ac32b + 3d392f1 commit c33258a

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/kubelet-integration.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ by the kubelet, using the `--cluster-dns` flag. This setting needs to be the sam
5151
on every manager and Node in the cluster. The kubelet provides a versioned, structured API object
5252
that can configure most parameters in the kubelet and push out this configuration to each running
5353
kubelet in the cluster. This object is called
54-
[`KubeletConfiguration`](/docs/reference/config-api/kubelet-config.v1beta1/).
54+
[`KubeletConfiguration`](/docs/reference/config-api/kubelet-config.v1beta1/).
5555
The `KubeletConfiguration` allows the user to specify flags such as the cluster DNS IP addresses expressed as
5656
a list of values to a camelCased key, illustrated by the following example:
5757

@@ -169,10 +169,15 @@ It augments the basic
169169
[`kubelet.service` for RPM](https://github.com/kubernetes/release/blob/master/cmd/kubepkg/templates/latest/rpm/kubelet/kubelet.service) or
170170
[`kubelet.service` for DEB](https://github.com/kubernetes/release/blob/master/cmd/kubepkg/templates/latest/deb/kubelet/lib/systemd/system/kubelet.service):
171171

172+
{{< note >}}
173+
The contents below are just an example. If you don't want to use a package manager
174+
follow the guide outlined in the [Without a package manager](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#k8s-install-2))
175+
section.
176+
{{< /note >}}
177+
172178
```none
173179
[Service]
174-
Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf
175-
--kubeconfig=/etc/kubernetes/kubelet.conf"
180+
Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf"
176181
Environment="KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml"
177182
# This is a file that "kubeadm init" and "kubeadm join" generate at runtime, populating
178183
the KUBELET_KUBEADM_ARGS variable dynamically
@@ -206,5 +211,3 @@ The DEB and RPM packages shipped with the Kubernetes releases are:
206211
| `kubelet` | Installs the kubelet binary in `/usr/bin` and CNI binaries in `/opt/cni/bin`. |
207212
| `kubectl` | Installs the `/usr/bin/kubectl` binary. |
208213
| `cri-tools` | Installs the `/usr/bin/crictl` binary from the [cri-tools git repository](https://github.com/kubernetes-sigs/cri-tools). |
209-
210-

0 commit comments

Comments
 (0)