Last active
March 6, 2019 22:37
-
-
Save danehans/dcd30a899041546441bcecdbc25ab57b to your computer and use it in GitHub Desktop.
multi_ingress_route_example
This file contains hidden or 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
$ oc get clusteringresses -n openshift-ingress-operator -o yaml | |
apiVersion: v1 | |
items: | |
- apiVersion: ingress.openshift.io/v1alpha1 | |
kind: ClusterIngress | |
metadata: | |
creationTimestamp: 2019-03-06T19:14:55Z | |
finalizers: | |
- ingress.openshift.io/cluster-ingress | |
- ingress.openshift.io/ingress-controller | |
generation: 9 | |
name: default | |
namespace: openshift-ingress-operator | |
resourceVersion: "956828" | |
selfLink: /apis/ingress.openshift.io/v1alpha1/namespaces/openshift-ingress-operator/clusteringresses/default | |
uid: 207a1e99-4044-11e9-9ff6-0223b6f49e34 | |
spec: | |
defaultCertificateSecret: null | |
highAvailability: null | |
ingressDomain: null | |
namespaceSelector: null | |
nodePlacement: | |
nodeSelector: | |
matchLabels: | |
node-role.kubernetes.io/worker: "" | |
replicas: 2 | |
routeSelector: null | |
unsupportedExtensions: null | |
status: | |
highAvailability: | |
type: Cloud | |
ingressDomain: apps.danehans.devcluster.openshift.com | |
labelSelector: app=router,router=router-default | |
replicas: 2 | |
- apiVersion: ingress.openshift.io/v1alpha1 | |
kind: ClusterIngress | |
metadata: | |
creationTimestamp: 2019-03-06T21:51:29Z | |
finalizers: | |
- ingress.openshift.io/ingress-controller | |
generation: 2 | |
name: test0 | |
namespace: openshift-ingress-operator | |
resourceVersion: "989967" | |
selfLink: /apis/ingress.openshift.io/v1alpha1/namespaces/openshift-ingress-operator/clusteringresses/test0 | |
uid: ff98ad2b-4059-11e9-bbfa-0223b6f49e34 | |
spec: | |
defaultCertificateSecret: null | |
highAvailability: null | |
ingressDomain: tests0.danehans.devcluster.openshift.com | |
namespaceSelector: null | |
nodePlacement: null | |
replicas: 2 | |
routeSelector: null | |
unsupportedExtensions: null | |
status: | |
highAvailability: | |
type: Cloud | |
ingressDomain: tests0.danehans.devcluster.openshift.com | |
labelSelector: app=router,router=router-test0 | |
replicas: 2 | |
kind: List | |
metadata: | |
resourceVersion: "" | |
selfLink: "" |
This file contains hidden or 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
$ oc get route/console -n openshift-console -o yaml | |
apiVersion: route.openshift.io/v1 | |
kind: Route | |
metadata: | |
annotations: | |
openshift.io/host.generated: "true" | |
creationTimestamp: 2019-03-05T21:24:51Z | |
labels: | |
app: console | |
name: console | |
namespace: openshift-console | |
resourceVersion: "36406" | |
selfLink: /apis/route.openshift.io/v1/namespaces/openshift-console/routes/console | |
uid: 1c5aa99c-3f8d-11e9-81d3-0a580a810017 | |
spec: | |
host: console-openshift-console.apps.danehans.devcluster.openshift.com | |
port: | |
targetPort: https | |
tls: | |
insecureEdgeTerminationPolicy: Redirect | |
termination: reencrypt | |
to: | |
kind: Service | |
name: console | |
weight: 100 | |
wildcardPolicy: None | |
status: | |
ingress: | |
- conditions: | |
- lastTransitionTime: 2019-03-05T21:25:21Z | |
status: "True" | |
type: Admitted | |
host: console-openshift-console.apps.danehans.devcluster.openshift.com | |
routerCanonicalHostname: apps.danehans.devcluster.openshift.com | |
routerName: default | |
wildcardPolicy: None | |
- conditions: | |
- lastTransitionTime: 2019-03-05T21:56:46Z | |
status: "True" | |
type: Admitted | |
host: console-openshift-console.apps.danehans.devcluster.openshift.com | |
routerCanonicalHostname: tests0.danehans.devcluster.openshift.com | |
routerName: test0 | |
wildcardPolicy: None |
This file contains hidden or 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
$ oc get route/tests0-console -n openshift-console -o yaml | |
apiVersion: route.openshift.io/v1 | |
kind: Route | |
metadata: | |
creationTimestamp: 2019-03-06T22:31:09Z | |
labels: | |
app: console | |
name: tests0-console | |
namespace: openshift-console | |
resourceVersion: "1015061" | |
selfLink: /apis/route.openshift.io/v1/namespaces/openshift-console/routes/tests0-console | |
uid: 89f7747b-405f-11e9-ba21-0a580a8200e0 | |
spec: | |
host: console-openshift-console.tests0.danehans.devcluster.openshift.com | |
port: | |
targetPort: https | |
tls: | |
insecureEdgeTerminationPolicy: Redirect | |
termination: reencrypt | |
to: | |
kind: Service | |
name: console | |
weight: 100 | |
wildcardPolicy: None | |
status: | |
ingress: | |
- conditions: | |
- lastTransitionTime: 2019-03-06T22:31:09Z | |
status: "True" | |
type: Admitted | |
host: console-openshift-console.tests0.danehans.devcluster.openshift.com | |
routerCanonicalHostname: tests0.danehans.devcluster.openshift.com | |
routerName: test0 | |
wildcardPolicy: None | |
- conditions: | |
- lastTransitionTime: 2019-03-06T22:31:09Z | |
status: "True" | |
type: Admitted | |
host: console-openshift-console.tests0.danehans.devcluster.openshift.com | |
routerCanonicalHostname: apps.danehans.devcluster.openshift.com | |
routerName: default | |
wildcardPolicy: None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment