注:この質問は、同じシナリオを提示する一連の質問の一部です。 シリーズの各質問には、記載された目標を達成する可能性のある独自のソリューションが含まれています。 一部の質問セットには複数の正しい解決策がある場合もあれば、正しい解決策がない場合もあります。
このセクションの質問に回答すると、その質問に戻ることはできません。 その結果、これらの質問はレビュー画面に表示されません。
Azure DevOpsプロジェクトがあります。
ビルドプロセスにより、いくつかのアーティファクトが作成されます。
成果物をオンプレミスサーバーに展開する必要があります。
ソリューション:Kubernetesクラスターをオンプレミスに展開します。 Helmエージェントをクラスターにデプロイします。 ダウンロードビルドアーティファクトタスクを展開パイプラインに追加します。
これは目標を達成していますか?
正解:B
Explanation
Instead you should deploy an Azure self-hosted agent to an on-premises server.
Note: To build your code or deploy your software using AzurePipelines, you need at least one agent.
If your on-premises environments do not have connectivity to a Microsoft-hosted agent pool (which is typically the case due to intermediate firewalls), you'll need to manually configure a self-hosted agent on on-premises computer(s).
Note 2: As we [Microsoft] are launching this new experience in preview, we are currently optimizing it for Azure Kubernetes Service (AKS) and Azure Container Registry (ACR). Other Kubernetes clusters, for example running on-premises orin other clouds, as well as other container registries, can be used, but require setting up a Service Account and connection manually.
References:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops