Creating a Kubernetes Cluster Environment
Create a reference to Kubernetes Engine (OKE) cluster target environment.
Before you begin, you must create a Kubernetes Engine cluster. For creating IAM policy specific to private OKE environment, see Environment Policies.
For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.
The reference to the Kubernetes cluster environment is created. You can create a deployment pipeline to deploy artifacts to a Kubernetes Engine (OKE) cluster.
To create a reference to a Kubernetes cluster environment, run the
create-oke-cluster-environment
command:oci devops deploy-environment create-oke-cluster-environment
Required parameters for the
create-oke-cluster-environment
command:--cluster-id
--project-id
To get all the commands for
deploy-environment
:oci devops deploy-environment -h
To get help for the
create-oke-cluster-environment
command:oci devops deploy-environment create-oke-cluster-environment -h
To create a reference to a Kubernetes cluster environment, use the
CreateDeployEnvironment
operation. For thedeployEnvironmentType
attribute, specify theOKE_CLUSTER
value.