Compare commits

..

23 commits

Author SHA1 Message Date
Adam Miller
6fbf567b5c Bump RELEASE for automatic rebuild 2017-09-21 12:18:56 -05:00
Adam Miller
52bc6f00b6 Bump RELEASE for automatic rebuild 2017-08-24 16:29:40 -05:00
Adam Miller
144db725b4 Bump RELEASE for automatic rebuild 2017-07-25 14:54:35 -05:00
Adam Miller
83b74eacc2 Bump RELEASE for automatic rebuild 2017-07-06 15:27:28 -05:00
Adam Miller
e344606a01 Bump RELEASE for automatic rebuild 2017-06-27 12:20:55 -05:00
Adam Miller
e40c8e5853 Bump RELEASE for automatic rebuild 2017-06-27 11:49:40 -05:00
Adam Miller
539a6f6023 Bump RELEASE for automatic rebuild 2017-06-14 22:03:19 -05:00
Adam Miller
4277cb959e Bump RELEASE for automatic rebuild 2017-05-23 22:27:10 -05:00
Adam Miller
fc0f265950 Bump RELEASE for automatic rebuild 2017-05-23 17:57:34 -05:00
Adam Miller
7d337cdc4b Bump RELEASE for automatic rebuild 2017-05-23 16:17:41 -05:00
Adam Miller
0c98540f79 Bump RELEASE for automatic rebuild 2017-04-20 21:33:22 -05:00
Adam Miller
ec4be2a471 Bump RELEASE for automatic rebuild 2017-03-29 22:38:36 -05:00
Adam Miller
336c63b0ec Bump RELEASE for automatic rebuild 2017-03-29 15:17:08 -05:00
Adam Miller
9b19a0cf63 Bump RELEASE for automatic rebuild 2017-03-15 17:24:03 -05:00
Adam Miller
9503187be3 Bump RELEASE for automatic rebuild 2017-03-15 16:49:33 -05:00
Adam Miller
a15e421222 Bump RELEASE for automatic rebuild 2017-03-15 16:46:28 -05:00
Adam Miller
1b3f09db93 Bump RELEASE for automatic rebuild 2017-03-02 20:21:45 -06:00
Jason Brooks
022b3dec4a bump release 2017-02-09 15:28:52 -08:00
Jason Brooks
4aaf237c78 restore registry location 2017-02-09 13:03:58 -08:00
Jason Brooks
3a315b7664 update name, try another image location 2017-01-09 15:00:36 -08:00
Jason Brooks
f5793b7a4f try alternate image location 2017-01-09 14:48:07 -08:00
Jason Brooks
f71e732350 update maintainer, bz component 2017-01-09 14:06:54 -08:00
Jason Brooks
c088ab6420 first import of kubernetes-apiserver Dockerfile and files 2017-01-09 13:44:17 -08:00
5 changed files with 7 additions and 223 deletions

View file

@ -1,25 +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-apiserver VERSION=0 ARCH=x86_64
ENV NAME=kubernetes-apiserver 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-apiserver-docker.sh
RUN chmod +x /usr/bin/kube-apiserver
LABEL RUN /usr/bin/docker/ run -d --net=host -p 443:443
COPY service.template config.json.template tmpfiles.template /exports/
RUN mkdir -p /exports/hostfs/usr/local/bin/ && cp /usr/bin/kubectl /exports/hostfs/usr/local/bin/kubectl
RUN mkdir -p /exports/hostfs/etc/kubernetes && cp /etc/kubernetes/{config,apiserver} /exports/hostfs/etc/kubernetes
ENTRYPOINT ["/usr/bin/kube-apiserver-docker.sh"]

View file

@ -1,193 +0,0 @@
{
"ociVersion": "1.0.0",
"platform": {
"os": "linux",
"arch": "amd64"
},
"process": {
"terminal": false,
"user": {
"uid": 996,
"gid": 994
},
"args": [
"/usr/bin/kube-apiserver-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"
]
},
{
"destination": "/var/run/kubernetes",
"type": "bind",
"source": "/var/run/kubernetes",
"options": [
"rw",
"rbind"
]
}
],
"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/apiserver
source /etc/kubernetes/config
ARGS="$@ $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBE_ETCD_SERVERS $KUBE_API_ADDRESS $KUBE_API_PORT $KUBELET_PORT $KUBE_ALLOW_PRIV $KUBE_SERVICE_ADDRESSES $KUBE_ADMISSION_CONTROL $KUBE_API_ARGS"
ARGS=$(echo "$@ $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBE_ETCD_SERVERS $KUBE_API_ADDRESS $KUBE_API_PORT $KUBELET_PORT $KUBE_ALLOW_PRIV $KUBE_SERVICE_ADDRESSES $KUBE_ADMISSION_CONTROL $KUBE_API_ARGS" | xargs -n1 | sort -u -t = -k 1,1 | xargs)
exec /usr/bin/kube-apiserver $ARGS

View file

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

View file

@ -1 +0,0 @@
d /var/run/kubernetes 0755 kube kube -