Compare commits

..

20 commits

Author SHA1 Message Date
Adam Miller
39ae62549e Bump RELEASE for automatic rebuild 2017-09-21 12:19:07 -05:00
Adam Miller
ae104d7acf Bump RELEASE for automatic rebuild 2017-08-24 16:29:58 -05:00
Adam Miller
274c70892b Bump RELEASE for automatic rebuild 2017-07-25 14:53:53 -05:00
Adam Miller
d4ecfd0815 Bump RELEASE for automatic rebuild 2017-07-06 15:27:10 -05:00
Adam Miller
9a0a057ab7 Bump RELEASE for automatic rebuild 2017-06-27 12:20:33 -05:00
Adam Miller
d4f8f4cbbc Bump RELEASE for automatic rebuild 2017-06-27 11:49:19 -05:00
Adam Miller
0492488285 Bump RELEASE for automatic rebuild 2017-05-23 22:27:20 -05:00
Adam Miller
cd3e416e44 Bump RELEASE for automatic rebuild 2017-05-23 17:57:01 -05:00
Adam Miller
85acddac1c Bump RELEASE for automatic rebuild 2017-05-23 16:16:21 -05:00
Adam Miller
dd00662327 Bump RELEASE for automatic rebuild 2017-04-20 21:33:03 -05:00
Adam Miller
c40830ed10 Bump RELEASE for automatic rebuild 2017-04-20 21:31:29 -05:00
Adam Miller
beff491b1b Bump RELEASE for automatic rebuild 2017-03-29 22:38:17 -05:00
Adam Miller
4bab7b7915 Bump RELEASE for automatic rebuild 2017-03-29 15:16:48 -05:00
Adam Miller
3c737d94b1 Bump RELEASE for automatic rebuild 2017-03-15 17:23:41 -05:00
Adam Miller
b3bd39ed95 Bump RELEASE for automatic rebuild 2017-03-15 16:49:10 -05:00
Adam Miller
8f58e91530 Bump RELEASE for automatic rebuild 2017-03-15 16:46:07 -05:00
Jason Brooks
046242afed fix component name 2017-03-07 10:15:53 -08:00
Jason Brooks
bf59c0dc23 fix bzcomponent label 2017-03-02 22:47:04 -08:00
Jason Brooks
23d13d4a36 fix FROM line 2017-02-17 11:51:54 -08:00
Jason Brooks
c396ec26e4 first import of kubernetes-controller-manager Dockerfile and files 2017-01-09 13:53:40 -08:00
4 changed files with 7 additions and 209 deletions

View file

@ -1,21 +1,15 @@
FROM registry.fedoraproject.org/kubernetes-master:rawhide
FROM registry.fedoraproject.org/f25/kubernetes-master:latest
MAINTAINER "Jason Brooks" <jbrooks@redhat.com>
ENV container=docker
ENV NAME=kubernetes-controller-manager VERSION=0 ARCH=x86_64
ENV NAME=kubernetes-controller-manager VERSION=0.1 RELEASE=19 ARCH=x86_64
LABEL BZComponent="$NAME" \
name="$FGC/$NAME" \
version="$VERSION" \
architecture="$ARCH" \
atomic.type='system'
Name="$FGC/$NAME" \
Version="$VERSION" \
Release="$RELEASE.$DISTTAG" \
Architecture="$ARCH"
COPY launch.sh /usr/bin/kube-controller-manager-docker.sh
LABEL RUN /usr/bin/docker run -d --net=host
COPY service.template config.json.template /exports/
RUN mkdir -p /exports/hostfs/etc/kubernetes && cp /etc/kubernetes/{config,controller-manager} /exports/hostfs/etc/kubernetes
ENTRYPOINT ["/usr/bin/kube-controller-manager-docker.sh"]

View file

@ -1,184 +0,0 @@
{
"ociVersion": "1.0.0",
"platform": {
"os": "linux",
"arch": "amd64"
},
"process": {
"terminal": false,
"user": {
"uid": 996,
"gid": 994
},
"args": [
"/usr/bin/kube-controller-manager-docker.sh"
],
"env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM=xterm"
],
"cwd": "/",
"capabilities": {
"bounding": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_DAC_READ_SEARCH"
],
"permitted": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_DAC_READ_SEARCH"
],
"inheritable": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_DAC_READ_SEARCH"
],
"effective": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_DAC_READ_SEARCH"
],
"ambient": [
"CAP_AUDIT_WRITE",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_DAC_READ_SEARCH"
]
},
"rlimits": [
{
"type": "RLIMIT_NOFILE",
"hard": 1024,
"soft": 1024
}
]
},
"root": {
"path": "rootfs",
"readonly": true
},
"mounts": [
{
"destination": "/proc",
"type": "proc",
"source": "proc"
},
{
"destination": "/dev",
"type": "tmpfs",
"source": "tmpfs",
"options": [
"nosuid",
"strictatime",
"mode=755",
"size=65536k"
]
},
{
"destination": "/dev/pts",
"type": "devpts",
"source": "devpts",
"options": [
"nosuid",
"noexec",
"newinstance",
"ptmxmode=0666",
"mode=0620",
"gid=5"
]
},
{
"destination": "/dev/shm",
"type": "tmpfs",
"source": "shm",
"options": [
"nosuid",
"noexec",
"nodev",
"mode=1777",
"size=65536k"
]
},
{
"destination": "/dev/mqueue",
"type": "mqueue",
"source": "mqueue",
"options": [
"nosuid",
"noexec",
"nodev"
]
},
{
"destination": "/sys",
"type": "sysfs",
"source": "sysfs",
"options": [
"nosuid",
"noexec",
"nodev"
]
},
{
"destination": "/sys/fs/cgroup",
"type": "cgroup",
"source": "cgroup",
"options": [
"nosuid",
"noexec",
"nodev",
"relatime",
"ro"
]
},
{
"type": "bind",
"source": "/etc/kubernetes",
"destination": "/etc/kubernetes",
"options": [
"rbind",
"ro",
"rprivate"
]
},
{
"destination": "/etc/resolv.conf",
"type": "bind",
"source": "/etc/resolv.conf",
"options": [
"ro",
"rbind",
"rprivate"
]
}
],
"linux": {
"resources": {
"devices": [
{
"allow": false,
"access": "rwm"
}
]
},
"namespaces": [
{
"type": "pid"
},
{
"type": "ipc"
},
{
"type": "mount"
}
],
"devices": null,
"apparmorProfile": "",
"selinuxProcessLabel": ""
}
}

View file

@ -3,6 +3,6 @@
source /etc/kubernetes/controller-manager
source /etc/kubernetes/config
ARGS="$@ $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBE_MASTER $KUBE_CONTROLLER_MANAGER_ARGS"
ARGS=$(echo "$@ $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBE_MASTER $KUBE_CONTROLLER_MANAGER_ARGS" | xargs -n1 | sort -u -t = -k 1,1 | xargs)
exec /usr/bin/kube-controller-manager $ARGS

View file

@ -1,12 +0,0 @@
[Unit]
Description=kubernetes-controller-manager
[Service]
ExecStart=$EXEC_START
ExecStop=$EXEC_STOP
Restart=on-failure
WorkingDirectory=$DESTDIR
[Install]
WantedBy=multi-user.target