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

Add an optional ingress spec to Stream CRD #62

Open
6 tasks
thedodd opened this issue Aug 17, 2021 · 0 comments
Open
6 tasks

Add an optional ingress spec to Stream CRD #62

thedodd opened this issue Aug 17, 2021 · 0 comments
Labels
A-crd Hadron K8s CRDs A-operator Hadron Kubernetes operator
Projects

Comments

@thedodd
Copy link
Collaborator

thedodd commented Aug 17, 2021

  • The Stream CR should allow for an ingress class to be specified.
  • When the ingress object is present, Hadron will create and manage ingress objects for proxying traffic back to individual partition services based on hostname.
  • Ingress object should have a domain field, which will be used to generate the hostname matchers for ingress entries. They will be formatted as {serviceName}.{domain}.
  • Partition connection info should include the internal connection strings as {serviceName}.{namespace} and external connection strings if the stream is configured with ingress controls.
  • Document how external connections should be established with k8s ingress, services, LBs, and how all of this works with the metadata system.
  • update CLI docs.

Maybe support a NodePort pattern as well. This would allow for easier interop with development clusters, and clusters where a simple nodeport setup is desired.

  • operator would have to randomly assign nodeports for the services.
  • a DNS name would need to be assigned as well which would resolve to at least one of the nodes of the cluster. Once it hits at least one node port, then k8s networking will get it to the correct location.
  • this would be exclusive with ingress type for external access.
@thedodd thedodd created this issue from a note in Main (To do) Aug 17, 2021
@thedodd thedodd added A-crd Hadron K8s CRDs A-operator Hadron Kubernetes operator labels Aug 17, 2021
@thedodd thedodd moved this from To do to Backlog in Main Aug 17, 2021
@thedodd thedodd moved this from Backlog to In progress in Main Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-crd Hadron K8s CRDs A-operator Hadron Kubernetes operator
Projects
Main
In progress
Development

No branches or pull requests

1 participant