smaddis / smad-deploy-azure

Terraform scripts to set up AKS, ACR, KV for Kuksa Cloud (Eclipse Hono) deployment.
MIT License
0 stars 6 forks source link

Create proper domain address for services and provision LE cert #84

Closed msrn closed 3 years ago

msrn commented 3 years ago

This PR introduces #80 to master branch and also builds on top of that PR.

With this PR the cluster is assigned a proper DNS label which in turn allows the usage of <dnslabel>.<zone>.cloudapp.azure.com domain address. Cert-manager also provisions LE certificate for this domain also.

Ambassador API gateway is used for TLS terminations and reverse proxy. A separate ingress controller is not needed.

This PR also uses gavinbunney/kubectlprovider for CRDs ambassador_mappings.yamland tls_mappings.yaml

Usage

Grafana can be found from https://{workspace}-k8stest.westeurope.cloudapp.azure.com/grafana/ And jaeger UI from https://{workspace}-k8stest.westeurope.cloudapp.azure.com:16686

Limitations and issues

It is somewhat inconvenient and ugly for Jaeger Query UI to have a port address in its URL. For some reason, the base-path setting in Jaeger-operator does not work how it is supposed to. Also might have something to do with Ambassador mappings. https://github.com/smaddis/smad-deploy-azure/blob/010aa056627b0b432598a8eb0c6572f934ca4726/modules/container_deployment/jaeger_values.yaml#L5-L10

Nindemic commented 3 years ago

LGTM