Client Configuration
Contents
Client Configuration
Client Configuration helps you get the necessary connectivity to your Kubernetes
cluster. Use the Kubernetes Cluster Type field to select the target Kubernetes cluster type to show instructions for
configuring kubectl to successfully connect to the cluster.
- The
Kubectl Executable to Usefield tells the WKT UI application where to find the correct version ofkubectlto use. - By using the
Kubernetes Client Config File(s)field, you can specify a different Kubernetes client configuration file instead of, or in addition to, the default.kube/configfile from your home directory. - For environments where the client is configured to connect to multiple clusters, use the
Kubernetes Config Context to Usefield to specify the configuration file’s context associated with the cluster to which you want to connect. - The
Helm Executable to Usefield tells the application where to find Helm, which is used to install the WebLogic Kubernetes Operator and ingress controllers. For more information about Helm, see the Helm documentation.
Authentication with Managed Kubernetes Clusters
Most cloud vendors require the use of their command-line tooling to authenticate kubectl connections to their managed
Kubernetes clusters. For example, after kubectl is configured to connect to a Kubernetes cluster managed by the
Oracle Kubernetes Engine (OKE), the Kubernetes client configuration file will have a section that looks similar to the
one shown here.
This configuration causes each kubectl invocation that references this user definition to execute the oci command
(the Oracle Cloud command-line tool) to get the credentials necessary to successfully authenticate to the cluster.
If the oci executable is not in a directory in the PATH environment variable when the kubectl command is executed,
then an error similar to the one shown here will occur.
Verify Connectivity
To verify the application configuration for connecting to the specified Kubernetes cluster,
use the Verify Connectivity button on the Client Configuration page or
Go > Verify Kubernetes Client Connection.