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

OSSM-8235 fix broken httpbin samples #1064

Open
wants to merge 2 commits into
base: maistra-2.6
Choose a base branch
from
Open

Conversation

yxun
Copy link
Member

@yxun yxun commented Nov 4, 2024

Since httpbin released 0.2.0, all httpbin samples on openshift are broken.
See [this issue in the httpbin repo|https://github.com/Kong/httpbin/issues/60]. The istio fix for this doesn't work on openshift but istio has moved to a go based httpbin instead of the python/pipenv version which works without any additional arguments or env var settings.

@openshift-ci openshift-ci bot added the size/S label Nov 4, 2024
imagePullPolicy: IfNotPresent
name: httpbin
ports:
- containerPort: 8001
command: ["gunicorn", "-b", "0.0.0.0:8001", "httpbin:app", "-k", "gevent"]
- containerPort: 8080
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The containerPort has changed in each file but the targetPort for each associated Service has not been updated. Does the targetPort need to be updated in each file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Eoin. I have updated the service targetPort in the second commit.

Signed-off-by: Yuanlin Xu <[email protected]>
@yxun
Copy link
Member Author

yxun commented Nov 5, 2024

/test integ-servicemesh-multicluster-2-6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants