[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to setup external IP

The pods have this label.
oc describe pod openshift-jee-sample-5-b504r

Labels:    app=openshift-jee-sample
Port:        8080/TCP

I checked the IP address listed on the two compute nodes, I do not see, so there is no way to route to this IP.
Do I need to set "ExternalIPNetworkCIDRs" ?

On Friday, March 10, 2017 6:51 PM, Vignesh M.P.N. <vigneshb4u gmail com> wrote:

Do all your pods have the label "app=openshift-jee-sample" ?

Looks like your service already has 3 endpoints. What's running, and


On Fri, Mar 10, 2017 at 5:29 PM, Ask Stack <askstack yahoo com> wrote:
I have one master and two nodes,, and
I want setup a jboss container can be accessible at
I followed https://docs.openshift.com/ container-platform/3.4/admin_ guide/tcp_ingress_external_ ports.html

I think I have the service setup correctly but I don't understand how to make the two nodes aware they need to listen on

Thanks in advance.

[root ansibleqc1 tmp]# cat /tmp/loadbalancer.yaml

apiVersion: v1
kind: Service
  name: egress-1
  - name: wildfly
    port: 8080
  type: LoadBalancer
    app: openshift-jee-sample

[root ansibleqc1 tmp]# oc describe svc egress-1
Name:            egress-1
Namespace:        jbossdemo1
Labels:            <none>
Selector:        app=openshift-jee-sample
Type:            LoadBalancer
LoadBalancer Ingress:
Port:            wildfly    8080/TCP
NodePort:        wildfly    31664/TCP
Endpoints:, 8080,
Session Affinity:    None
No events.

______________________________ _________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat. com/openshiftmm/listinfo/users

users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]