Configuration-setup steps

Confluence link: Link
Quick Start guide: Link

    • configure kubeconfig for DEV(my files under /root after sudo bash)
      • Prereq
        • Login to oci console as aiapps0 and make sure one has the access
          • https://console.us-ashburn-1.oraclecloud.com/
      • Create api key
      • Create profile OCI config file
        • ~/.oci/config
          [DEFAULT]
          user=ocid1.user.oc1..aaaaaaaau3kstkeken4tntyi4oms5ogrdczpxmmhrsjx2eqph2bzlupm4aja
          fingerprint=1b:6e:73:b7:6e:bd:09:47:f4:ff:ff:43:73:7f:44:dc
          key_file=/Users/vdesu/.oci/oci_api_key.pem
          tenancy=ocid1.tenancy.oc1..aaaaaaaacjscso5u7julifijckkppxza5jjopnxvv3m4guidmx3r6jynvg2a
          region=us-ashburn-1
      • Profile config file
        • Get User & tenant OCIDs from OCI console
        • select region on oci console -> Developer services -> Containers & Artifacts -> select container as cp_oke or dp_oke -> select a cluster -> Access cluster
        • oci ce cluster create-kubeconfig --cluster-id ocid1.cluster.oc1.iad.aaaaaaaaafsdoztdgnstcnjrgi4dszbshbrtmmbxguzgimjsgcydkzbvmq2d --file cp_dev_kubeconfig --region us-ashburn-1 --token-version 2.0.0 --config-file=/Users/vdesu/ociconfig/ashburn/dev/config
        • oci ce cluster create-kubeconfig --cluster-id  --file $HOME/.kube/config --region us-ashburn-1 --token-version 2.0.0
        • cp_dev_kubeconfig & dp_dev_kubeconfig
    • Re-start your Linux machine or Virtual Box to reflect the changes 

Comments