Skip to content

Commit

Permalink
revert for supporting k8s version <= 1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Jun 22, 2023
1 parent f7f581b commit 104cba1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion roles/kube-node/templates/kubelet-config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ clusterDomain: {{ CLUSTER_DNS_DOMAIN }}
configMapAndSecretChangeDetectionStrategy: Watch
containerLogMaxFiles: 3
containerLogMaxSize: 10Mi
containerRuntimeEndpoint: "unix:///run/containerd/containerd.sock"
enforceNodeAllocatable:
- pods
{% if KUBE_RESERVED_ENABLED == "yes" %}
Expand Down
1 change: 1 addition & 0 deletions roles/kube-node/templates/kubelet.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ExecStartPre=/bin/mkdir -p /sys/fs/cgroup/hugetlb/system.slice
{% endif %}
ExecStart={{ bin_dir }}/kubelet \
--config=/var/lib/kubelet/config.yaml \
--container-runtime-endpoint=unix:///run/containerd/containerd.sock \
--hostname-override={{ K8S_NODENAME }} \
--kubeconfig=/etc/kubernetes/kubelet.kubeconfig \
--root-dir={{ KUBELET_ROOT_DIR }} \
Expand Down

0 comments on commit 104cba1

Please sign in to comment.