Compare commits
19 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ac22e827a | ||
|
|
4ecb0e1ec9 | ||
|
|
b13f160bd4 | ||
|
|
5ee7958e48 | ||
|
|
94ebaf18de | ||
|
|
aca2704b59 | ||
|
|
69b7fd0567 | ||
|
|
55ee72ce1e | ||
|
|
063f7683a1 | ||
|
|
cf22d77f2d | ||
|
|
f3c70680d4 | ||
|
|
9606fbe286 | ||
|
|
1786a4e527 | ||
|
|
d828af1fe4 | ||
|
|
1d5e2a11e4 | ||
|
|
329e8c27d3 | ||
|
|
2717c3e07a | ||
|
|
6e9c4a3c31 | ||
|
|
2a13d9f235 |
2 changed files with 26 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
FROM registry.fedoraproject.org/f25/kubernetes-node:latest
|
||||
MAINTAINER "Jason Brooks" <jbrooks@redhat.com>
|
||||
|
||||
ENV NAME=kubernetes-proxy VERSION=0 RELEASE=19 ARCH=x86_64
|
||||
LABEL BZComponent="$NAME" \
|
||||
Name="$FGC/$NAME" \
|
||||
Version="$VERSION" \
|
||||
Release="$RELEASE.$DISTTAG" \
|
||||
Architecture="$ARCH"
|
||||
|
||||
RUN dnf install -y iptables conntrack-tools && dnf clean all
|
||||
|
||||
LABEL RUN /usr/bin/docker run -d --privileged --net=host
|
||||
|
||||
COPY launch.sh /usr/bin/kube-proxy-docker.sh
|
||||
|
||||
ENTRYPOINT ["/usr/bin/kube-proxy-docker.sh"]
|
||||
|
||||
8
launch.sh
Executable file
8
launch.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
source /etc/kubernetes/proxy
|
||||
source /etc/kubernetes/config
|
||||
|
||||
ARGS=$(echo "$@ $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBE_MASTER $KUBE_PROXY_ARGS" | xargs -n1 | sort -u -t = -k 1,1 | xargs)
|
||||
|
||||
exec /usr/bin/kube-proxy $ARGS
|
||||
Loading…
Add table
Add a link
Reference in a new issue