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-environmentcommand:oci devops deploy-environment create-oke-cluster-environmentRequired parameters for the
create-oke-cluster-environmentcommand:--cluster-id--project-id
To get all the commands for
deploy-environment:oci devops deploy-environment -hTo get help for the
create-oke-cluster-environmentcommand:oci devops deploy-environment create-oke-cluster-environment -hTo create a reference to a Kubernetes cluster environment, use the
CreateDeployEnvironmentoperation. For thedeployEnvironmentTypeattribute, specify theOKE_CLUSTERvalue.