Skip to content

Commit

Permalink
[FLINK-20770][k8s] Correct the description of kubernetes config optio…
Browse files Browse the repository at this point in the history
…n 'kubernetes.rest-service.exposed.type'

This closes apache#14515.
  • Loading branch information
wangyang0918 authored and tillrohrmann committed Jan 12, 2021
1 parent 460e179 commit d412c5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<td><h5>kubernetes.rest-service.exposed.type</h5></td>
<td style="word-wrap: break-word;">LoadBalancer</td>
<td><p>Enum</p>Possible values: [ClusterIP, NodePort, LoadBalancer]</td>
<td>The type of the rest service (ClusterIP or NodePort or LoadBalancer). When set to ClusterIP, the rest service will not be created.</td>
<td>The exposed type of the rest service (ClusterIP or NodePort or LoadBalancer). The exposed rest service could be used to access the Flink’s Web UI and REST endpoint.</td>
</tr>
<tr>
<td><h5>kubernetes.secrets</h5></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public class KubernetesConfigOptions {
.enumType(ServiceExposedType.class)
.defaultValue(ServiceExposedType.LoadBalancer)
.withDescription(
"The type of the rest service (ClusterIP or NodePort or LoadBalancer). "
+ "When set to ClusterIP, the rest service will not be created.");
"The exposed type of the rest service (ClusterIP or NodePort or LoadBalancer). "
+ "The exposed rest service could be used to access the Flink’s Web UI and REST endpoint.");

public static final ConfigOption<String> JOB_MANAGER_SERVICE_ACCOUNT =
key("kubernetes.jobmanager.service-account")
Expand Down

0 comments on commit d412c5d

Please sign in to comment.