Skip to content

Commit 5c9c67e

Browse files
authored
Merge pull request #219071 from MicrosoftDocs/main
Publish to live, Sunday 4 AM PST, 11/20
2 parents 50f8506 + 9e478d3 commit 5c9c67e

File tree

60 files changed

+725
-356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+725
-356
lines changed

articles/aks/intro-kubernetes.md

Lines changed: 44 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ title: Introduction to Azure Kubernetes Service
33
description: Learn the features and benefits of Azure Kubernetes Service to deploy and manage container-based applications in Azure.
44
services: container-service
55
ms.topic: overview
6-
ms.date: 02/24/2021
6+
ms.date: 11/18/2022
77
ms.custom: mvc, ignite-2022
88
---
99

1010
# Azure Kubernetes Service
1111

12-
Azure Kubernetes Service (AKS) simplifies deploying a managed Kubernetes cluster in Azure by offloading the operational overhead to Azure. As a hosted Kubernetes service, Azure handles critical tasks, like health monitoring and maintenance. Since Kubernetes masters are managed by Azure, you only manage and maintain the agent nodes. Thus, AKS is free; you only pay for the agent nodes within your clusters, not for the masters.
12+
Azure Kubernetes Service (AKS) simplifies deploying a managed Kubernetes cluster in Azure by offloading the operational overhead to Azure. As a hosted Kubernetes service, Azure handles critical tasks, like health monitoring and maintenance. When you create an AKS cluster, a control plane is automatically created and configured. This control plane is provided at no cost as a managed Azure resource abstracted from the user. You only pay for and manage the nodes attached to the AKS cluster.
1313

1414
You can create an AKS cluster using:
15-
* [The Azure CLI][aks-quickstart-cli]
16-
* [The Azure portal][aks-quickstart-portal]
15+
16+
* [Azure CLI][aks-quickstart-cli]
1717
* [Azure PowerShell][aks-quickstart-powershell]
18-
* Using template-driven deployment options, like [Azure Resource Manager templates][aks-quickstart-template], [Bicep](../azure-resource-manager/bicep/overview.md) and Terraform.
18+
* [Azure portal][aks-quickstart-portal]
19+
* Template-driven deployment options, like [Azure Resource Manager templates][aks-quickstart-template], [Bicep](../azure-resource-manager/bicep/overview.md), and Terraform.
1920

20-
When you deploy an AKS cluster, the Kubernetes master and all nodes are deployed and configured for you. Advanced networking, Azure Active Directory (Azure AD) integration, monitoring, and other features can be configured during the deployment process.
21+
When you deploy an AKS cluster, you specify the number and size of the nodes, and AKS deploys and configures the Kubernetes control plane and nodes. [Advanced networking][aks-networking], [Azure Active Directory (Azure AD) integration][aad], [monitoring][aks-monitor], and other features can be configured during the deployment process.
2122

2223
For more information on Kubernetes basics, see [Kubernetes core concepts for AKS][concepts-clusters-workloads].
2324

