# Setting Trace Flags and Configuring SQL Server in Kubernetes

DevFeed: [Setting Trace Flags and Configuring SQL Server in Kubernetes](<https://devfeed.tech/articles/setting-trace-flags-and-configuring-sql-server-in-kubernetes-17535.md>)

Original publisher: [Read original article](<https://www.nocentino.com/posts/2021-09-12-configuring-sql-server-in-kubernetes/>)

Author: Anthony Nocentino

Published: 2021-09-12T12:24:45Z

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>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [code](<https://devfeed.tech/tags/code.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [containers](<https://devfeed.tech/tags/containers.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [manifest](<https://devfeed.tech/tags/manifest.md>), [running](<https://devfeed.tech/tags/running.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [sqlserver](<https://devfeed.tech/tags/sqlserver.md>), [trace](<https://devfeed.tech/tags/trace.md>)

## AI overview

A tutorial showing how to configure SQL Server in Kubernetes. It demonstrates overriding a container command to set a Database Engine Service Startup Option and using a ConfigMap to inject an mssql.conf configuration file.

## Source excerpt

In this blog post, we will walk through a few examples of configuring SQL Server in Kubernetes. First, we will create a Deployment for SQL Server, override the container's command, and specify a Database Engine Service Startup Option. Second, we will create a Deployment for SQL Server using a ConfigMap to inject an mssql.conf configuration file. Creating a SQL Server Deployment and Overriding the Container's Command and Arguments First up, let's create a Deployment for SQL Server and override the container's command specify a Database Engine Service Startup Option.