You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to Bicep Kubernetes extension to deploy .NET applications to Azure Kubernetes Service clusters.
4
4
ms.topic: conceptual
5
5
ms.custom: devx-track-bicep, devx-track-dotnet
6
-
ms.date: 05/14/2025
6
+
ms.date: 04/28/2025
7
7
---
8
8
9
-
# Bicep Kubernetes extension
9
+
# Bicep Kubernetes extension (Preview)
10
10
11
11
The Kubernetes extension allows you to create Kubernetes resources directly with Bicep. Bicep can deploy anything that can be deployed with the [Kubernetes command-line client (kubectl)](https://kubernetes.io/docs/reference/kubectl/kubectl/) and a [Kubernetes manifest file](/azure/aks/concepts-clusters-workloads#deployments-and-yaml-manifests).
12
12
@@ -25,6 +25,18 @@ The Kubernetes extension allows you to create Kubernetes resources directly with
25
25
>
26
26
> ```
27
27
28
+
## Enable the preview feature
29
+
30
+
This preview feature can be enabled by configuring the [bicepconfig.json](./bicep-config.md):
31
+
32
+
```json
33
+
{
34
+
"experimentalFeaturesEnabled": {
35
+
"extensibility": true
36
+
}
37
+
}
38
+
```
39
+
28
40
## Import Kubernetes extension
29
41
30
42
To safely pass secrets for the Kubernetes deployment, you must invoke the Kubernetes code with a Bicep module and pass the parameter as a secret.
0 commit comments