Skip to content

Commit

Permalink
Reduce function name size to 53 for k8s runtime (#10531)
Browse files Browse the repository at this point in the history
(cherry picked from commit 74c0c31)
  • Loading branch information
cdbartholomew authored and codelipenghui committed Jun 26, 2021
1 parent 749c683 commit f20e513
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
public class KubernetesRuntime implements Runtime {

private static final String ENV_SHARD_ID = "SHARD_ID";
private static final int maxJobNameSize = 55;
private static final int maxJobNameSize = 53;
private static final int maxLabelSize = 63;
public static final Pattern VALID_POD_NAME_REGEX =
Pattern.compile("[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*",
Expand Down

0 comments on commit f20e513

Please sign in to comment.