mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
Merge pull request #2036 from crawford/kubelet
coreos-base/coreos: remove the kubelet
This commit is contained in:
commit
ca31473f91
@ -1 +0,0 @@
|
||||
DIST 1.1.2_coreos.0.tar.gz 22873406 SHA256 bf608be06915d1d04c84e075a1cd26b9e18fec7b37411ac5ecf94ff3113cd7b5 SHA512 340f455c7cb284cfac98a6d06f69f8be99589f8faea8c4c90acc0afa6b8778059e9d36e864b6f02d63d115dba8e8fd067701093ecddfe31b775765faa1b6666e WHIRLPOOL 06eb82e4e0cb82ac8f21050c18388f0eab491554c66ea35d5469206e63ff75bc8bc5403e4e56e14df3fc4ac47d2a15f14cc05bd02d77baac8396800693491a22
|
@ -1,21 +0,0 @@
|
||||
[Unit]
|
||||
Description=Kubernetes Kubelet
|
||||
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
||||
|
||||
[Service]
|
||||
Environment=KUBELET_OPTS=
|
||||
|
||||
ExecStart=/usr/bin/kubelet \
|
||||
--address=127.0.0.1 \
|
||||
--api-servers=http://127.0.0.1:8080 \
|
||||
--allow-privileged=false \
|
||||
--config=/etc/kubernetes/manifests \
|
||||
--v=2 \
|
||||
--cadvisor-port=0 \
|
||||
$KUBELET_OPTS
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,46 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2015 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Kubernetes Container Manager"
|
||||
HOMEPAGE="http://kubernetes.io/"
|
||||
KEYWORDS="amd64"
|
||||
MY_PV="${PV/_p/_coreos.}"
|
||||
SRC_URI="https://github.com/coreos/kubernetes/archive/v${MY_PV}.tar.gz -> ${MY_PV}.tar.gz"
|
||||
S="${WORKDIR}/kubernetes-${MY_PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/go:="
|
||||
RDEPEND="net-misc/socat"
|
||||
|
||||
src_prepare() {
|
||||
if gcc-specs-pie; then
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
export CC=$(tc-getCC)
|
||||
export CGO_ENABLED=${CGO_ENABLED:-1}
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all WHAT="cmd/${PN}" GOFLAGS="-x" GOLDFLAGS="-extldflags '${LDFLAGS}'"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${S}/_output/local/bin/linux/${ARCH}/${PN}"
|
||||
|
||||
systemd_dounit "${FILESDIR}/kubelet.service"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
</pkgmetadata>
|
@ -87,7 +87,6 @@ RDEPEND="${RDEPEND}
|
||||
# Only applicable or available on amd64
|
||||
RDEPEND="${RDEPEND}
|
||||
amd64? (
|
||||
app-admin/kubelet
|
||||
app-admin/kubelet-wrapper
|
||||
app-crypt/go-tspi
|
||||
app-emulation/rkt[actool]
|
||||
|
Loading…
x
Reference in New Issue
Block a user