# Memory Settings for Running SQL Server in Kubernetes

DevFeed: [Memory Settings for Running SQL Server in Kubernetes](<https://devfeed.tech/articles/memory-settings-for-running-sql-server-in-kubernetes-17516.md>)

Original publisher: [Read original article](<https://www.nocentino.com/posts/2019-09-28-memory-settings-for-running-sql-server-in-kubernetes/>)

Author: Anthony Nocentino

Published: 2019-09-28T15:50:24Z

Content type: tutorial

Language: en

Sources: [Kubernetes on Anthony Nocentino's Blog](<https://devfeed.tech/sources/kubernetes-on-anthony-nocentino-s-blog.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Azure Kubernetes Service](<https://devfeed.tech/topics/azure-kubernetes-service.md>), [Containers](<https://devfeed.tech/topics/containers.md>)

Tags: [azure](<https://devfeed.tech/tags/azure.md>), [azure-kubernetes-service](<https://devfeed.tech/tags/azure-kubernetes-service.md>), [containers](<https://devfeed.tech/tags/containers.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linux](<https://devfeed.tech/tags/linux.md>), [memory](<https://devfeed.tech/tags/memory.md>), [performance](<https://devfeed.tech/tags/performance.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

## AI overview

This tutorial explains why SQL Server workloads running in Kubernetes need memory and resource limits configured in the Pod specification. Using demonstrations on Azure Kubernetes Service, it shows that deploying without resource limits can cause workload failures and Pod termination under load.

## Source excerpt

People often ask me what's the number one thing to look out for when running SQL Server on Kubernetes...the answer is memory settings. In this post, we're going to dig into why you need to configure resource limits in your SQL Server's Pod Spec when running SQL Server workloads in Kubernetes. I'm running these demos in Azure Kubernetes Service (AKS), but these concepts apply to any SQL Server environment running in Kubernetes.