-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename base origin images and remove unused content
We drop openvswitch, rename node to origin-node, and remove system container support for anything except node.
- Loading branch information
1 parent
dc7d90d
commit 1193bf7
Showing
39 changed files
with
42 additions
and
874 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM openshift/origin | ||
FROM openshift/origin-control-plane | ||
MAINTAINER Aaron Weitekamp <[email protected]> | ||
|
||
ADD install.sh run.sh uninstall.sh /container/bin/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,30 @@ | ||
# | ||
# This is an OpenShift Origin node image with integrated OpenvSwitch SDN | ||
# If you do not require OVS SDN use the openshift/origin image instead. | ||
# This is an OpenShift Origin node image with integrated OpenvSwitch SDN. | ||
# | ||
# This image expects to have a volume mounted at /etc/origin/node that contains | ||
# a KUBECONFIG file giving the node permission to talk to the master and a | ||
# node configuration file. | ||
# | ||
# The standard name for this image is openshift/node | ||
# The standard name for this image is openshift/origin-node | ||
# | ||
FROM openshift/origin | ||
FROM openshift/origin-control-plane | ||
|
||
COPY scripts/* /usr/local/bin/ | ||
COPY system-container/system-container-wrapper.sh /usr/local/bin/ | ||
COPY system-container/manifest.json system-container/config.json.template system-container/service.template system-container/tmpfiles.template /exports/ | ||
|
||
RUN INSTALL_PKGS="origin-sdn-ovs libmnl libnetfilter_conntrack conntrack-tools openvswitch \ | ||
RUN INSTALL_PKGS="origin-sdn-ovs libmnl libnetfilter_conntrack conntrack-tools \ | ||
libnfnetlink iptables iproute bridge-utils procps-ng ethtool socat openssl \ | ||
binutils xz kmod-libs kmod sysvinit-tools device-mapper-libs dbus \ | ||
iscsi-initiator-utils bind-utils" && \ | ||
yum --enablerepo=origin-local-release install -y $INSTALL_PKGS && \ | ||
rpm -V $INSTALL_PKGS && \ | ||
yum clean all && \ | ||
mkdir -p /usr/lib/systemd/system/origin-node.service.d /usr/lib/systemd/system/docker.service.d | ||
|
||
# Copy the cni plugins to the host file system when they are present, so that they can be shared with cri-o | ||
RUN if test -e /opt/cni/bin; then mkdir -p /exports/hostfs/opt/cni/bin/ && cp -r /opt/cni/bin/* /exports/hostfs/opt/cni/bin/; fi | ||
yum clean all | ||
|
||
LABEL io.k8s.display-name="OpenShift Origin Node" \ | ||
io.k8s.description="This is a component of OpenShift Origin and contains the software for individual nodes when using SDN." \ | ||
io.openshift.tags="openshift,node" | ||
|
||
VOLUME /etc/origin/node | ||
ENV KUBECONFIG=/etc/origin/node/node.kubeconfig | ||
|
||
ENTRYPOINT [ "/usr/local/bin/origin-node-run.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,26 @@ | ||
# | ||
# This is an OpenShift Origin node image with integrated OpenvSwitch SDN | ||
# If you do not require OVS SDN use the openshift/origin image instead. | ||
# | ||
# This image expects to have a volume mounted at /etc/origin/node that contains | ||
# a KUBECONFIG file giving the node permission to talk to the master and a | ||
# node configuration file. | ||
# The standard name for this image is openshift/origin-node | ||
# | ||
# The standard name for this image is openshift/node | ||
# | ||
FROM openshift/origin | ||
FROM openshift/origin-control-plane | ||
|
||
COPY scripts/* /usr/local/bin/ | ||
COPY system-container/system-container-wrapper.sh /usr/local/bin/ | ||
COPY system-container/manifest.json system-container/config.json.template system-container/service.template system-container/tmpfiles.template /exports/ | ||
|
||
RUN INSTALL_PKGS="origin-sdn-ovs libmnl libnetfilter_conntrack conntrack-tools openvswitch \ | ||
RUN INSTALL_PKGS="origin-sdn-ovs libmnl libnetfilter_conntrack conntrack-tools \ | ||
libnfnetlink iptables iproute bridge-utils procps-ng ethtool socat openssl \ | ||
binutils xz kmod-libs kmod sysvinit-tools device-mapper-libs dbus \ | ||
iscsi-initiator-utils bind-utils" && \ | ||
yum --enablerepo=origin-local-release install -y $INSTALL_PKGS && \ | ||
rpm -V $INSTALL_PKGS && \ | ||
yum clean all && \ | ||
mkdir -p /usr/lib/systemd/system/origin-node.service.d /usr/lib/systemd/system/docker.service.d | ||
|
||
# Copy the cni plugins to the host file system when they are present, so that they can be shared with cri-o | ||
RUN if test -e /opt/cni/bin; then mkdir -p /exports/hostfs/opt/cni/bin/ && cp -r /opt/cni/bin/* /exports/hostfs/opt/cni/bin/; fi | ||
yum clean all | ||
|
||
LABEL io.k8s.display-name="OpenShift Origin Node" \ | ||
io.k8s.description="This is a component of OpenShift Origin and contains the software for individual nodes when using SDN." \ | ||
io.openshift.tags="openshift,node" | ||
|
||
VOLUME /etc/origin/node | ||
ENV KUBECONFIG=/etc/origin/node/node.kubeconfig | ||
|
||
ENTRYPOINT [ "/usr/local/bin/origin-node-run.sh" ] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.