@@ -26,8 +27,9 @@ For more information on Kubernetes basics, see [Kubernetes core concepts for AKS
2627
2728
## Access, security, and monitoring
2829

29-
For improved security and management, AKS lets you integrate with Azure AD to:
30-
* Use Kubernetes role-based access control (Kubernetes RBAC).
30+
For improved security and management, you can integrate with [Azure AD][aad] to:
31+
32+
* Use Kubernetes role-based access control (Kubernetes RBAC).
3133
* Monitor the health of your cluster and resources.
3234

3335
### Identity and security management
@@ -42,15 +44,16 @@ You can configure an AKS cluster to integrate with Azure AD. With Azure AD integ
4244

4345
For more information on identity, see [Access and identity options for AKS][concepts-identity].
4446

45-
To secure your AKS clusters, see [Integrate Azure Active Directory with AKS][aks-aad].
47+
To secure your AKS clusters, see [Integrate Azure AD with AKS][aks-aad].
4648

4749
### Integrated logging and monitoring
4850

49-
Azure Monitor for Container Health collects memory and processor performance metrics from containers, nodes, and controllers within your AKS cluster and deployed applications. You can review both container logs and [the Kubernetes master logs][aks-master-logs], which are:
50-
* Stored in an Azure Log Analytics workspace.
51+
[Azure Monitor for Container Health][azure-monitor] collects memory and processor performance metrics from containers, nodes, and controllers within your AKS clusters and deployed applications. You can review both container logs and [the Kubernetes logs][aks-master-logs], which are:
52+
53+
* Stored in an [Azure Log Analytics][azure-logs] workspace.
5154
* Available through the Azure portal, Azure CLI, or a REST endpoint.
5255

53-
For more information, see [Monitor Azure Kubernetes Service container health][container-health].
56+
For more information, see [Monitor AKS container health][container-health].
5457

5558
## Clusters and nodes
5659

@@ -62,13 +65,13 @@ For more information about Kubernetes cluster, node, and node pool capabilities,
6265

6366
As demand for resources change, the number of cluster nodes or pods that run your services automatically scales up or down. You can adjust both the horizontal pod autoscaler or the cluster autoscaler to adjust to demands and only run necessary resources.
6467

65-
For more information, see [Scale an Azure Kubernetes Service (AKS) cluster][aks-scale].
68+
For more information, see [Scale an AKS cluster][aks-scale].
6669

6770
### Cluster node upgrades
6871

69-
AKS offers multiple Kubernetes versions. As new versions become available in AKS, you can upgrade your cluster using the Azure portal or Azure CLI. During the upgrade process, nodes are carefully cordoned and drained to minimize disruption to running applications.
72+
AKS offers multiple Kubernetes versions. As new versions become available in AKS, you can upgrade your cluster using the Azure portal, Azure CLI, or Azure PowerShell. During the upgrade process, nodes are carefully cordoned and drained to minimize disruption to running applications.
7073

71-
To learn more about lifecycle versions, see [Supported Kubernetes versions in AKS][aks-supported versions]. For steps on how to upgrade, see [Upgrade an Azure Kubernetes Service (AKS) cluster][aks-upgrade].
74+
To learn more about lifecycle versions, see [Supported Kubernetes versions in AKS][aks-supported versions]. For steps on how to upgrade, see [Upgrade an AKS cluster][aks-upgrade].
7275

7376
### GPU-enabled nodes
7477

@@ -86,49 +89,47 @@ For more information, see [Confidential computing nodes on AKS][conf-com-node].
8689

8790
Mariner is an open-source Linux distribution created by Microsoft, and it’s now available for preview as a container host on Azure Kubernetes Service (AKS). The Mariner container host provides reliability and consistency from cloud to edge across the AKS, AKS-HCI, and Arc products. You can deploy Mariner node pools in a new cluster, add Mariner node pools to your existing Ubuntu clusters, or migrate your Ubuntu nodes to Mariner nodes.
8891

89-
For more information, see [Use the Mariner container host on Azure Kubernetes Service (AKS)](use-mariner.md)
92+
For more information, see [Use the Mariner container host on AKS](use-mariner.md)
9093

9194
### Storage volume support
9295

93-
To support application workloads, you can mount static or dynamic storage volumes for persistent data. Depending on the number of connected pods expected to share the storage volumes, you can use storage backed by either:
94-
* Azure Disks for single pod access, or
95-
* Azure Files for multiple, concurrent pod access.
96+
To support application workloads, you can mount static or dynamic storage volumes for persistent data. Depending on the number of connected pods expected to share the storage volumes, you can use storage backed by:
9697

97-
For more information, see [Storage options for applications in AKS][concepts-storage].
98+
* [Azure Disks][azure-disk] for single pod access
99+
* [Azure Files][azure-files] for multiple, concurrent pod access.
98100

99-
Get started with dynamic persistent volumes using [Azure Disks][azure-disk] or [Azure Files][azure-files].
101+
For more information, see [Storage options for applications in AKS][concepts-storage].
100102

101103
## Virtual networks and ingress
102104

103-
An AKS cluster can be deployed into an existing virtual network. In this configuration, every pod in the cluster is assigned an IP address in the virtual network, and can directly communicate with:
104-
* Other pods in the cluster
105-
* Other nodes in the virtual network.
105+
An AKS cluster can be deployed into an existing virtual network. In this configuration, every pod in the cluster is assigned an IP address in the virtual network and can directly communicate with other pods in the cluster and other nodes in the virtual network.
106106

107-
Pods can also connect to other services in a peered virtual network and to on-premises networks over ExpressRoute or site-to-site (S2S) VPN connections.
107+
Pods can also connect to other services in a peered virtual network and on-premises networks over ExpressRoute or site-to-site (S2S) VPN connections.
108108

109109
For more information, see the [Network concepts for applications in AKS][aks-networking].
110110

111111
### Ingress with HTTP application routing
112112

113113
The HTTP application routing add-on helps you easily access applications deployed to your AKS cluster. When enabled, the HTTP application routing solution configures an ingress controller in your AKS cluster.
114114

115-
As applications are deployed, publicly accessible DNS names are autoconfigured. The HTTP application routing sets up a DNS zone and integrates it with the AKS cluster. You can then deploy Kubernetes ingress resources as normal.
115+
As applications are deployed, publicly accessible DNS names are auto-configured. The HTTP application routing sets up a DNS zone and integrates it with the AKS cluster. You can then deploy Kubernetes ingress resources as normal.
116116

117-
To get started with ingress traffic, see [HTTP application routing][aks-http-routing].
117+
To get started with Ingress traffic, see [HTTP application routing][aks-http-routing].
118118

119119
## Development tooling integration
120120

121-
Kubernetes has a rich ecosystem of development and management tools that work seamlessly with AKS. These tools include Helm and the Kubernetes extension for Visual Studio Code.
121+
Kubernetes has a rich ecosystem of development and management tools that work seamlessly with AKS. These tools include [Helm][helm] and the [Kubernetes extension for Visual Studio Code][k8s-extension].
122122

123123
Azure provides several tools that help streamline Kubernetes, such as DevOps Starter.
124124

125125
### DevOps Starter
126126

127127
DevOps Starter provides a simple solution for bringing existing code and Git repositories into Azure. DevOps Starter automatically:
128-
* Creates Azure resources (such as AKS);
129-
* Configures a release pipeline in Azure DevOps Services that includes a build pipeline for CI;
130-
* Sets up a release pipeline for CD; and,
131-
* Generates an Azure Application Insights resource for monitoring.
128+
129+
* Creates Azure resources (such as AKS).
130+
* Configures a release pipeline in Azure DevOps Services that includes a build pipeline for CI.
131+
* Sets up a release pipeline for CD.
132+
* Generates an Azure Application Insights resource for monitoring.
132133

133134
For more information, see [DevOps Starter][azure-devops].
134135

@@ -140,22 +141,23 @@ To create a private image store, see [Azure Container Registry][acr-docs].
140141

141142
## Kubernetes certification
142143

143-
AKS has been CNCF-certified as Kubernetes conformant.
144+
AKS has been [CNCF-certified][cncf-cert] as Kubernetes conformant.
144145

145146
## Regulatory compliance
146147

147148
AKS is compliant with SOC, ISO, PCI DSS, and HIPAA. For more information, see [Overview of Microsoft Azure compliance][compliance-doc].
148149

149150
## Next steps
150151

151-
Learn more about deploying and managing AKS with the Azure CLI Quickstart.
152+
Learn more about deploying and managing AKS.
152153

153154
> [!div class="nextstepaction"]
154-
> [Deploy an AKS Cluster using Azure CLI][aks-quickstart-cli]
155+
> [Cluster operator and developer best practices to build and manage applications on AKS][aks-best-practices]
155156
156157
<!-- LINKS - external -->
157-
[kubectl-overview]: https://kubernetes.io/docs/user-guide/kubectl-overview/
158158
[compliance-doc]: https://azure.microsoft.com/overview/trusted-cloud/compliance/
159+
[cncf-cert]: https://www.cncf.io/certification/software-conformance/
160+
[k8s-extension]: https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.vscode-kubernetes-tools
159161

160162
<!-- LINKS - internal -->
161163
[acr-docs]: ../container-registry/container-registry-intro.md
@@ -169,7 +171,6 @@ Learn more about deploying and managing AKS with the Azure CLI Quickstart.
169171
[aks-networking]: ./concepts-network.md
170172
[aks-scale]: ./tutorial-kubernetes-scale.md
171173
[aks-upgrade]: ./upgrade-cluster.md
172-
[azure-dev-spaces]: /previous-versions/azure/dev-spaces/
173174
[azure-devops]: ../devops-project/overview.md
174175
[azure-disk]: ./azure-disks-dynamic-pv.md
175176
[azure-files]: ./azure-files-dynamic-pv.md
@@ -181,3 +182,9 @@ Learn more about deploying and managing AKS with the Azure CLI Quickstart.
181182
[concepts-identity]: concepts-identity.md
182183
[concepts-storage]: concepts-storage.md
183184
[conf-com-node]: ../confidential-computing/confidential-nodes-aks-overview.md
185+
[aad]: managed-aad.md
186+
[aks-monitor]: monitor-aks.md
187+
[azure-monitor]: ../azure-monitor/containers/containers.md
188+
[azure-logs]: ../azure-monitor/logs/log-analytics-overview.md
189+
[helm]: /quickstart-helm.md
190+
[aks-best-practices]: /best-practices.md

articles/app-service/tutorial-python-postgresql-app.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ git clone https://github.com/Azure-Samples/msdocs-django-postgresql-sample-app.g
3838

3939
-----
4040

41+
Go to the application folder:
42+
43+
```bash
44+
cd msdocs-python-flask-webapp-quickstart
45+
```
46+
47+
4148
Create an *.env* file as shown below using the *.env.sample* file as a guide. Set the value of `DBNAME` to the name of an existing database in your local PostgreSQL instance. Set the values of `DBHOST`, `DBUSER`, and `DBPASS` as appropriate for your local PostgreSQL instance.
4249

4350
```
@@ -47,19 +54,21 @@ DBUSER=<db-user-name>
4754
DBPASS=<db-password>
4855
```
4956

57+
Create a virtual environment for the app:
58+
59+
[!INCLUDE [Virtual environment setup](<./includes/quickstart-python/virtual-environment-setup.md>)]
60+
61+
Install the dependencies:
62+
63+
```bash
64+
pip install -r requirements.txt
65+
```
66+
5067
Run the sample application with the following commands:
5168

5269
### [Flask](#tab/flask)
5370

5471
```bash
55-
# Clone the sample
56-
git clone https://github.com/Azure-Samples/msdocs-flask-postgresql-sample-app
57-
cd msdocs-flask-postgresql-sample-app
58-
# Activate a virtual environment
59-
python3 -m venv .venv # In CMD on Windows, run "py -m venv .venv" instead
60-
.venv/scripts/activate
61-
# Install dependencies
62-
pip install -r requirements.txt
6372
# Run database migration
6473
flask db upgrade
6574
# Run the app at http://127.0.0.1:5000
@@ -69,14 +78,6 @@ flask run
6978
### [Django](#tab/django)
7079

7180
```bash
72-
# Clone the sample
73-
git clone https://github.com/Azure-Samples/msdocs-django-postgresql-sample-app.git
74-
cd msdocs-django-postgresql-sample-app
75-
# Activate a virtual environment
76-
python3 -m venv .venv # In CMD on Windows, run "py -m venv .venv" instead
77-
.venv/scripts/activate
78-
# Install dependencies
79-
pip install -r requirements.txt
8081
# Run database migration
8182
python manage.py migrate
8283
# Run the app at http://127.0.0.1:8000

0 commit comments

Comments
 (0)