-
Notifications
You must be signed in to change notification settings - Fork 420
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
Update examples readme to use valid port 8000 #1071
Conversation
hey @savitaashture could you provide some context for this change? Did we switch the default port to 8000 or something? |
Server side:
and Client side:
This is the error I got, when I used 8080 as the port number. |
Are you sure there isn't something listening on port 8080 on your local machine or something? |
I've seen this in a couple other PRs as well. I believe the port was changed to 8000 some time ago |
I looked back through the history on this repo and it looks like this PR changed the default eventlistener port number to 8000 from 8080. This is seen in this comment as well. I think this PR should be approved and merged in /lgtm |
Ahh I see. My bad. Instead of relying on port-forwarding to the EL deployment's port (which is 8000), how about we switch the examples to using the service's port (which is 8080). From the comment linked above:
It'll also simplify the port-forward command and in hindsight we should have used the service port anyway instead of the deployment port.
|
@dibyom yes actually port-forward looks for container port and because of that we had to update examples. |
Hey @dibyom sorry for the late reply |
If you port-forward to the service, you only have to specify the service port (8080) and kubectl will figure out that the container port is 8000. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-tekton-triggers-integration-tests |
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes