aacf601fd5
This adds kubernetes 1.25.3 package for Debian, this is built using golang-1.19.2. Taken from the previous version and modified the files for 1.25.3. The following patch was applied cleanly and included: kubeadm-create-platform-pods-with-zero-CPU-resources.patch The following patches did not apply cleanly. These will be included in a subsequent commit after porting them to kubernetes 1.25.3. Revert-use-subpath-for-coredns-only-for-default-repo.patch kubernetes-make-isolcpus-allocation-SMT-aware.patch kubelet-sort-isolcpus-allocation-when-SMT-enabled.patch kubelet-cpumanager-disable-CFS-quota-throttling.patch kubelet-cpumanager-keep-normal-containers-off-reserv.patch kubelet-cpumanager-infra-pods-use-system-reserved-CP.patch kubelet-cpumanager-introduce-concept-of-isolated-CPU.patch enable-support-for-kubernetes-to-ignore-isolcpus.patch Test Plan: Debian PASS: kubernetes-1.25.3 package builds successfully PASS: all packages build successfully PASS: build-iso successful with multiple kubernetes versions Story: 2010368 Task: 46588 Depends-On: https://review.opendev.org/c/starlingx/compile/+/861711 Signed-off-by: Ramesh Kumar Sivanandam <rameshkumar.sivanandam@windriver.com> Change-Id: I47f23b7666b813e5a1c4339118cebc93374d2573
19 lines
1.2 KiB
Plaintext
19 lines
1.2 KiB
Plaintext
# Note: This dropin only works with kubeadm and kubelet v1.11+
|
|
[Service]
|
|
Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf"
|
|
Environment="KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml"
|
|
# This is a file that "kubeadm init" and "kubeadm join" generates at runtime, populating the KUBELET_KUBEADM_ARGS variable dynamically
|
|
EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env
|
|
# This is a file that the user can use for overrides of the kubelet args as a last resort. Preferably, the user should use
|
|
# the .NodeRegistration.KubeletExtraArgs object in the configuration files instead. KUBELET_EXTRA_ARGS should be sourced from this file.
|
|
EnvironmentFile=-/etc/default/kubelet
|
|
ExecStart=
|
|
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS
|
|
ExecStartPre=-/usr/local/sbin/sanitize_kubelet_reserved_cpus.sh /etc/default/kubelet
|
|
ExecStartPre=-/usr/bin/kubelet-cgroup-setup.sh
|
|
ExecStartPost=/bin/bash -c 'echo $MAINPID > /var/run/kubelet.pid;'
|
|
ExecStopPost=/bin/rm -f /var/run/kubelet.pid
|
|
Restart=always
|
|
StartLimitInterval=0
|
|
RestartSec=10
|