Skip to content

Commit 7271978

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into impOv
2 parents 802ba1c + c75153d commit 7271978

File tree

4 files changed

+86
-40
lines changed

4 files changed

+86
-40
lines changed

articles/aks/ingress-static-ip.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can also:
2626

2727
This article assumes that you have an existing AKS cluster. If you need an AKS cluster, see the AKS quickstart [using the Azure CLI][aks-quickstart-cli] or [using the Azure portal][aks-quickstart-portal].
2828

29-
This article uses Helm to install the NGINX ingress controller, cert-manager, and a sample web app. You need to have Helm initialized within your AKS cluster and using a service account for Tiller. Make sure that you are using the latest release of Helm 3. For upgrade instructions, see the [Helm install docs][helm-install]. For more information on configuring and using Helm, see [Install applications with Helm in Azure Kubernetes Service (AKS)][use-helm].
29+
This article uses Helm to install the NGINX ingress controller, cert-manager, and a sample web app. Make sure that you are using the latest release of Helm. For upgrade instructions, see the [Helm install docs][helm-install]. For more information on configuring and using Helm, see [Install applications with Helm in Azure Kubernetes Service (AKS)][use-helm].
3030

3131
This article also requires that you are running the Azure CLI version 2.0.64 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][azure-cli-install].
3232

@@ -114,13 +114,10 @@ To install the cert-manager controller in an RBAC-enabled cluster, use the follo
114114

115115
```console
116116
# Install the CustomResourceDefinition resources separately
117-
kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.12/deploy/manifests/00-crds.yaml
118-
119-
# Create the namespace for cert-manager
120-
kubectl create namespace cert-manager
117+
kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.13/deploy/manifests/00-crds.yaml
121118

122119
# Label the cert-manager namespace to disable resource validation
123-
kubectl label namespace cert-manager cert-manager.io/disable-validation=true
120+
kubectl label namespace ingress-basic cert-manager.io/disable-validation=true
124121

125122
# Add the Jetstack Helm repository
126123
helm repo add jetstack https://charts.jetstack.io
@@ -131,8 +128,8 @@ helm repo update
131128
# Install the cert-manager Helm chart
132129
helm install \
133130
cert-manager \
134-
--namespace cert-manager \
135-
--version v0.12.0 \
131+
--namespace ingress-basic \
132+
--version v0.13.0 \
136133
jetstack/cert-manager
137134
```
138135

@@ -149,7 +146,6 @@ apiVersion: cert-manager.io/v1alpha2
149146
kind: ClusterIssuer
150147
metadata:
151148
name: letsencrypt-staging
152-
namespace: ingress-basic
153149
spec:
154150
acme:
155151
server: https://acme-staging-v02.api.letsencrypt.org/directory
@@ -165,7 +161,7 @@ spec:
165161
To create the issuer, use the `kubectl apply -f cluster-issuer.yaml` command.
166162

167163
```
168-
$ kubectl apply -f cluster-issuer.yaml
164+
$ kubectl apply -f cluster-issuer.yaml --namespace ingress-basic
169165

170166
clusterissuer.cert-manager.io/letsencrypt-staging created
171167
```
@@ -345,20 +341,17 @@ NAME NAMESPACE REVISION UPDATED
345341
aks-helloworld ingress-basic 1 2020-01-11 15:02:21.51172346 deployed aks-helloworld-0.1.0
346342
aks-helloworld-2 ingress-basic 1 2020-01-11 15:03:10.533465598 deployed aks-helloworld-0.1.0
347343
nginx-ingress ingress-basic 1 2020-01-11 14:51:03.454165006 deployed nginx-ingress-1.28.2 0.26.2
348-
cert-manager cert-manager 1 2020-01-06 21:19:03.866212286 deployed cert-manager-v0.12.0 v0.12.0
344+
cert-manager ingress-basic 1 2020-01-06 21:19:03.866212286 deployed cert-manager-v0.13.0 v0.13.0
349345
```
350346

351347
Delete the releases with the `helm uninstall` command. The following example deletes the NGINX ingress deployment, certificate manager, and the two sample AKS hello world apps.
352348

353349
```
354-
$ helm uninstall aks-helloworld aks-helloworld-2 nginx-ingress -n ingress-basic
350+
$ helm uninstall aks-helloworld aks-helloworld-2 nginx-ingress cert-manager -n ingress-basic
355351
356352
release "aks-helloworld" deleted
357353
release "aks-helloworld-2" deleted
358354
release "nginx-ingress" deleted
359-
360-
$ helm uninstall cert-manager -n cert-manager
361-
362355
release "cert-manager" deleted
363356
```
364357

articles/aks/ingress-tls.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ To get the public IP address, use the `kubectl get service` command. It takes a
6868
$ kubectl get service -l app=nginx-ingress --namespace ingress-basic
6969
7070
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
71-
billowing-kitten-nginx-ingress-controller LoadBalancer 10.0.182.160 MY_EXTERNAL_IP 80:30920/TCP,443:30426/TCP 20m
72-
billowing-kitten-nginx-ingress-default-backend ClusterIP 10.0.255.77 <none> 80/TCP 20m
71+
nginx-ingress-controller LoadBalancer 10.0.182.160 MY_EXTERNAL_IP 80:30920/TCP,443:30426/TCP 20m
72+
nginx-ingress-default-backend ClusterIP 10.0.255.77 <none> 80/TCP 20m
7373
```
7474

