You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --profile option in any CLI command is used to specify a named profile from the Oracle Cloud Infrastructure (OCI) CLI configuration file (~/.oci/config) as it is a global parameter and not for a specific command.
@anup-21 The --profile option is required if you are not using the DEFAULT profile. This section must be added manually into the ~/.kube/config file even if you specify --profile when creating the entry using the OCI CLI. In the example below the profile name is MAACLOUD and I've would have execute the following command:
When adding an OKE configuration and specify the
--profile
option it is ignore and you have to edit the.kube/config
file manually to add the profile.oci ce cluster create-kubeconfig --cluster-id ocid1.cluster........ --file $HOME/.kube/config --region us-chicago-1 --token-version 2.0.0 --kube-endpoint PUBLIC_ENDPOINT --profile <PROFILE_NAME>
This should be automated so no manual interaction would be needed.
The text was updated successfully, but these errors were encountered: