Configuration
Kubernetes Cluster(AKS)
App(Mattermost)
Prometheus
Grafana
Cert Manager
Fluent Bit
Azure Load Balancer
Azure Database for PostgreSQL server
Azure Key Vault
Azure Log Analytics
Slide 9
Slide 9 text
Features
Monitoring
Prometheus + Grafana
Logging
Fluent Bit + Azure Log Analytics
TLS support
Cert Manager
Secret management
Azure Key Vault
Slide 10
Slide 10 text
IaC
All Azure services (but DB) are managed with
terraform
azurerm_resource_group
azurerm_kubernetes_cluster
azurerm_key_vault
azurerm_key_vault_secret
azurerm_log_analytics_workspace
$ terraform apply
Otheres are manifests
Slide 11
Slide 11 text
Problems
Azure Key Vault doesn't support env variables
https://github.com/Azure/kubernetes-keyvault-flexvol/issues/28
(How can I deploy legacy apps using env variables?)
Secrets on Azure Key Vault (which were created with terraform) are now
inaccessible from outside the cluster
(Something wrong with access policies)
I've not set metrics of prometheus and fluent bit properly yet
I have to deploy some kubernetes resources in turn (CD will solve it?)
Slide 12
Slide 12 text
Next Step
I want to add:
Continuous Delivery
Spinnaker, Argo CD, Tekton
Service Mesh
Istio, SMI
Slide 13
Slide 13 text
Source Code
https://github.com/kyohmizu/mattermost-aks
Any ideas are appreciated!!
↑ You can join the mattermost team form above.