Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service port #11

Closed
jpopelka opened this issue Oct 7, 2019 · 3 comments
Closed

service port #11

jpopelka opened this issue Oct 7, 2019 · 3 comments
Assignees

Comments

@jpopelka
Copy link
Member

jpopelka commented Oct 7, 2019

I've been trying to deploy release bot (built from user-cont/release-bot#237) in my local 'oc cluster' and I'm not able to access it.
Trying to POST something to http://release-bot-myproject.127.0.0.1.nip.io/webhook-handler/ still returns 503 Service Unavailable.

Release bot seems to run on 8080, while the openshift/service.yml says 8443.
Any ideas what I might be missing?

@marusinm
Copy link
Collaborator

marusinm commented Oct 7, 2019

Since you are using oc cluster commnad I guess you have OpenShift 3.x. I am using OpenShift Online 4.1 and deployment is running without problems. When I look into YML file of running service which you mentioned I see this:

ports:
    - name: prod-release-bot
      protocol: TCP
      port: 443
      targetPort: 8080

So all communication via 443 should be forwarded to 8080 inner port of the pod if I understand correctly.

If you'll try OpenShift Online please build the image and push to docker hub. I was using marusinm/release-bot image instead of usercont/release-bot which is now in the Makefile.

@jpopelka
Copy link
Member Author

jpopelka commented Oct 7, 2019

I guess you have OpenShift 3.x.

yes

When I look into YML file of running service which you mentioned I see this:
targetPort: 8080

Then you must have edited it or something because the service.yml says 8443.

please build the image and push to docker hub

will do once I make 'container-things' work in F31 to which I've just upgraded

@marusinm
Copy link
Collaborator

marusinm commented Oct 8, 2019

Then you must have edited it or something because the service.yml says 8443

Yes, you are right I missed it somehow. Sorry, I opened PR #13

@jpopelka jpopelka closed this as completed Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants