Create a Kubernetes deployment using Automated Deployments in the Azure Kubernetes Service (AKS) extension for Visual Studio Code

In this article, you learn how to create a Kubernetes deployment using Automated Deployments in the Azure Kubernetes Service (AKS) extension for Visual Studio Code. Automated Deployments provides an easy way to automate the process of scaling, updating, and maintaining your applications.

Prerequisites

Before you begin, make sure you have the following resources:

Create a Kubernetes deployment using the Azure Kubernetes Service (AKS) extension

You can access the screen to create a Kubernetes deployment using the command palette or the explorer view.

  1. On your keyboard, press Ctrl+Shift+P to open the command palette.

  2. In the search bar, search for and select Automated Deployments: Create a Deployment.

  3. Enter the following information:

    • Subscription: Select your Azure subscription.
    • Location: Select a location where you want to save your Kubernetes deployment files.
    • Deployment options: Select Kubernetes manifests, Helm, or Kustomize.
    • Target port: Select the port in which your applications listen to in your deployment. This port usually matches what is exposed in your Dockerfile.
    • Service port: Select the port in which the service listens to for incoming traffic.
    • Namespace: Select the namespace in which your application will be deployed into.
  4. Select Create.

For more information, see AKS extension for Visual Studio Code features.

Product support and feedback

If you have a question or want to offer product feedback, please open an issue on the AKS extension GitHub repository.

Next steps

To learn more about other AKS add-ons and extensions, see Add-ons, extensions, and other integrations for AKS.