oracle-actions / configure-kubectl-oke

Install and configure Kubectl for the specified Oracle Engine for Kubernetes (OKE) cluster
Universal Permissive License v1.0
11 stars 9 forks source link

explicit endpoint #24

Closed rajashekhargundeti closed 8 months ago

rajashekhargundeti commented 1 year ago

Hi

How to connect to an explicit endpoint pointing to a different service endpoint?

--endpoint https://containerengine-XXX.us-ashburn-1.oci.oraclecloud.com

oci ce cluster create-kubeconfig --cluster-id ocid1.clusterinteg.oc1.iad.XXX --file $HOME/.kube/config --region us-ashburn-1 --token-version 2.0.0 --kube-endpoint PUBLIC_ENDPOINT --profile xyz --auth security_token --endpoint https://containerengine-XXX.us-ashburn-1.oci.oraclecloud.com

Djelibeybi commented 1 year ago

Why would you need to do that? Just provide the Cluster OCID and the action will determine the endpoint URL itself.