wilsonianb / c8s

Codius-less: web-monetized serverless Kubernetes add-on
Apache License 2.0
3 stars 0 forks source link

Use hash.host uri #48

Closed wilsonianb closed 4 years ago

wilsonianb commented 4 years ago

Knative requires service (and configuration?) names to meet DNS 1035 validation ([a-z]([-a-z0-9]*[a-z0-9])?). Codius manifest hashes that begin with a number are rejected preventing us from using the hash as subdomain at which the workload is reachable.

As a workaround, individual codius workloads could have their own k8s namespace, and the default route domain could be changed to {namespace}.{default-domain} (from {route}.{namespace}.{default-domain}) https://knative.dev/docs/serving/using-a-custom-domain/