Open main menu

CDOT Wiki β

Changes

Openshift

1,715 bytes added, 20:41, 12 June 2023
m
Protected "Openshift": OER transfer ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
= Overview =
* The next generation application hosting platform developed by Red Hat, also known as "Platform as a Service"
* [httphttps://www.openshift.github.ioorg/ OpenShift Origin]
* [https://access.redhat.com/site/documentation/en-US/OpenShift_Online/2.0/html/User_Guide/index.html OpenShift User Guide]
* [https://docs.openshift.org/origin-m4/oo_deployment_guide_comprehensive.html OpenShift Origin Comprehensive Deployment Guide]
There are two ways to implement OpenShift on your own hardware:
* The easiest way to run OpenShift locally is to [http://openshift.github.io/documentation/oo_deployment_guide_vm.html download an image] suitable for running on a VM. The image will work on KVM,VirtualBox or VMWare.
* You can also [httpdeploy OpenShift Origin manually.**Note that this must be done on your host. Using these instructions on a VM results in an installation that works, but will not allow access to the GUI.<ol><li> yum update -y</li><li>yum install yum-utils</li><li>yum-config-manager --add-repo https://openshiftdownload.docker.com/linux/centos/docker-ce.repo</li><li>yum install docker-ce</li><li>mkdir /etc/docker /etc/containers</li><li>vi /etc/containers/registries.conf<source>[registries.insecure]registries = ['172.30.github0.io0/16']</source></li><li>vi /etc/documentationdocker/oo_deployment_guide_puppetdaemon.html build your own machine using Puppetjson<source>{ "insecure-registries": [ "172.30.0.0/16" ] or follow }</source></li><li>systemctl daemon-reload</li><li>systemctl restart docker</li><li>systemctl enable docker</li><li>firewall-cmd --permanent --new-zone dockerc</li><li>docker network inspect bridge #(look for the [httpsubnet address)</li><li>firewall-cmd --permanent --zone dockerc --add-source 172.17.0.0/16 #use the address range from the previous step.</li><li>firewall-cmd --permanent --zone dockerc --add-port={80,443,8443}/tcp</li><li>firewall-cmd --permanent --zone dockerc --add-port={53,8053}/udp</li><li>firewall-cmd --reload</li><li>wget https://github.com/openshift/origin/releases/download/v3.github11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.iogz</documentationli><li>tar xvf openshift-origin-client-tools*.tar.gz</oo_deployment_guide_comprehensiveli><li>cd openshift-origin-client-tools-v3.11.html comprehensive guide] and deploy OpenShift Origin manually0-0cbc58b-linux-64bit/</li><li>mv oc kubectl /usr/local/bin</li><li>oc cluster up</li><li>oc login -u system:admin</li></ol>
Try = OpenShift Resource on the first option using web =* [https://blog.openshift.com/openshift-developers-set-full-cluster-30-minutes/?utm_source=OpenShift+Online&utm_campaign=f9a98c42f0-blog_email_updates&utm_medium=email&utm_term=0_c528e5e48e-f9a98c42f0-107725973 OpenShift for Developers: Set Up a VM Full Cluster in you CentOS 6Under 30 Minutes]* [https://github.x host and show it to your professorcom/openshift/origin-server/blob/master/documentation/oo_deployment_guide_vm.adoc OpenShift Deployment Guide] The second option will take some times and efforts to complete* [https://blog. If you are taking OPS635, this will be part of your assignment 1openshift.com/why-openshift-picked-ansible/?utm_source=OpenShift+Online&utm_campaign=7200f2798b-blog_email_updates&utm_medium=email&utm_term=0_c528e5e48e-7200f2798b-107725973 OpenShift picked Ansible]