summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-11-25 13:14:54 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-11-25 13:20:42 -0600
commit8c2762b8c6162c6dbd1d7b7abf5a8115cc42237e (patch)
tree951d93429eb252fbba513c331c277a3c9a5833f7 /sys-cluster
parentnet-vpn/openvpn-2.5.0-r1: revbump, use alternate tarball (bug #755680) (diff)
downloadgentoo-8c2762b8c6162c6dbd1d7b7abf5a8115cc42237e.tar.gz
gentoo-8c2762b8c6162c6dbd1d7b7abf5a8115cc42237e.tar.bz2
gentoo-8c2762b8c6162c6dbd1d7b7abf5a8115cc42237e.zip
sys-cluster/kubernetes: remove last-rited package
Closes: https://bugs.gentoo.org/741572 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubernetes/Manifest2
-rw-r--r--sys-cluster/kubernetes/files/kube-apiserver.confd7
-rw-r--r--sys-cluster/kubernetes/files/kube-apiserver.initd19
-rw-r--r--sys-cluster/kubernetes/files/kube-apiserver.logrotated7
-rw-r--r--sys-cluster/kubernetes/files/kube-controller-manager.confd9
-rw-r--r--sys-cluster/kubernetes/files/kube-controller-manager.initd19
-rw-r--r--sys-cluster/kubernetes/files/kube-controller-manager.logrotated7
-rw-r--r--sys-cluster/kubernetes/files/kube-proxy.confd4
-rw-r--r--sys-cluster/kubernetes/files/kube-proxy.initd19
-rw-r--r--sys-cluster/kubernetes/files/kube-proxy.logrotated7
-rw-r--r--sys-cluster/kubernetes/files/kube-scheduler.confd9
-rw-r--r--sys-cluster/kubernetes/files/kube-scheduler.initd19
-rw-r--r--sys-cluster/kubernetes/files/kube-scheduler.logrotated7
-rw-r--r--sys-cluster/kubernetes/files/kubelet.confd4
-rw-r--r--sys-cluster/kubernetes/files/kubelet.env17
-rw-r--r--sys-cluster/kubernetes/files/kubelet.initd19
-rw-r--r--sys-cluster/kubernetes/files/kubelet.logrotated7
-rw-r--r--sys-cluster/kubernetes/files/kubelet.service24
-rw-r--r--sys-cluster/kubernetes/kubernetes-1.17.9.ebuild90
-rw-r--r--sys-cluster/kubernetes/kubernetes-1.18.6.ebuild90
-rw-r--r--sys-cluster/kubernetes/metadata.xml17
21 files changed, 0 insertions, 403 deletions
diff --git a/sys-cluster/kubernetes/Manifest b/sys-cluster/kubernetes/Manifest
deleted file mode 100644
index 8a029969b28f..000000000000
--- a/sys-cluster/kubernetes/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST kubernetes-1.17.9.tar.gz 31821854 BLAKE2B 62dffaa7ab671987aba9a477497dfa02943488d43ac42259706e21aa0d0520d76a6d0795db39b5025b23678ad0d36e0367e0bdda4b3e7c0c6a2ad409c29d02ad SHA512 c6c1c27a534b5b6dbbc3be34d9f8f321b0289e9032ad11549e1f028cd4cf6ba288cdc54283f5263b5e9cef017d535db911b5f7e5cbaccd2bee7d955ce2039696
-DIST kubernetes-1.18.6.tar.gz 32619242 BLAKE2B 7db8410b33b3748e2f391efa78fab2bff51c2f5cf9bc54ba74d5c0044f2ee453b1038f4edb206597be6cb0da7c9264988865bd94f1b99c308c350f04eaa232af SHA512 8715b5738ae13455e5f91f58d8922e7e87ed9441a5caf1233426df7dac552ddf2c4242d217d50b65ee264b8b55e6cc4e33081bf70dd74c47870c0eff682a9545
diff --git a/sys-cluster/kubernetes/files/kube-apiserver.confd b/sys-cluster/kubernetes/files/kube-apiserver.confd
deleted file mode 100644
index db74d27f0207..000000000000
--- a/sys-cluster/kubernetes/files/kube-apiserver.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-###
-# kubernetes system config
-#
-# The following values are used to configure the kube-apiserver
-#
-
-command_args=""
diff --git a/sys-cluster/kubernetes/files/kube-apiserver.initd b/sys-cluster/kubernetes/files/kube-apiserver.initd
deleted file mode 100644
index 6f649f5a5460..000000000000
--- a/sys-cluster/kubernetes/files/kube-apiserver.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Kubernetes API Server"
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-user=${user:-${RC_SVCNAME}}
-group=${group:-${RC_SVCNAME}}
-
-command="/usr/bin/kube-apiserver"
-command_args="${command_args}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
- --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
-
-depend() {
- after net
-}
diff --git a/sys-cluster/kubernetes/files/kube-apiserver.logrotated b/sys-cluster/kubernetes/files/kube-apiserver.logrotated
deleted file mode 100644
index 4ed84506231f..000000000000
--- a/sys-cluster/kubernetes/files/kube-apiserver.logrotated
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/kube-apiserver/*.log {
- missingok
- size 5M
- rotate 3
- compress
- copytruncate
-}
diff --git a/sys-cluster/kubernetes/files/kube-controller-manager.confd b/sys-cluster/kubernetes/files/kube-controller-manager.confd
deleted file mode 100644
index 155c43a07561..000000000000
--- a/sys-cluster/kubernetes/files/kube-controller-manager.confd
+++ /dev/null
@@ -1,9 +0,0 @@
-###
-# kubernetes system config
-#
-# The following values are used to configure the kube-controller-manager
-#
-
-# Add your own!
-command_args=""
-
diff --git a/sys-cluster/kubernetes/files/kube-controller-manager.initd b/sys-cluster/kubernetes/files/kube-controller-manager.initd
deleted file mode 100644
index 276197f06562..000000000000
--- a/sys-cluster/kubernetes/files/kube-controller-manager.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Kubernetes Controller Manager service"
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-user=${user:-${RC_SVCNAME}}
-group=${group:-${RC_SVCNAME}}
-
-command="/usr/bin/kube-controller-manager"
-command_args="${command_args}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
- --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
-
-depend() {
- after net
-}
diff --git a/sys-cluster/kubernetes/files/kube-controller-manager.logrotated b/sys-cluster/kubernetes/files/kube-controller-manager.logrotated
deleted file mode 100644
index 06efce234069..000000000000
--- a/sys-cluster/kubernetes/files/kube-controller-manager.logrotated
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/kube-controller-manager/*.log {
- missingok
- size 5M
- rotate 3
- compress
- copytruncate
-}
diff --git a/sys-cluster/kubernetes/files/kube-proxy.confd b/sys-cluster/kubernetes/files/kube-proxy.confd
deleted file mode 100644
index 00f33f358bb9..000000000000
--- a/sys-cluster/kubernetes/files/kube-proxy.confd
+++ /dev/null
@@ -1,4 +0,0 @@
-###
-# Kubernetes kube-proxy config
-#
-command_args=""
diff --git a/sys-cluster/kubernetes/files/kube-proxy.initd b/sys-cluster/kubernetes/files/kube-proxy.initd
deleted file mode 100644
index 18a75adf0b64..000000000000
--- a/sys-cluster/kubernetes/files/kube-proxy.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Kubernetes Proxy service"
-pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
-user=${user:-root}
-group=${group:-root}
-
-command="/usr/bin/kube-proxy"
-command_args="${command_args}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
- --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
-
-depend() {
- after net
-}
diff --git a/sys-cluster/kubernetes/files/kube-proxy.logrotated b/sys-cluster/kubernetes/files/kube-proxy.logrotated
deleted file mode 100644
index b8d1032c1f76..000000000000
--- a/sys-cluster/kubernetes/files/kube-proxy.logrotated
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/kube-proxy/*.log {
- missingok
- size 5M
- rotate 3
- compress
- copytruncate
-}
diff --git a/sys-cluster/kubernetes/files/kube-scheduler.confd b/sys-cluster/kubernetes/files/kube-scheduler.confd
deleted file mode 100644
index 8442e0348d23..000000000000
--- a/sys-cluster/kubernetes/files/kube-scheduler.confd
+++ /dev/null
@@ -1,9 +0,0 @@
-###
-# kubernetes system config
-#
-# The following values are used to configure the kube-scheduler
-#
-
-# Add your own!
-command_args=""
-
diff --git a/sys-cluster/kubernetes/files/kube-scheduler.initd b/sys-cluster/kubernetes/files/kube-scheduler.initd
deleted file mode 100644
index 2c49bce3ec80..000000000000
--- a/sys-cluster/kubernetes/files/kube-scheduler.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Kubernetes Scheduler service"
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-user=${user:-${RC_SVCNAME}}
-group=${group:-${RC_SVCNAME}}
-
-command="/usr/bin/kube-scheduler"
-command_args="${command_args}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
- --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
-
-depend() {
- after net
-}
diff --git a/sys-cluster/kubernetes/files/kube-scheduler.logrotated b/sys-cluster/kubernetes/files/kube-scheduler.logrotated
deleted file mode 100644
index 6cce6c6f5be7..000000000000
--- a/sys-cluster/kubernetes/files/kube-scheduler.logrotated
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/kube-scheduler/*.log {
- missingok
- size 5M
- rotate 3
- compress
- copytruncate
-}
diff --git a/sys-cluster/kubernetes/files/kubelet.confd b/sys-cluster/kubernetes/files/kubelet.confd
deleted file mode 100644
index 24f424877eb8..000000000000
--- a/sys-cluster/kubernetes/files/kubelet.confd
+++ /dev/null
@@ -1,4 +0,0 @@
-###
-# Kubernetes Kubelet (worker) config
-
-command_args=""
diff --git a/sys-cluster/kubernetes/files/kubelet.env b/sys-cluster/kubernetes/files/kubelet.env
deleted file mode 100644
index a623673960ff..000000000000
--- a/sys-cluster/kubernetes/files/kubelet.env
+++ /dev/null
@@ -1,17 +0,0 @@
-###
-# kubernetes kubelet (minion) config
-
-# The address for the info server to serve on (set to 0.0.0.0 or "" for all interfaces)
-KUBELET_ADDRESS="--address=127.0.0.1"
-
-# The port for the info server to serve on
-# KUBELET_PORT="--port=10250"
-
-# You may leave this blank to use the actual hostname
-KUBELET_HOSTNAME="--hostname-override=127.0.0.1"
-
-# Edit the kubelet.kubeconfig to have correct cluster server address
-KUBELET_KUBECONFIG=/etc/kubernetes/kubelet.kubeconfig
-
-# Add your own!
-KUBELET_ARGS="--cgroup-driver=systemd --fail-swap-on=false"
diff --git a/sys-cluster/kubernetes/files/kubelet.initd b/sys-cluster/kubernetes/files/kubelet.initd
deleted file mode 100644
index 363f635b5863..000000000000
--- a/sys-cluster/kubernetes/files/kubelet.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Kubelet, a Kubernetes node agent"
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-user=${user:-root}
-group=${group:-root}
-
-command="/usr/bin/kubelet"
-command_args="${command_args}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/kubelet/${RC_SVCNAME}.log \
- --stderr /var/log/kubelet/${RC_SVCNAME}.log"
-
-depend() {
- after net
-}
diff --git a/sys-cluster/kubernetes/files/kubelet.logrotated b/sys-cluster/kubernetes/files/kubelet.logrotated
deleted file mode 100644
index f87767fe985e..000000000000
--- a/sys-cluster/kubernetes/files/kubelet.logrotated
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/kubelet/*.log {
- missingok
- size 5M
- rotate 3
- compress
- copytruncate
-}
diff --git a/sys-cluster/kubernetes/files/kubelet.service b/sys-cluster/kubernetes/files/kubelet.service
deleted file mode 100644
index 1082bbac1d0b..000000000000
--- a/sys-cluster/kubernetes/files/kubelet.service
+++ /dev/null
@@ -1,24 +0,0 @@
-[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
-
-[Service]
-WorkingDirectory=/var/lib/kubelet
-EnvironmentFile=-/etc/kubernetes/config
-EnvironmentFile=-/etc/kubernetes/kubelet
-ExecStart=/usr/bin/kubelet \
- $KUBE_LOGTOSTDERR \
- $KUBE_LOG_LEVEL \
- $KUBELET_KUBECONFIG \
- $KUBELET_ADDRESS \
- $KUBELET_PORT \
- $KUBELET_HOSTNAME \
- $KUBE_ALLOW_PRIV \
- $KUBELET_ARGS
-Restart=on-failure
-KillMode=process
-
-[Install]
-WantedBy=multi-user.target
diff --git a/sys-cluster/kubernetes/kubernetes-1.17.9.ebuild b/sys-cluster/kubernetes/kubernetes-1.17.9.ebuild
deleted file mode 100644
index 71f306a509b0..000000000000
--- a/sys-cluster/kubernetes/kubernetes-1.17.9.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit bash-completion-r1 go-module systemd
-
-DESCRIPTION="production-grade container orchestration"
-HOMEPAGE="https://kubernetes.io"
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-AGENT="kubelet"
-CLI="kubeadm kubectl"
-SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler"
-IUSE="hardened"
-for x in ${AGENT} ${CLI} ${SERVICES}; do
- IUSE+=" +${x}"
-done
-
-BDEPEND="=dev-lang/go-1.14*"
-COMMON_DEPEND="
- kube-apiserver? (
- acct-group/kube-apiserver
- acct-user/kube-apiserver
- )
- kube-controller-manager? (
- acct-group/kube-controller-manager
- acct-user/kube-controller-manager
- )
- kube-scheduler? (
- acct-group/kube-scheduler
- acct-user/kube-scheduler
- )"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
- kube-proxy? ( net-firewall/conntrack-tools )
- !sys-cluster/kubeadm
- !sys-cluster/kubectl
- !sys-cluster/kubelet
- !sys-cluster/kube-apiserver
- !sys-cluster/kube-controller-manager
- !sys-cluster/kube-proxy
- !sys-cluster/kube-scheduler"
-
-RESTRICT+=" test"
-
-src_compile() {
- local x
- for x in ${AGENT} ${CLI} ${SERVICES}; do
- use $x || continue
- CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
- emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x}
- done
-}
-
-src_install() {
- local x
- for x in ${AGENT} ${CLI} ${SERVICES}; do
- use $x || continue
- dobin _output/bin/${x}
- if has ${x} ${CLI}; then
- _output/bin/${x} completion bash > ${x}.bash || die
- _output/bin/${x} completion zsh > ${x}.zsh || die
- newbashcomp ${x}.bash ${x}
- insinto /usr/share/zsh/site-functions
- newins ${x}.zsh _${x}
- continue
- fi
- newinitd "${FILESDIR}"/${x}.initd ${x}
- newconfd "${FILESDIR}"/${x}.confd ${x}
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/${x}.logrotated ${x}
- keepdir /var/log/${x}
- if [[ "$x" =~ kubelet ]]; then
- systemd_dounit "${FILESDIR}"/${x}.service
- insinto /etc/kubernetes
- newins "${FILESDIR}"/${x}.env ${x}.env
- keepdir /etc/kubernetes/manifests
- fi
- if [[ $x =~ kubelet|kube-proxy ]]; then
- keepdir /var/lib/${x}
- fi
- if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then
- fowners ${x}:${x} /var/log/${x}
- fi
- done
-}
diff --git a/sys-cluster/kubernetes/kubernetes-1.18.6.ebuild b/sys-cluster/kubernetes/kubernetes-1.18.6.ebuild
deleted file mode 100644
index 71f306a509b0..000000000000
--- a/sys-cluster/kubernetes/kubernetes-1.18.6.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit bash-completion-r1 go-module systemd
-
-DESCRIPTION="production-grade container orchestration"
-HOMEPAGE="https://kubernetes.io"
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-AGENT="kubelet"
-CLI="kubeadm kubectl"
-SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler"
-IUSE="hardened"
-for x in ${AGENT} ${CLI} ${SERVICES}; do
- IUSE+=" +${x}"
-done
-
-BDEPEND="=dev-lang/go-1.14*"
-COMMON_DEPEND="
- kube-apiserver? (
- acct-group/kube-apiserver
- acct-user/kube-apiserver
- )
- kube-controller-manager? (
- acct-group/kube-controller-manager
- acct-user/kube-controller-manager
- )
- kube-scheduler? (
- acct-group/kube-scheduler
- acct-user/kube-scheduler
- )"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
- kube-proxy? ( net-firewall/conntrack-tools )
- !sys-cluster/kubeadm
- !sys-cluster/kubectl
- !sys-cluster/kubelet
- !sys-cluster/kube-apiserver
- !sys-cluster/kube-controller-manager
- !sys-cluster/kube-proxy
- !sys-cluster/kube-scheduler"
-
-RESTRICT+=" test"
-
-src_compile() {
- local x
- for x in ${AGENT} ${CLI} ${SERVICES}; do
- use $x || continue
- CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
- emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${x}
- done
-}
-
-src_install() {
- local x
- for x in ${AGENT} ${CLI} ${SERVICES}; do
- use $x || continue
- dobin _output/bin/${x}
- if has ${x} ${CLI}; then
- _output/bin/${x} completion bash > ${x}.bash || die
- _output/bin/${x} completion zsh > ${x}.zsh || die
- newbashcomp ${x}.bash ${x}
- insinto /usr/share/zsh/site-functions
- newins ${x}.zsh _${x}
- continue
- fi
- newinitd "${FILESDIR}"/${x}.initd ${x}
- newconfd "${FILESDIR}"/${x}.confd ${x}
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/${x}.logrotated ${x}
- keepdir /var/log/${x}
- if [[ "$x" =~ kubelet ]]; then
- systemd_dounit "${FILESDIR}"/${x}.service
- insinto /etc/kubernetes
- newins "${FILESDIR}"/${x}.env ${x}.env
- keepdir /etc/kubernetes/manifests
- fi
- if [[ $x =~ kubelet|kube-proxy ]]; then
- keepdir /var/lib/${x}
- fi
- if [[ $x =~ .*apiserver|.*controller-manager|.*scheduler ]]; then
- fowners ${x}:${x} /var/log/${x}
- fi
- done
-}
diff --git a/sys-cluster/kubernetes/metadata.xml b/sys-cluster/kubernetes/metadata.xml
deleted file mode 100644
index abf38f229729..000000000000
--- a/sys-cluster/kubernetes/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>williamh@gentoo.org</email>
- <name>William Hubbs</name>
- </maintainer>
- <use>
- <flag name="kubeadm">CLI to bootstrap a secure Kubernetes cluster</flag>
- <flag name="kubectl">CLI to run commands against Kubernetes clusters</flag>
- <flag name="kubelet">Kubernetes node agent</flag>
- <flag name="kube-apiserver">Kubernetes API server</flag>
- <flag name="kube-controller-manager">Kubernetes controller manager</flag>
- <flag name="kube-proxy">Kubernetes proxy service</flag>
- <flag name="kube-scheduler">Kubernetes scheduler</flag>
- </use>
-</pkgmetadata>