NubesGen icon indicating copy to clipboard operation
NubesGen copied to clipboard

Add support for Azure Kubernetes Services

Open cmaneu opened this issue 4 years ago • 5 comments

  • [ ] Deploy registry. Azure container registry
  • [ ] Deploy a VNET
  • [ ] Deploy Application Gateway
  • [ ] Deploy AKS
  • [ ] Deploy AGIC as ingress controller

cmaneu avatar May 06 '21 15:05 cmaneu

Is my expectation on the right track here:

  • a new "Hosting type" like "k8s deployment"

  • deploy a "deployment.yaml" to new AKS cluster (like Dockerfile to App Service)

dashaun avatar May 12 '21 04:05 dashaun

For the first point, I have a Terraform config that does something similar, but now we're hitting a hard place when deploying an application to it. Once we have a Docker image & the k8s cluster set up, we indeed need to have some YAML deployment files. Should we generate them too? I'm not sure how to automate this the best way.

jdubois avatar May 14 '21 07:05 jdubois

hi there! Came across this cool project and I'm thinking of contributing. I'd say focus on AKS without the AGIC/AppGw options at first, and leverage GitOps (using the Arc extension for flux v2) to manage the cluster in the same way you manage the rest of the infrastructure, by pointing to either a separate repo or a folder within your nubesgen branch. I have an example with terraform here.

When I'm back from Kubecon I'll definitely look into extending Nubesgen to add AKS support. Thanks and great work!

ams0 avatar May 16 '22 08:05 ams0

Hi @ams0 , I'm also attending to kubecon. I'll be really happy if we can join there and exchange some ideas around AKS support for Nubesgen. I also made some progress here https://github.com/felipmiguel/aks-lab/tree/private-endpoints/terraform/aks-cni/terraform But I think we need to discuss with the team about levels of support. It can be very complex and it could discourage the adoption. Definitely AppGw and private endpoints make things much more complex (but much more secure).

felipmiguel avatar May 16 '22 08:05 felipmiguel

Hi @ams0 and pleased to meet you! Let's talk all together after kubecon, it seems like we should all work together on this!

jdubois avatar May 16 '22 11:05 jdubois