7575
No ingress rules have been created yet. If you browse to the public IP address, the NGINX ingress controller's default 404 page is displayed.
@@ -114,10 +114,10 @@ To install the cert-manager controller:
114114
115115
```console
116116
# Install the CustomResourceDefinition resources separately
117-
kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.12/deploy/manifests/00-crds.yaml --namespace ingress-basic
117+
kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.13/deploy/manifests/00-crds.yaml
118118
119119
# Label the ingress-basic namespace to disable resource validation
120-
kubectl label namespace ingress-basic certmanager.k8s.io/disable-validation=true
120+
kubectl label namespace ingress-basic cert-manager.io/disable-validation=true
121121
122122
# Add the Jetstack Helm repository
123123
helm repo add jetstack https://charts.jetstack.io
@@ -126,7 +126,11 @@ helm repo add jetstack https://charts.jetstack.io
126126
helm repo update
127127
128128
# Install the cert-manager Helm chart
129-
helm install cert-manager --namespace ingress-basic --version v0.12.0 jetstack/cert-manager --set ingressShim.defaultIssuerName=letsencrypt --set ingressShim.defaultIssuerKind=ClusterIssuer
129+
helm install \
130+
cert-manager \
131+
--namespace ingress-basic \
132+
--version v0.13.0 \
133+
jetstack/cert-manager
130134
```
131135
132136
For more information on cert-manager configuration, see the [cert-manager project][cert-manager].
@@ -300,14 +304,14 @@ $ helm list --namespace ingress-basic
300304
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
301305
aks-helloworld ingress-basic 1 2020-01-15 10:24:32.054871 -0600 CST deployed aks-helloworld-0.1.0
302306
aks-helloworld-two ingress-basic 1 2020-01-15 10:24:37.671667 -0600 CST deployed aks-helloworld-0.1.0
303-
cert-manager ingress-basic 1 2020-01-15 10:23:36.515514 -0600 CST deployed cert-manager-v0.12.0 v0.12.0
307+
cert-manager ingress-basic 1 2020-01-15 10:23:36.515514 -0600 CST deployed cert-manager-v0.13.0 v0.13.0
304308
nginx ingress-basic 1 2020-01-15 10:09:45.982693 -0600 CST deployed nginx-ingress-1.29.1 0.27.0
305309
```
306310

307311
Delete the releases with the `helm delete` command. The following example deletes the NGINX ingress deployment, and the two sample AKS hello world apps.
308312

309313
```
310-
$ helm delete aks-helloworld aks-helloworld-two cert-manager nginx --namespace ingress-basic
314+
$ helm uninstall aks-helloworld aks-helloworld-two cert-manager nginx --namespace ingress-basic
311315
312316
release "aks-helloworld" uninstalled
313317
release "aks-helloworld-two" uninstalled

articles/hdinsight/hdinsight-hadoop-use-blob-storage.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: hrasheed
66
ms.reviewer: jasonh
77
ms.service: hdinsight
88
ms.topic: conceptual
9-
ms.date: 11/01/2019
9+
ms.date: 02/28/2020
1010
---
1111

1212
# Use Azure storage with Azure HDInsight clusters
@@ -33,7 +33,7 @@ Sharing one blob container as the default file system for multiple clusters isn'
3333
> [!NOTE]
3434
> The Archive access tier is an offline tier that has a several hour retrieval latency and isn't recommended for use with HDInsight. For more information, see [Archive access tier](../storage/blobs/storage-blob-storage-tiers.md#archive-access-tier).
3535
36-
## Access files from the cluster
36+
## Access files from within cluster
3737

3838
There are several ways you can access the files in Data Lake Storage from an HDInsight cluster. The URI scheme provides unencrypted access (with the *wasb:* prefix) and SSL encrypted access (with *wasbs*). We recommend using *wasbs* wherever possible, even when accessing data that lives inside the same region in Azure.
3939

@@ -117,6 +117,17 @@ LOCATION 'wasbs:///example/data/';
117117
LOCATION '/example/data/';
118118
```
119119

120+
## Access files from outside cluster
121+
122+
Microsoft provides the following tools to work with Azure Storage:
123+
124+
| Tool | Linux | OS X | Windows |
125+
| --- |:---:|:---:|:---:|
126+
| [Azure portal](../storage/blobs/storage-quickstart-blobs-portal.md) ||||
127+
| [Azure CLI](../storage/blobs/storage-quickstart-blobs-cli.md) ||||
128+
| [Azure PowerShell](../storage/blobs/storage-quickstart-blobs-powershell.md) | | ||
129+
| [AzCopy](../storage/common/storage-use-azcopy-v10.md) || ||
130+
120131
## Identify storage path from Ambari
121132

122133
* To identify the complete path to the configured default store, navigate to:
@@ -127,6 +138,8 @@ LOCATION '/example/data/';
127138

128139
**HDFS** > **Configs** and enter `blob.core.windows.net` in the filter input box.
129140

141+
To obtain the path using Ambari REST API, see [Get the default storage](./hdinsight-hadoop-manage-ambari-rest-api.md#get-the-default-storage).
142+
130143
## Blob containers
131144

132145
To use blobs, you first create an [Azure Storage account](../storage/common/storage-create-storage-account.md). As part of this, you specify an Azure region where the storage account is created. The cluster and the storage account must be hosted in the same region. The Hive metastore SQL Server database and Apache Oozie metastore SQL Server database must also be located in the same region.
@@ -137,17 +150,6 @@ The default Blob container stores cluster-specific information such as job histo
137150

138151
[!INCLUDE [secure-transfer-enabled-storage-account](../../includes/hdinsight-secure-transfer.md)]
139152

140-
## Interacting with Azure storage
141-
142-
Microsoft provides the following tools to work with Azure Storage:
143-
144-
| Tool | Linux | OS X | Windows |
145-
| --- |:---:|:---:|:---:|
146-
| [Azure portal](../storage/blobs/storage-quickstart-blobs-portal.md) ||||
147-
| [Azure CLI](../storage/blobs/storage-quickstart-blobs-cli.md) ||||
148-
| [Azure PowerShell](../storage/blobs/storage-quickstart-blobs-powershell.md) | | ||
149-
| [AzCopy](../storage/common/storage-use-azcopy-v10.md) || ||
150-
151153
## Use additional storage accounts
152154

153155
While creating an HDInsight cluster, you specify the Azure Storage account you want to associate with it. In addition to this storage account, you can add additional storage accounts from the same Azure subscription or different Azure subscriptions during the creation process or after a cluster has been created. For instructions about adding additional storage accounts, see [Create HDInsight clusters](hdinsight-hadoop-provision-linux-clusters.md).

articles/spring-cloud/spring-cloud-tutorial-prepare-app-deployment.md

Lines changed: 52 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ ms.author: brendm
1212

1313
This quickstart shows how to prepare an existing Java Spring application for deployment to Azure Spring Cloud. If configured properly, Azure Spring Cloud provides robust services to monitor, scale, and update your Java Spring Cloud application.
1414

15+
Other examples explain how to deploy an application to Azure Spring Cloud when the POM file is configured.
16+
* [Launch App using the Azure portal](spring-cloud-quickstart-launch-app-portal.md)
17+
* [Launch App using the Azure CLI](spring-cloud-quickstart-launch-app-cli.md)
18+
19+
This article explains the required dependencies and how to add them to the POM file.
20+
1521
## Java Runtime version
1622

1723
Only Spring/Java applications can run in Azure Spring Cloud.
@@ -20,17 +26,19 @@ Azure Spring Cloud supports both Java 8 and Java 11. The hosting environment con
2026

2127
## Spring Boot and Spring Cloud versions
2228

23-
Azure Spring Cloud supports only Spring Boot apps. It supports both Spring Boot version 2.1 and version 2.2. The following table lists the supported Spring Boot and Spring Cloud combinations:
29+
To prepare an existing Spring Boot application for deployment to Azure Spring Cloud include the Spring Boot and Spring Cloud dependencies in the application POM file as shown in the following sections.
30+
31+
Azure Spring Cloud supports only Spring Boot apps either Spring Boot version 2.1 or version 2.2. The following table lists the supported Spring Boot and Spring Cloud combinations:
2432

2533
Spring Boot version | Spring Cloud version
2634
---|---
2735
2.1 | Greenwich.RELEASE
2836
2.2 | Hoxton.RELEASE
2937

30-
Verify that your pom.xml file has the correct Spring Boot and Spring Cloud dependencies based on your Spring Boot version.
31-
3238
### Dependencies for Spring Boot version 2.1
3339

40+
For Spring Boot version 2.1 add the following dependencies to the application POM file.
41+
3442
```xml
3543
<!-- Spring Boot dependencies -->
3644
<parent>
@@ -55,6 +63,8 @@ Verify that your pom.xml file has the correct Spring Boot and Spring Cloud depen
5563

5664
### Dependencies for Spring Boot version 2.2
5765

66+
For Spring Boot version 2.2 add the following dependencies to the application POM file.
67+
5868
```xml
5969
<!-- Spring Boot dependencies -->
6070
<parent>
@@ -79,7 +89,7 @@ Verify that your pom.xml file has the correct Spring Boot and Spring Cloud depen
7989

8090
## Azure Spring Cloud client dependency
8191

82-
Azure Spring Cloud hosts and manages Spring Cloud components for you. Such components include Spring Cloud Service Registry and Spring Cloud Config Server. Include the Azure Spring Cloud client library in your dependencies to allow communication with your Azure Spring Cloud service instance.
92+
Azure Spring Cloud hosts and manages Spring Cloud components. The components include Spring Cloud Service Registry and Spring Cloud Config Server. Include the Azure Spring Cloud client library in your dependencies to allow communication with your Azure Spring Cloud service instance.
8393

8494
The following table lists the correct Azure Spring Cloud versions for your app that uses Spring Boot and Spring Cloud.
8595

@@ -92,6 +102,8 @@ Include one of the following dependencies in your pom.xml file. Select the depen
92102

93103
### Dependency for Azure Spring Cloud version 2.1
94104

105+
For Spring Boot version 2.1 add the following dependency to the application POM file.
106+
95107
```xml
96108
<dependency>
97109
<groupId>com.microsoft.azure</groupId>
@@ -102,6 +114,8 @@ Include one of the following dependencies in your pom.xml file. Select the depen
102114

103115
### Dependency for Azure Spring Cloud version 2.2
104116

117+
For Spring Boot version 2.2 add the following dependency to the application POM file.
118+
105119
```xml
106120
<dependency>
107121
<groupId>com.microsoft.azure</groupId>
@@ -112,7 +126,33 @@ Include one of the following dependencies in your pom.xml file. Select the depen
112126

113127
## Other required dependencies
114128

115-
To enable the built-in features of Azure Spring Cloud, your application must include the following dependencies. This inclusion ensures that your application configures itself correctly with each component.
129+
To enable the built-in features of Azure Spring Cloud, your application must include the following dependencies. This inclusion ensures that your application configures itself correctly with each component.
130+
131+
### EnableDiscoveryClient annotation
132+
133+
Add the following annotation to the application source code.
134+
```java
135+
@EnableDiscoveryClient
136+
```
137+
For example, see the piggymetrics application from earlier examples:
138+
```java
139+
package com.piggymetrics.gateway;
140+
141+
import org.springframework.boot.SpringApplication;
142+
import org.springframework.boot.autoconfigure.SpringBootApplication;
143+
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
144+
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
145+
146+
@SpringBootApplication
147+
@EnableDiscoveryClient
148+
@EnableZuulProxy
149+
150+
public class GatewayApplication {
151+
public static void main(String[] args) {
152+
SpringApplication.run(GatewayApplication.class, args);
153+
}
154+
}
155+
```
116156

117157
### Service Registry dependency
118158

@@ -179,3 +219,10 @@ In this tutorial, you learned how to configure your Java Spring application for
179219
> [Learn how to set up a Config Server instance](spring-cloud-tutorial-config-server.md)
180220
181221
More samples are available on GitHub: [Azure Spring Cloud Samples](https://github.com/Azure-Samples/Azure-Spring-Cloud-Samples).
222+
223+
## See also
224+
* [Analyze application logs and metrics](https://docs.microsoft.com/azure/spring-cloud/diagnostic-services)
225+
* [Set up your Config Server](https://docs.microsoft.com/azure/spring-cloud/spring-cloud-tutorial-config-server)
226+
* [Use distributed tracing with Azure Spring Cloud](https://docs.microsoft.com/azure/spring-cloud/spring-cloud-tutorial-distributed-tracing)
227+
* [Spring Quickstart Guide](https://spring.io/quickstart)
228+
* [Spring Boot documentation](https://spring.io/projects/spring-boot)

0 commit comments

Comments
 (0)