QuestionQ6

Oracle DevOps Practices

A DevOps engineer needs to access an Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE) cluster to deploy new applications and manage existing applications.

Which two statements are correct?

Choose two
  • A To access the cluster using kubectl, you have to set up a Kubernetes configuration file for the cluster. The kubeconfig file by default is named config and stored in the $HOME/.kube directory.
  • B When a cluster’s Kubernetes API endpoint has a public IP address, you can access the cluster in Cloud Shell by setting up a kubeconfig file.
  • C Generating an API signing key pair is not required while setting up cluster access using local machine if the public key is not already uploaded in the console.
  • D The only available option when a cluster’s Kubernetes API endpoint has a public IP address is to control the cluster locally using kubectl and the Kubernetes Dashboard.
  • E To access the cluster using kubectl, you have to set up a Kubernetes manifest file for the cluster. The kubeconfig file by default is named config and stored in the $HOME/.manifest directory.
Explanation

OKE access through kubectl requires a kubeconfig file, which by default is named config and stored in $HOME/.kube. A cluster whose Kubernetes API endpoint has a public IP address can be accessed from Cloud Shell by creating that kubeconfig file. Local-machine setup requires an API signing key pair and upload of its public key when one is not already available.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!