Merge "remove docker dependency from kubelet.service"
This commit is contained in:
commit
7e4d52bc3b
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/contrib/init/systemd/kubelet.service b/contrib/init/systemd/kubelet.service
|
||||||
|
index 1082bba..1fae395 100644
|
||||||
|
--- a/contrib/init/systemd/kubelet.service
|
||||||
|
+++ b/contrib/init/systemd/kubelet.service
|
||||||
|
@@ -1,8 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Kubernetes Kubelet Server
|
||||||
|
Documentation=https://kubernetes.io/docs/concepts/overview/components/#kubelet https://kubernetes.io/docs/reference/generated/kubelet/
|
||||||
|
-After=docker.service
|
||||||
|
-Requires=docker.service
|
||||||
|
+Wants=network-online.target
|
||||||
|
+After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/var/lib/kubelet
|
@ -56,6 +56,7 @@ Source5: kubelet-cgroup-setup.sh
|
|||||||
Source33: genmanpages.sh
|
Source33: genmanpages.sh
|
||||||
|
|
||||||
Patch1: 0001-Fix-pagesize-check-to-allow-for-options-already-endi.patch
|
Patch1: 0001-Fix-pagesize-check-to-allow-for-options-already-endi.patch
|
||||||
|
Patch2: kubelet-service-remove-docker-dependency.patch
|
||||||
|
|
||||||
# It obsoletes cadvisor but needs its source code (literally integrated)
|
# It obsoletes cadvisor but needs its source code (literally integrated)
|
||||||
Obsoletes: cadvisor
|
Obsoletes: cadvisor
|
||||||
@ -841,6 +842,7 @@ Kubernetes client tools like kubectl
|
|||||||
# copy contrib folder
|
# copy contrib folder
|
||||||
mkdir contrib
|
mkdir contrib
|
||||||
cp -r ../%{con_repo}-%{con_commit}/init contrib/.
|
cp -r ../%{con_repo}-%{con_commit}/init contrib/.
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
#src/k8s.io/kubernetes/pkg/util/certificates
|
#src/k8s.io/kubernetes/pkg/util/certificates
|
||||||
# Patch the code to remove eliptic.P224 support
|
# Patch the code to remove eliptic.P224 support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user