-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bundle CNI plugins (v0.8.6) in kubelet deb/rpm packages
Signed-off-by: Stephen Augustus <[email protected]>
- Loading branch information
1 parent
528fe00
commit 7ca71bc
Showing
13 changed files
with
24 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
usr/bin/kubelet usr/bin/ | ||
lib/systemd/system/kubelet.service lib/systemd/system/ | ||
bin/ opt/cni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
%define semver() (%1 * 256 * 256 + %2 * 256 + %3) | ||
%global KUBE_SEMVER %{semver %{KUBE_MAJOR} %{KUBE_MINOR} %{KUBE_PATCH}} | ||
|
||
%global CNI_VERSION 0.7.5 | ||
%global CNI_VERSION 0.8.6 | ||
%global CRI_TOOLS_VERSION 1.13.0 | ||
|
||
Name: kubelet | ||
|
@@ -33,28 +33,19 @@ Source7: https://storage.googleapis.com/k8s-artifacts-cri-tools/release/v%{CRI_T | |
BuildRequires: systemd | ||
BuildRequires: curl | ||
Requires: iptables >= 1.4.21 | ||
Requires: kubernetes-cni >= %{CNI_VERSION} | ||
Requires: socat | ||
Requires: util-linux | ||
Requires: ethtool | ||
Requires: iproute | ||
Requires: ebtables | ||
Requires: conntrack | ||
Obsoletes: kubernetes-cni | ||
Conflicts: kubernetes-cni | ||
|
||
|
||
%description | ||
The node agent of Kubernetes, the container cluster manager. | ||
|
||
%package -n kubernetes-cni | ||
|
||
Version: %{CNI_VERSION} | ||
Release: %{RPM_RELEASE} | ||
Summary: Binaries required to provision kubernetes container networking | ||
Requires: kubelet | ||
|
||
%description -n kubernetes-cni | ||
Binaries required to provision container networking. | ||
|
||
%package -n kubectl | ||
|
||
Version: %{KUBE_VERSION} | ||
|
@@ -71,7 +62,6 @@ Release: %{RPM_RELEASE} | |
Summary: Command-line utility for administering a Kubernetes cluster. | ||
Requires: kubelet >= 1.13.0 | ||
Requires: kubectl >= 1.13.0 | ||
Requires: kubernetes-cni >= 0.7.5 | ||
Requires: cri-tools >= 1.13.0 | ||
|
||
%description -n kubeadm | ||
|
@@ -137,12 +127,10 @@ mv cni-plugins/* %{buildroot}/opt/cni/bin/ | |
%{_bindir}/kubelet | ||
%{_unitdir}/kubelet.service | ||
%{_sysconfdir}/kubernetes/manifests/ | ||
/opt/cni | ||
|
||
%config(noreplace) %{_sysconfdir}/sysconfig/kubelet | ||
|
||
%files -n kubernetes-cni | ||
/opt/cni | ||
|
||
%files -n kubectl | ||
%{_bindir}/kubectl | ||
|
||
|
@@ -161,6 +149,9 @@ mv cni-plugins/* %{buildroot}/opt/cni/bin/ | |
- Source cri-tools from https://storage.googleapis.com/k8s-artifacts-cri-tools/release | ||
instead of https://github.com/kubernetes-sigs/cri-tools | ||
|
||
* Fri May 22 2020 Stephen Augustus <[email protected]> - 1.18.4 | ||
- Bundle CNI plugins (v0.8.6) in kubelet package | ||
|
||
* Fri May 22 2020 Stephen Augustus <[email protected]> - 1.18.4 | ||
- Source CNI plugins from https://storage.googleapis.com/k8s-artifacts-cni/release | ||
instead of https://dl.k8s.io/network-plugins | ||
|