You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the most part, the details are very similar to how one would deploy using docker compose. However, the issue came with the GRPC and HTTP protocol of which Memos uses both. I for one, don't have any HTTPS/TLS support in my homelab, so it might have been more difficult for me.
This may have become more convoluted as I am using Kubernetes's Gateway api instead of any other proxy to route the traffic.
I observed that the http calls made via the browser for this would be in http/1 which won't work with GRPC's requirement of http/2. So, I created two ports for different app protocols pointing to the same container port.
I didn't use GRPCRoute as I found that HTTPRoute was able to handle it normally. However, in case that doesn't happen, a similar setup should work for both GRPCRoute and HTTPRoute.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
For the most part, the details are very similar to how one would deploy using docker compose. However, the issue came with the GRPC and HTTP protocol of which Memos uses both. I for one, don't have any HTTPS/TLS support in my homelab, so it might have been more difficult for me.
This may have become more convoluted as I am using Kubernetes's Gateway api instead of any other proxy to route the traffic.
My setup:
Below are the manifest for different components:
The main aspects of this are the Service and the HTTPRoute.
For service, I did this:
I observed that the http calls made via the browser for this would be in http/1 which won't work with GRPC's requirement of http/2. So, I created two ports for different app protocols pointing to the same container port.
Then, in HTTPRoute, I just used this:
I didn't use GRPCRoute as I found that HTTPRoute was able to handle it normally. However, in case that doesn't happen, a similar setup should work for both GRPCRoute and HTTPRoute.
Beta Was this translation helpful? Give feedback.
All reactions