Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

chore: Fix nginx rewrite path error when create deployment via BYOC #188

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

xieydd
Copy link
Member

@xieydd xieydd commented Oct 10, 2023

No description provided.

annotations["nginx.ingress.kubernetes.io/rewrite-target"] = "/inference/" + fni.Name + "." + inferenceNamespace + "/$1"
annotations["nginx.ingress.kubernetes.io/ssl-redirect"] = "false"
annotations["nginx.ingress.kubernetes.io/use-regex"] = "true"
// for inference created by modelz apiserver
Copy link
Member

@cutecutecat cutecutecat Oct 10, 2023

Choose a reason for hiding this comment

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

Is this designed for BYOC created inference when INGRESS_OPERATOR_SERVICE_HOST might be not be apiserver?

Copy link
Member Author

Choose a reason for hiding this comment

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

If you set INGRESS_OPERATOR_SERVICE_HOST be apiserver, you can not use mdz create inference in local environment.

@xieydd
Copy link
Member Author

xieydd commented Oct 11, 2023

nginx.ingress.kubernetes.io/ssl-redirect is necessary for deployment which created in modelz agent? @gaocegege

@gaocegege
Copy link
Member

Yeah I think so.

@xieydd
Copy link
Member Author

xieydd commented Oct 11, 2023

Yeah I think so.

So I think we still need to keep host.

@gaocegege gaocegege merged commit b9fec0c into tensorchord:main Oct 12, 2023
8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants