Code Monkey home page Code Monkey logo

openshift-console-on-port-443's Introduction

Reroute OpenShift Console to port 443

The purpose of this is to expose the console on different port than the default 8443. There are ways to expose the console natively from master on 443, but from what I understand there can be quite a number of tricky things that happen when it is manually altered, thus we are going to try and expose as an Endpoint.

Prerequisites

  1. OSE master ip address: <ose-master-ip>

  2. OSE master hostname: <ose-master-hostname>

  3. OSE console host domain: <new-ose-console-domain>

Note
The new console domain can be whatever you want on top of the subdomain. It just has to be routable to node hosting haproxy.
Create Service layer
$ oc create -f openshift/service.yaml
Create Endpoint layer
$ sed -i 's/<template-master-ip-address>/<ose-master-ip>/g' \
openshift/service.yaml
$ oc create -f openshift/endpoint.yaml
Create routing layer
$ sed -i 's/<template-ose-console-domain>/<new-ose-console-domain>:443/g' \
openshift/route.yaml
$ oc create -f openshift/route.yaml
Edit master configuration
$ sed -i 's/https://<ose-master-hostname>:8443/<new-ose-console-domain>:443/g' \
/etc/origin/master/master-config.yaml
Restart master
$ systemctl restart atomic-openshift-master

openshift-console-on-port-443's People

Stargazers

Chris Rüttimann avatar Florian Baader avatar Alex Worrad-Andrews avatar x1957 avatar

Watchers

J. Marley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.