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

WIP: Expose catalogd service off cluster #1761

Closed
ankitathomas opened this issue Feb 13, 2025 · 0 comments
Closed

WIP: Expose catalogd service off cluster #1761

ankitathomas opened this issue Feb 13, 2025 · 0 comments

Comments

@ankitathomas
Copy link
Contributor

ankitathomas commented Feb 13, 2025

Investigate methods for exposing catalogd service off cluster for querying for kubectl-operator. Potential options include:

  • kubectl port-forward : requires permissions to set up the port-forward connection (get/list pods and services, create pods/portforward, bind local port),
  • proxy : access the service at http://<kubernetes_master_address>/api/v1/namespaces/<namespace_name>/services/<service_name>/proxy - requires service/proxy permissions, no client authentication for external access to catalogd
  • Expose service with a nodeport : Create the catalogd service with a nodeport, requires local port reservation by default with catalogd, and for the kubectl plugin to discover the local port assignment (present on service as externalIPs, ports.nodePort).
  • kubernetes Gateway or Ingress : requires either the Gateway API addon or a third party ingress controller, OLM cannot make assumptions that a gateway/ingress controller will be running on every cluster.

If choosing a hybrid approach, follow-on work is required to also add ability to toggle on or off different methods, and also to automatically choose a method depending on the information provided by the currently running catalogd controller

@ankitathomas ankitathomas added epic/kubectl-operator-plugin v1.x Issues related to OLMv1 features that come after 1.0 labels Feb 13, 2025
@ankitathomas ankitathomas removed v1.x Issues related to OLMv1 features that come after 1.0 epic/kubectl-operator-plugin labels Feb 13, 2025
@ankitathomas ankitathomas removed this from OLM v1 Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant