Skip to content

Commit dd13101

Browse files
committed
links
1 parent c0e0aaa commit dd13101

File tree

1 file changed

+18
-39
lines changed

1 file changed

+18
-39
lines changed

articles/jenkins/jenkins-continuous-deployment.md

Lines changed: 18 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,26 @@ To complete this tutorial, you need these items:
3333

3434
- Basic understanding of Kubernetes, Git, CI/CD, and container images
3535

36-
- An [AKS cluster][aks-quickstart] and `kubectl` configured with the
37-
[AKS cluster credentials][aks-credentials]
36+
- An [AKS cluster](../aks/kubernetes-walkthrough.md) and `kubectl` configured with the
37+
[AKS cluster credentials](/cli/azure/aks#az-aks-get-credentials).
3838

39-
- An [Azure Container Registry (ACR) registry][acr-quickstart],
39+
- An [Azure Container Registry (ACR) registry](../container-registry/container-registry-get-started-azure-cli.md),
4040
the ACR login server name, and the AKS cluster configured to
41-
[authenticate with the ACR registry][acr-authentication]
41+
[authenticate with the ACR registry](../aks/cluster-container-registry-integration.md).
4242

4343
- The Azure CLI version 2.0.46 or later installed and configured.
4444
Run `az --version` to find the version. If you need to install or upgrade,
45-
see [Install Azure CLI][install-azure-cli].
45+
see [Install Azure CLI](/cli/azure/install-azure-cli).
4646

47-
- [Docker installed][docker-install] on your development system
47+
- [Docker installed](https://docs.docker.com/install/) on your development system
4848

49-
- A GitHub account, [GitHub personal access token][git-access-token],
49+
- A GitHub account, [GitHub personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/),
5050
and Git client installed on your development system
5151

5252
- If you provide your own Jenkins instance rather
5353
than this sample scripted way to deploy Jenkins,
54-
your Jenkins instance needs [Docker installed and configured][docker-install]
55-
and [kubectl][kubectl-install].
54+
your Jenkins instance needs [Docker installed and configured](https://docs.docker.com/install/)
55+
and [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/).
5656

5757
## Prepare your app
5858

@@ -81,7 +81,7 @@ To create the container images needed for the sample application, use the *docke
8181
docker-compose up -d
8282
```
8383

84-
The required base images are pulled and the application containers built. You can then use the [docker images][docker-images] command to see the created image. Three images have been downloaded or created. The `azure-vote-front` image contains the application and uses the `nginx-flask` image as a base. The `redis` image is used to start a Redis instance:
84+
The required base images are pulled and the application containers built. You can then use the [docker images](https://docs.docker.com/engine/reference/commandline/images/) command to see the created image. Three images have been downloaded or created. The `azure-vote-front` image contains the application and uses the `nginx-flask` image as a base. The `redis` image is used to start a Redis instance:
8585

8686
```
8787
$ docker images
@@ -92,13 +92,13 @@ redis latest a1b99da73d05 7 days ago
9292
tiangolo/uwsgi-nginx-flask flask 788ca94b2313 9 months ago 694MB
9393
```
9494

95-
Before you can push the *azure-vote-front* container image to ACR, get your ACR login server with the [az acr list][az-acr-list] command. The following example gets the ACR login server address for a registry in the resource group named *myResourceGroup*:
95+
Before you can push the *azure-vote-front* container image to ACR, get your ACR login server with the [az acr list](/cli/azure/acr#az-acr-list) command. The following example gets the ACR login server address for a registry in the resource group named *myResourceGroup*:
9696

9797
```azurecli
9898
az acr list --resource-group myResourceGroup --query "[].{acrLoginServer:loginServer}" --output table
9999
```
100100

101-
Use the [docker tag][docker-tag] command to tag the image with the ACR login server name and a version number of `v1`. Provide your own `<acrLoginServer>` name obtained in the previous step:
101+
Use the [docker tag](https://docs.docker.com/engine/reference/commandline/tag/) command to tag the image with the ACR login server name and a version number of `v1`. Provide your own `<acrLoginServer>` name obtained in the previous step:
102102

103103
```console
104104
docker tag azure-vote-front <acrLoginServer>/azure-vote-front:v1
@@ -120,13 +120,13 @@ containers:
120120
image: microsoft/azure-vote-front:v1
121121
```
122122
123-
Next, use the [kubectl apply][kubectl-apply] command to deploy the application to your AKS cluster:
123+
Next, use the [kubectl apply](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply) command to deploy the application to your AKS cluster:
124124
125125
```console
126126
kubectl apply -f azure-vote-all-in-one-redis.yaml
127127
```
128128

129-
A Kubernetes load balancer service is created to expose the application to the internet. This process can take a few minutes. To monitor the progress of the load balancer deployment, use the [kubectl get service][kubectl-get] command with the `--watch` argument. Once the *EXTERNAL-IP* address has changed from *pending* to an *IP address*, use `Control + C` to stop the kubectl watch process.
129+
A Kubernetes load balancer service is created to expose the application to the internet. This process can take a few minutes. To monitor the progress of the load balancer deployment, use the [kubectl get service](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get) command with the `--watch` argument. Once the *EXTERNAL-IP* address has changed from *pending* to an *IP address*, use `Control + C` to stop the kubectl watch process.
130130

131131
```console
132132
$ kubectl get service azure-vote-front --watch
@@ -188,7 +188,7 @@ To allow Jenkins to build and then push updated container images to ACR, you nee
188188

189189
### Create a service principal for Jenkins to use ACR
190190

191-
First, create a service principal using the [az ad sp create-for-rbac][az-ad-sp-create-for-rbac] command:
191+
First, create a service principal using the [az ad sp create-for-rbac](/cli/azure/ad/sp#az-ad-sp-create-for-rbac) command:
192192

193193
```azurecli
194194
$ az ad sp create-for-rbac --skip-assignment
@@ -204,7 +204,7 @@ $ az ad sp create-for-rbac --skip-assignment
204204

205205
Make a note of the *appId* and *password* shown in your output. These values are used in following steps to configure the credential resource in Jenkins.
206206

207-
Get the resource ID of your ACR registry using the [az acr show][az-acr-show] command, and store it as a variable. Provide your resource group name and ACR name:
207+
Get the resource ID of your ACR registry using the [az acr show](/cli/azure/acr#az-acr-show) command, and store it as a variable. Provide your resource group name and ACR name:
208208

209209
```azurecli
210210
ACR_ID=$(az acr show --resource-group myResourceGroup --name <acrLoginServer> --query "id" --output tsv)
@@ -322,26 +322,5 @@ Once the build is complete, refresh your web browser of the sample Azure vote ap
322322

323323
## Next steps
324324

325-
In this article, you learned how to use Jenkins as part of a CI/CD solution. AKS can integrate with other CI/CD solutions and automation tools, such as the [Azure DevOps Project][azure-devops] or [creating an AKS cluster with Ansible][aks-ansible].
326-
327-
<!-- LINKS - external -->
328-
[docker-images]: https://docs.docker.com/engine/reference/commandline/images/
329-
[docker-tag]: https://docs.docker.com/engine/reference/commandline/tag/
330-
[git-access-token]: https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
331-
[kubectl-apply]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply
332-
[kubectl-get]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get
333-
[docker-install]: https://docs.docker.com/install/
334-
[kubectl-install]: https://kubernetes.io/docs/tasks/tools/install-kubectl/
335-
336-
<!-- LINKS - internal -->
337-
[az-acr-list]: /cli/azure/acr#az-acr-list
338-
[acr-authentication]: cluster-container-registry-integration.md
339-
[acr-quickstart]: ../container-registry/container-registry-get-started-azure-cli.md
340-
[aks-credentials]: /cli/azure/aks#az-aks-get-credentials
341-
[aks-quickstart]: kubernetes-walkthrough.md
342-
[azure-cli-install]: /cli/azure/install-azure-cli
343-
[install-azure-cli]: /cli/azure/install-azure-cli
344-
[az-ad-sp-create-for-rbac]: /cli/azure/ad/sp#az-ad-sp-create-for-rbac
345-
[az-acr-show]: /cli/azure/acr#az-acr-show
346-
[azure-devops]: ../devops-project/azure-devops-project-aks.md
347-
[aks-ansible]: ../ansible/ansible-create-configure-aks.md
325+
> [!div class="nextstepaction"]
326+
> [Jenkins on Azure](/azure/jenkins)

0 commit comments

Comments
 (0)