TisonKun commented on a change in pull request #10956:
[FLINK-15646][client]Configurable K8s context support.
URL: https://github.com/apache/flink/pull/10956#discussion_r377378491
##########
File path:
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/kubeclient/KubeClientFactory.java
##########
@@ -42,18 +42,23 @@ public static FlinkKubeClient
fromConfiguration(Configuration flinkConfig) {
final Config config;
+ final String kubeContext =
flinkConfig.getString(KubernetesConfigOptions.CONTEXT);
+ if (kubeContext != null) {
+ LOG.info("Configuring K8S client using context {}.",
kubeContext);
Review comment:
I agree to use "Kubernetes" in logging & document as @wangyang0918 suggested.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services