You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/azure-devops/deploy-kubernetes/includes/3-set-up-environment.md
+19-12Lines changed: 19 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,27 +28,34 @@ In this section, you run a template to create your project in Azure DevOps.
28
28
29
29
### Run the template
30
30
31
-
Run the template to set up your Azure DevOps project for this module:
31
+
Run a template that sets up your Azure DevOps organization.
32
32
33
-
> [!div class="nextstepaction"]
34
-
> [Run the template](https://azuredevopsdemogenerator.azurewebsites.net/?x-ms-routing-name=self&name=Deploymulti-containersolutionstoKubernetes&azure-portal=true)
33
+
1.[Get and run the ADOGenerator project](https://github.com/microsoft/AzDevOpsDemoGenerator/blob/main/docs/RunApplication.md) in Visual Studio or the IDE of your choice.
35
34
36
-
From the Azure DevOps Demo Generator portal, follow these steps to run the template:
35
+
1. When prompted to **Enter the template number from the list of templates**, enter **40** for **Automate multi-container deployments to Azure Kubernetes Services with Azure Pipelines**, then press **Enter**.
37
36
38
-
1.Select **Sign In**and agree to the terms of use.
37
+
1.Choose your authentication method. You can [set up and use a Personal Access Token (PAT)](/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate#create-a-pat) or use device login.
39
38
40
-
1. On the **Create New Project** page, select your Azure DevOps organization and provide a project name, such as *Space Game - web - Kubernetes*.
39
+
> [!NOTE]
40
+
> If you set up a PAT, If you set up a PAT, make sure to authorize the necessary [scopes](/azure/devops/integrate/get-started/authentication/oauth#scopes). For this module, you can use **Full access**, but in a real-world situation, you should ensure you grant only the necessary scopes.
41
41
42
-
:::image type="content" source="../media/3-create-new-project.png" alt-text="Screenshot of the Azure DevOps Demo Generator showing the process to create the project.":::
42
+
1. Enter your Azure DevOps organization name, then press **Enter**.
43
43
44
-
1.Select **Yes, I want to fork this repository**, and then **Authorize**. If a window pops up, grant permission to access your GitHub account.
44
+
1.If prompted, enter your Azure DevOps PAT, then press **Enter**.
45
45
46
-
> [!IMPORTANT]
47
-
> Selecting this option is necessary for the template to connect to your GitHub repository. Please choose it even if you have already forked the *Space Game* repository as the template will use your existing fork.
46
+
1. Enter a project name such as *Space Game - web - Kubernetes*, then press **Enter**.
48
47
49
-
1.Select **Create Project** and wait for the template to finish running, which might take a few minutes.
48
+
1.Once your project is created, go to your Azure DevOps organization in your browser (at `https://dev.azure.com/<your-organization-name>/`) and select the project.
50
49
51
-
1. Select **Navigate to project** to access your project in Azure DevOps.
50
+
### Fork the repository
51
+
52
+
If you haven't already, create a fork of the **mslearn-tailspin-spacegame-web-kubernetes** repository.
53
+
54
+
1. On GitHub, go to the [mslearn-tailspin-spacegame-web-kubernetes](https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-kubernetes) repository.
55
+
56
+
1. Select **Fork** at the top-right of the screen.
57
+
58
+
1. Choose your GitHub account as the **Owner**, then select **Create fork**.
52
59
53
60
> [!IMPORTANT]
54
61
> The unit [Clean up your Azure DevOps environment](/training/modules/deploy-kubernetes/5-clean-up-environment?azure-portal=true) in this module includes crucial steps for cleanup. It is recommended to perform these steps to avoid running out of free build minutes. Even if you don't finish this module, it is important to follow the cleanup steps.
0 commit comments