Skip to content
ior = Istio + OpenShift Routing
Branch: maistra-0.11
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd Add License Jan 14, 2019
container Small fixes in development helpers Apr 3, 2019
pkg Fix newline ending on log messages Apr 3, 2019
tests
vendor
.gitignore Improvements on build system Dec 14, 2018
Gopkg.lock Update with latest 1.1 upstream galley Mar 13, 2019
Gopkg.toml Update with latest 1.1 upstream galley Mar 13, 2019
LICENSE Add License Jan 14, 2019
Makefile Small fixes in development helpers Apr 3, 2019
README.md Updated README Dec 14, 2018

README.md

IOR

ior = Istio + OpenShift Routing (I'm terrible with names, sorry)

What is it?

ior aims to integrate Istio Gateways with OpenShift Routes. It manages (create, edit, delete) OpenShift Routes based on Istio Gateways, thus elimitating the need of manually creating routes.

As an example, if a user creates the Gateway:

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: bookinfo-gateway
spec:
  selector:
    istio: ingressgateway # use istio default controller
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "www.bookinfo.com"
    - "bookinfo.example.com"

Then the following OpenShift routes will be automatically created:

$ oc -n istio-system get routes
NAME                     HOST/PORT              PATH      SERVICES               PORT      TERMINATION   WILDCARD
bookinfo-gateway-7zsdx   bookinfo.example.com             istio-ingressgateway   <all>                   None
bookinfo-gateway-n6lq7   www.bookinfo.com                 istio-ingressgateway   <all>                   None

ior keeps Routes in sync with Gateways, meaning if you change or delete a Gateway, the Routes will be changed or deleted accordingly.

You can’t perform that action at this time.