Creazione di un ambiente cluster Kubernetes
Creare un riferimento all'ambiente di destinazione cluster OKE (Kubernetes Engine).
Prima di iniziare, è necessario creare un cluster Kubernetes Engine. Per creare un criterio IAM specifico per l'ambiente OKE privato, vedere Criteri di ambiente.
Per accedere a DevOps mediante la console di Oracle Cloud, l'API REST e l'interfaccia CLI, vedere Accesso a DevOps.
Il riferimento all'ambiente cluster Kubernetes viene creato. È possibile creare una pipeline di distribuzione per distribuire artifact in un cluster OKE (Kubernetes Engine).
Per creare un riferimento a un ambiente cluster Kubernetes, eseguire il comando
create-oke-cluster-environment:oci devops deploy-environment create-oke-cluster-environmentParametri richiesti per il comando
create-oke-cluster-environment:-
--cluster-id -
--project-id
Per ottenere tutti i comandi per
deploy-environment:oci devops deploy-environment -hPer ottenere assistenza per il comando
create-oke-cluster-environment:oci devops deploy-environment create-oke-cluster-environment -h-
Per creare un riferimento a un ambiente cluster Kubernetes, utilizzare l'operazione
CreateDeployEnvironment. Per l'attributodeployEnvironmentType, specificare il valoreOKE_CLUSTER.