# Is it possible to have an ASP application with IIS in Kubernetes

**URL:** <https://discuss.kubernetes.io/t/is-it-possible-to-have-an-asp-application-with-iis-in-kubernetes/27323>\
**Category:** microk8s\
**Created:** [March 4, 2024, 6:45pm UTC](https://discuss.kubernetes.io/t/is-it-possible-to-have-an-asp-application-with-iis-in-kubernetes/27323 "2024-03-04T18:45:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francisco\_Fabio\_Nasc](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/francisco_fabio_nasc/32/14444_2.png) [@Francisco\_Fabio\_Nasc](https://discuss.kubernetes.io/u/Francisco_Fabio_Nasc)\
**Post date:** [March 4, 2024, 6:45pm UTC](https://discuss.kubernetes.io/t/is-it-possible-to-have-an-asp-application-with-iis-in-kubernetes/27323/1 "2024-03-04T18:45:20Z")

</div>

I’m new to Kubernetes and would like to check the possibility of uploading our application to Kubernetes. We have an application in ASP, with a MySQL database, using a Windows serivodr with IIS, I would like to know if it is possible to take this entire environment to Kubernetes, in OCI. I found some material on the internet, but most of them didn’t answer my question. Maybe a colleague has gone through a scenario like this.

---

<div class="post-metadata">

**Author:** ![vrapolinario](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/vrapolinario/32/10963_2.png) [@vrapolinario](https://discuss.kubernetes.io/u/vrapolinario)\
**Post date:** [May 22, 2024, 5:18pm UTC](https://discuss.kubernetes.io/t/is-it-possible-to-have-an-asp-application-with-iis-in-kubernetes/27323/2 "2024-05-22T17:18:38Z")

</div>

This will be a very high level answer, given the broad question. I can help with more details if you want. With that said, the answer is yes. Kubernetes can run Windows and Linux nodes for the workload pods/containers. Essentially, what you have to do is the following:

- Create a container image based on your application (Dockerfile and build).
- Push that image to a container registry so your Kubernetes nodes can download it.
- Create a Kubernetes cluster with Windows nodes.
- Create a specification (YAML file) to deploy your Windows app on Kubernetes.
- Use the specification on the Kubernetes cluster to deploy the app.

These are general guidelines. Depending on your environment I can provide more details on how to get started, etc.

(Note: I’m a MSFT employee focused on Windows on Kubernetes)

---

<div class="post-metadata">

**Author:** ![Deshar81](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@Deshar81](https://discuss.kubernetes.io/u/Deshar81)\
**Post date:** [July 15, 2025, 5:53pm UTC](https://discuss.kubernetes.io/t/is-it-possible-to-have-an-asp-application-with-iis-in-kubernetes/27323/3 "2025-07-15T17:53:18Z")

</div>

Have you deployed IIS Express in Kubernetes Pod using windows core image?

---

<div class="post-metadata">

**Author:** ![vrapolinario](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/vrapolinario/32/10963_2.png) [@vrapolinario](https://discuss.kubernetes.io/u/vrapolinario)\
**Post date:** [July 15, 2025, 6:18pm UTC](https://discuss.kubernetes.io/t/is-it-possible-to-have-an-asp-application-with-iis-in-kubernetes/27323/4 "2025-07-15T18:18:25Z")

</div>

I personally haven’t tried that. The installation of IIS Express is an MSI, so you should be able to create an image with it. You can then call it from the dockerfile using iisexpress /site:WebSite1 as the Entry Point, I assume…
