microsoft-graph-comms-samples icon indicating copy to clipboard operation
microsoft-graph-comms-samples copied to clipboard

Is Azure Kubernetes Service supported for Teams Policy Recording Bots?

Open oxygennik2009 opened this issue 1 year ago • 6 comments

Hi,

I wonder if Azure Kubernetes Service (AKS) can be considered as a proper way to host Microsoft Teams Policy Recording bot?

Officially, the bot can be hosted within one of the following Azure service environments:

  1. Cloud Service.
  2. Service Fabric with Virtual Machine Scale Sets (VMSS).
  3. Infrastructure as a Service (IaaS) Virtual Machine (VM).

I wonder if Azure Kubernetes Service can be included in this list?

Source: https://learn.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/requirements-considerations-application-hosted-media-bots#c-or-net-and-windows-server-for-development

AKS works like a charm and I would really love to continue on using it but I have to get some official evidence it's mentioned somewhere as a way of hosting the bot.

@ssulzer / @zihzhan-msft Could you please provide any feedback on this one?

oxygennik2009 avatar Jan 16 '24 17:01 oxygennik2009

I am interested in this answer too.

@oxygennik2009 I would love to read a blog post on how you are setting up that kind of hosting, and how you scale it in/out. I need to add to mine too as I have several in the draft state: https://blog.markoliver.website/Category/compliance-recording

mosoftwareenterprises avatar Jan 16 '24 17:01 mosoftwareenterprises

I am also feel very interested about hosting solution in Kubernetes. Is there any official requirements that can be satisfied to claim compatibility with Kubernetes? Technically speaking, Kubernetes conforms to IaaS VM mentioned as an option #3.

However, Microsoft's official reply https://learn.microsoft.com/en-us/answers/questions/1459181/is-azure-kubernetes-service-supported-for-applicat is quite vague.

It will also be immensely helpful, if someone writes here about their experience hosting the bot in Azure Kubernetes in commercial prod. Were their any obstacles that you faced?

kokosda avatar Jan 19 '24 23:01 kokosda

@kokosda @mosoftwareenterprises @oxygennik2009

AKS will create nodepools based on regular VM scaling sets in Azure. Technically the SDK still runs in an Azure environment and on Azure VMs specifically, which qualifies for support.

We have received support in the past for our implementation running in AKS, and have been running production bots in similar configurations for years.

I'd like to bring #673 into the picture. I am currently leading a project to supply an up-to-date sample that runs in AKS there.

InDieTasten avatar Jan 22 '24 15:01 InDieTasten

@InDieTasten Thank you for the feedback!

oxygennik2009 avatar Jan 23 '24 11:01 oxygennik2009

@mosoftwareenterprises

I am interested in this answer too.

@oxygennik2009 I would love to read a blog post on how you are setting up that kind of hosting, and how you scale it in/out. I need to add to mine too as I have several in the draft state: https://blog.markoliver.website/Category/Compliance-Recording

Unfortunately, I cannot go into much details. I can say that it's pretty straightforward. You can check out Microsoft sample code for AKS and work on it step by step. Once you reach "helm stage" -> update everything with stable URLs or v1 API at all places where it's possible.

Once you have any specific errors then I can help you out with them.

oxygennik2009 avatar Jan 23 '24 11:01 oxygennik2009

@oxygennik2009 AKS is supported; the documentation is out-of-date. We strongly recommend using Windows Server 2022 for the base image. Thanks.

ssulzer avatar Feb 21 '24 08:02 ssulzer