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
When launching an application through the App Launcher with a NodePort service, the extension uses Rancher's proxy URL format: /k8s/clusters/[cluster-id]/api/v1/namespaces/[namespace]/services/http:[service-name]:80/proxy/
This causes issues with applications that expect to be served from the root path (/).
Desired Behavior
App Launcher should detect the service type (NodePort, LoadBalancer, ClusterIP) and adjust the launch URL accordingly:
For NodePort services: Use http://[node-ip]:[nodePort]
For proxy URLs: Keep current behavior
For Ingress: Keep current behavior
Using the Rancher demo application (monachus/rancher-demo):
Direct NodePort access works: http://rancher-demo.cweiser.com:30021
Current proxy URL fails: https://rancher.cweiser.com/k8s/clusters/c-m-xds5xzdt/api/v1/namespaces/cweiser/services/http:scale-np-service:80/proxy/
The text was updated successfully, but these errors were encountered:
chase-weiser88
changed the title
Feature Request: NodePort Service URL Support in App Launcher
Feature: NodePort Service URL Support in App Launcher
Oct 25, 2024
chase-weiser88
changed the title
Feature: NodePort Service URL Support in App Launcher
Feature: App Launcher - service type detection needed in URL assembly logic
Oct 25, 2024
Current Behavior
When launching an application through the App Launcher with a NodePort service, the extension uses Rancher's proxy URL format:
/k8s/clusters/[cluster-id]/api/v1/namespaces/[namespace]/services/http:[service-name]:80/proxy/
This causes issues with applications that expect to be served from the root path (
/
).Desired Behavior
App Launcher should detect the service type (NodePort, LoadBalancer, ClusterIP) and adjust the launch URL accordingly:
http://[node-ip]:[nodePort]
Using the Rancher demo application (monachus/rancher-demo):
http://rancher-demo.cweiser.com:30021
https://rancher.cweiser.com/k8s/clusters/c-m-xds5xzdt/api/v1/namespaces/cweiser/services/http:scale-np-service:80/proxy/
The text was updated successfully, but these errors were encountered: