Skip to content

Commit 475e40b

Browse files
committed
Juno: check in to main.
1 parent 0fe7a16 commit 475e40b

15 files changed

Lines changed: 2247 additions & 78 deletions

File tree

localized/pt-BR/scenarios/AttachDataDiskLinuxVM/attach-data-disk-linux-vm.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Início Rápido: Usar a CLI do Azure para criar uma Máquina Virtual do Ubuntu e anexar um Disco de Dados do Azure'
3-
description: 'Neste início rápido, você aprenderá a usar a CLI do Azure para criar uma máquina virtual Ubuntu Linux'
3+
description: 'Neste guia de início rápido, você aprenderá a usar a CLI do Azure para criar uma máquina virtual Ubuntu Linux.'
44
author: ajoian
55
ms.service: virtual-machines
66
ms.collection: linux
@@ -12,6 +12,8 @@ ms.custom: 'mvc, devx-track-azurecli, mode-api, innovation-engine, linux-related
1212

1313
# Início Rápido: Usar a CLI do Azure para criar uma Máquina Virtual do Ubuntu e anexar um Disco de Dados do Azure
1414

15+
[![Implantar no Azure](https://aka.ms/deploytoazurebutton)](https://go.microsoft.com/fwlink/?linkid=2286318)
16+
1517
Este guia de início rápido mostra como usar a CLI do Azure para implantar uma VM (máquina virtual) do Ubuntu Linux no Azure e anexar um disco de dados do Azure à máquina virtual. A CLI do Azure é usada para criar e gerenciar recursos do Azure por meio da linha de comando ou de scripts.
1618

1719
Se você não tiver uma assinatura do Azure, crie uma [conta gratuita](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) antes de começar.

localized/pt-BR/scenarios/CreateAKSDeployment/create-aks-deployment.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ ms.custom: 'H1Hack27Feb2017, mvc, devcenter, devx-track-azurecli, mode-api, inno
1010

1111
# Início Rápido: implantar um cluster do AKS (Serviço de Kubernetes do Azure) usando a CLI do Azure
1212

13-
[![Implantar no Azure](https://aka.ms/deploytoazurebutton)](https://go.microsoft.com/fwlink/?linkid=2262758)
14-
1513
O AKS (Serviço de Kubernetes do Azure) é um serviço de Kubernetes gerenciado que permite implantar e gerenciar clusters rapidamente. Neste guia de início rápido, você aprende a:
1614

1715
- Implantar um cluster do AKS usando a CLI do Azure.

localized/pt-BR/scenarios/CreateAKSWebApp/README.md

Lines changed: 170 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.custom: innovation-engine
1010

1111
# Início Rápido: Implantar um cluster escalonável e seguro do Serviço de Kubernetes do Azure usando a CLI do Azure
1212

13-
[![Implantar no Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/?Microsoft_Azure_CloudNative_clientoptimizations=false&feature.canmodifyextensions=true#view/Microsoft_Azure_CloudNative/SubscriptionSelectionPage.ReactView/tutorialKey/CreateAKSDeployment)
13+
[![Implantar no Azure](https://aka.ms/deploytoazurebutton)](https://go.microsoft.com/fwlink/?linkid=2286416)
1414

1515
Bem-vindo a este tutorial, onde o orientaremos passo a passo na criação de um Aplicativo Web do Azure Kubernetes protegido por https. Este tutorial pressupõe que você já esteja conectado à CLI do Azure e tenha selecionado uma assinatura para usar com a CLI. Também pressupõe que você tenha o Helm instalado ([As instruções podem ser encontradas aqui](https://helm.sh/docs/intro/install/)).
1616

@@ -213,109 +213,229 @@ cat << EOF > azure-vote-start.yml
213213
apiVersion: apps/v1
214214
kind: Deployment
215215
metadata:
216-
name: azure-vote-back
217-
namespace: default
216+
name: rabbitmq
218217
spec:
219218
replicas: 1
220219
selector:
221220
matchLabels:
222-
app: azure-vote-back
221+
app: rabbitmq
223222
template:
224223
metadata:
225224
labels:
226-
app: azure-vote-back
225+
app: rabbitmq
227226
spec:
228227
nodeSelector:
229228
"kubernetes.io/os": linux
230229
containers:
231-
- name: azure-vote-back
232-
image: docker.io/bitnami/redis:6.0.8
230+
- name: rabbitmq
231+
image: mcr.microsoft.com/mirror/docker/library/rabbitmq:3.10-management-alpine
232+
ports:
233+
- containerPort: 5672
234+
name: rabbitmq-amqp
235+
- containerPort: 15672
236+
name: rabbitmq-http
233237
env:
234-
- name: ALLOW_EMPTY_PASSWORD
235-
value: "yes"
238+
- name: RABBITMQ_DEFAULT_USER
239+
value: "username"
240+
- name: RABBITMQ_DEFAULT_PASS
241+
value: "password"
236242
resources:
237243
requests:
238-
cpu: 100m
244+
cpu: 10m
239245
memory: 128Mi
240246
limits:
241247
cpu: 250m
242248
memory: 256Mi
243-
ports:
244-
- containerPort: 6379
245-
name: redis
249+
volumeMounts:
250+
- name: rabbitmq-enabled-plugins
251+
mountPath: /etc/rabbitmq/enabled_plugins
252+
subPath: enabled_plugins
253+
volumes:
254+
- name: rabbitmq-enabled-plugins
255+
configMap:
256+
name: rabbitmq-enabled-plugins
257+
items:
258+
- key: rabbitmq_enabled_plugins
259+
path: enabled_plugins
260+
---
261+
apiVersion: v1
262+
data:
263+
rabbitmq_enabled_plugins: |
264+
[rabbitmq_management,rabbitmq_prometheus,rabbitmq_amqp1_0].
265+
kind: ConfigMap
266+
metadata:
267+
name: rabbitmq-enabled-plugins
246268
---
247269
apiVersion: v1
248270
kind: Service
249271
metadata:
250-
name: azure-vote-back
251-
namespace: default
272+
name: rabbitmq
252273
spec:
253-
ports:
254-
- port: 6379
255274
selector:
256-
app: azure-vote-back
275+
app: rabbitmq
276+
ports:
277+
- name: rabbitmq-amqp
278+
port: 5672
279+
targetPort: 5672
280+
- name: rabbitmq-http
281+
port: 15672
282+
targetPort: 15672
283+
type: ClusterIP
257284
---
258285
apiVersion: apps/v1
259286
kind: Deployment
260287
metadata:
261-
name: azure-vote-front
262-
namespace: default
288+
name: order-service
263289
spec:
264290
replicas: 1
265291
selector:
266292
matchLabels:
267-
app: azure-vote-front
293+
app: order-service
268294
template:
269295
metadata:
270296
labels:
271-
app: azure-vote-front
297+
app: order-service
272298
spec:
273299
nodeSelector:
274300
"kubernetes.io/os": linux
275301
containers:
276-
- name: azure-vote-front
277-
image: mcr.microsoft.com/azuredocs/azure-vote-front:v1
302+
- name: order-service
303+
image: ghcr.io/azure-samples/aks-store-demo/order-service:latest
304+
ports:
305+
- containerPort: 3000
306+
env:
307+
- name: ORDER_QUEUE_HOSTNAME
308+
value: "rabbitmq"
309+
- name: ORDER_QUEUE_PORT
310+
value: "5672"
311+
- name: ORDER_QUEUE_USERNAME
312+
value: "username"
313+
- name: ORDER_QUEUE_PASSWORD
314+
value: "password"
315+
- name: ORDER_QUEUE_NAME
316+
value: "orders"
317+
- name: FASTIFY_ADDRESS
318+
value: "0.0.0.0"
278319
resources:
279320
requests:
280-
cpu: 100m
321+
cpu: 1m
322+
memory: 50Mi
323+
limits:
324+
cpu: 75m
281325
memory: 128Mi
326+
initContainers:
327+
- name: wait-for-rabbitmq
328+
image: busybox
329+
command: ['sh', '-c', 'until nc -zv rabbitmq 5672; do echo waiting for rabbitmq; sleep 2; done;']
330+
resources:
331+
requests:
332+
cpu: 1m
333+
memory: 50Mi
282334
limits:
283-
cpu: 250m
284-
memory: 256Mi
335+
cpu: 75m
336+
memory: 128Mi
337+
---
338+
apiVersion: v1
339+
kind: Service
340+
metadata:
341+
name: order-service
342+
spec:
343+
type: ClusterIP
344+
ports:
345+
- name: http
346+
port: 3000
347+
targetPort: 3000
348+
selector:
349+
app: order-service
350+
---
351+
apiVersion: apps/v1
352+
kind: Deployment
353+
metadata:
354+
name: product-service
355+
spec:
356+
replicas: 1
357+
selector:
358+
matchLabels:
359+
app: product-service
360+
template:
361+
metadata:
362+
labels:
363+
app: product-service
364+
spec:
365+
nodeSelector:
366+
"kubernetes.io/os": linux
367+
containers:
368+
- name: product-service
369+
image: ghcr.io/azure-samples/aks-store-demo/product-service:latest
285370
ports:
286-
- containerPort: 80
287-
env:
288-
- name: REDIS
289-
value: "azure-vote-back"
371+
- containerPort: 3002
372+
resources:
373+
requests:
374+
cpu: 1m
375+
memory: 1Mi
376+
limits:
377+
cpu: 1m
378+
memory: 7Mi
290379
---
291380
apiVersion: v1
292381
kind: Service
293382
metadata:
294-
name: azure-vote-front
295-
namespace: default
383+
name: product-service
296384
spec:
385+
type: ClusterIP
297386
ports:
298-
- port: 80
387+
- name: http
388+
port: 3002
389+
targetPort: 3002
299390
selector:
300-
app: azure-vote-front
391+
app: product-service
301392
---
302-
apiVersion: networking.k8s.io/v1
303-
kind: Ingress
393+
apiVersion: apps/v1
394+
kind: Deployment
304395
metadata:
305-
name: vote-ingress
306-
namespace: default
396+
name: store-front
307397
spec:
308-
ingressClassName: nginx
309-
rules:
310-
- http:
311-
paths:
312-
- path: /
313-
pathType: Prefix
314-
backend:
315-
service:
316-
name: azure-vote-front
317-
port:
318-
number: 80
398+
replicas: 1
399+
selector:
400+
matchLabels:
401+
app: store-front
402+
template:
403+
metadata:
404+
labels:
405+
app: store-front
406+
spec:
407+
nodeSelector:
408+
"kubernetes.io/os": linux
409+
containers:
410+
- name: store-front
411+
image: ghcr.io/azure-samples/aks-store-demo/store-front:latest
412+
ports:
413+
- containerPort: 8080
414+
name: store-front
415+
env:
416+
- name: VUE_APP_ORDER_SERVICE_URL
417+
value: "http://order-service:3000/"
418+
- name: VUE_APP_PRODUCT_SERVICE_URL
419+
value: "http://product-service:3002/"
420+
resources:
421+
requests:
422+
cpu: 1m
423+
memory: 200Mi
424+
limits:
425+
cpu: 1000m
426+
memory: 512Mi
427+
---
428+
apiVersion: v1
429+
kind: Service
430+
metadata:
431+
name: store-front
432+
spec:
433+
ports:
434+
- port: 80
435+
targetPort: 8080
436+
selector:
437+
app: store-front
438+
type: LoadBalancer
319439
EOF
320440
```
321441

localized/pt-BR/scenarios/CreateRHELVMAndSSH/create-rhel-vm-ssh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.custom: 'mvc, devx-track-azurecli, mode-api, innovation-engine, linux-related
1414

1515
**Aplica-se a:** :heavy_check_mark: VMs do Linux
1616

17-
[![Implantar no Azure](https://aka.ms/deploytoazurebutton)](https://go.microsoft.com/fwlink/?linkid=2262692)
17+
[![Implantar no Azure](https://aka.ms/deploytoazurebutton)](https://go.microsoft.com/fwlink/?linkid=2286317)
1818

1919
Este guia de início rápido mostra como usar a CLI do Azure para implantar uma VM (máquina virtual) do Red Hat Enterprise Linux no Azure. A CLI do Azure é usada para criar e gerenciar recursos do Azure por meio da linha de comando ou de scripts.
2020

localized/pt-BR/scenarios/DeployIGonAKS/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.custom: innovation-engine
1010

1111
# Guia de início rápido: implantar o gadget Inspektor em um cluster do Serviço de Kubernetes do Azure
1212

13-
[![Implantar no Azure](https://aka.ms/deploytoazurebutton)](https://go.microsoft.com/fwlink/?linkid=2262844)
13+
[![Implantar no Azure](https://aka.ms/deploytoazurebutton)](https://go.microsoft.com/fwlink/?linkid=2276309)
1414

1515
Bem-vindo a este tutorial, onde vamos levá-lo passo a passo na implantação do [Inspektor Gadget](https://www.inspektor-gadget.io/) em um cluster do Serviço de Kubernetes do Azure (AKS) com o plug-in kubectl: `gadget`. Este tutorial pressupõe que você já esteja conectado à CLI do Azure e tenha selecionado uma assinatura para usar com a CLI.
1616

0 commit comments

Comments
 (0)