Open costrouc opened 3 years ago
Thanks! I think it'd be great to remove the need for this workaround in QHub.
@droctothorpe or @consideRatio does this proposal sound sensible to you?
make_ingressroute
.I'll number some of my thoughts as I consider this further.
tls.certManager=default
for example.extraPodConfig
. A downside is the complexity of making a change to an item in a list though, which is why KubeSpawner for example have extra_pod_config and extra_container_config separate from each other.Hmmm... I think using a configurable template would be reasonable (7). Not very confident this is the right way to go, but it feels the most reasonable to explore in my mind.
When it comes to customizing the Helm charts declared k8s resource templates, I'd like to see an overview of:
With such insight, it would be reasonable to make a decision on how and if to support further configuration.
@consideRatio's input covers most of the bases.
This was mainly motivated when we found of that two traefik services in the same namespace in kubernetes do not play well with each other.
Can you elaborate on the errors that you saw?
We need this functionality to expose the dask scheduler dashboard with https.
FWIW, we addressed this problem by terminating HTTPS at the ELB, which was as simple as adding the appropriate annotations to the Traefik service and ingress in the values yaml and letting cloud provider and external DNS work their magic.
Can you elaborate on the errors that you saw?
For reference, this was the tracking issue for the errors we saw.
For QHub we have moved away from using the dask-gateway helm chart to more tightly integrate dask-gateway with our traefik http/https/tcp proxy https://github.com/Quansight/qhub-terraform-modules/tree/main/modules/kubernetes/services/dask-gateway. This was mainly motivated when we found of that two traefik services in the same namespace in kubernetes do not play well with each other.
All that said the current issues we are facing is around decorating the
IngressRoute
and needing to addtls: {"certManager": "default"}
. I would like to propose templatizing the resource objects being created via Traitlets.For example
Or possibly we should just make the
make_ingressroute
functions and similar overridable via traetlets callables. We need this functionality to expose the dask scheduler dashboard withhttps
.cc: @aktech