You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gy...@apache.org on 2023/02/08 12:49:50 UTC
[flink-kubernetes-operator] branch main updated: [hotfix] Increase readiness.timeout to 5 minutes
This is an automated email from the ASF dual-hosted git repository.
gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new c20dc56b [hotfix] Increase readiness.timeout to 5 minutes
c20dc56b is described below
commit c20dc56ba6a11f4a576fc089a541a618da310b49
Author: Kyle Ahn <py...@gmail.com>
AuthorDate: Wed Feb 8 04:49:44 2023 -0800
[hotfix] Increase readiness.timeout to 5 minutes
---
docs/layouts/shortcodes/generated/dynamic_section.html | 2 +-
.../shortcodes/generated/kubernetes_operator_config_configuration.html | 2 +-
.../kubernetes/operator/config/KubernetesOperatorConfigOptions.java | 2 +-
helm/flink-kubernetes-operator/conf/flink-conf.yaml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/layouts/shortcodes/generated/dynamic_section.html b/docs/layouts/shortcodes/generated/dynamic_section.html
index 707024b6..518200f2 100644
--- a/docs/layouts/shortcodes/generated/dynamic_section.html
+++ b/docs/layouts/shortcodes/generated/dynamic_section.html
@@ -40,7 +40,7 @@
</tr>
<tr>
<td><h5>kubernetes.operator.deployment.readiness.timeout</h5></td>
- <td style="word-wrap: break-word;">1 min</td>
+ <td style="word-wrap: break-word;">5 min</td>
<td>Duration</td>
<td>The timeout for deployments to become ready/stable before being rolled back if rollback is enabled.</td>
</tr>
diff --git a/docs/layouts/shortcodes/generated/kubernetes_operator_config_configuration.html b/docs/layouts/shortcodes/generated/kubernetes_operator_config_configuration.html
index ddb0bed3..7e073226 100644
--- a/docs/layouts/shortcodes/generated/kubernetes_operator_config_configuration.html
+++ b/docs/layouts/shortcodes/generated/kubernetes_operator_config_configuration.html
@@ -52,7 +52,7 @@
</tr>
<tr>
<td><h5>kubernetes.operator.deployment.readiness.timeout</h5></td>
- <td style="word-wrap: break-word;">1 min</td>
+ <td style="word-wrap: break-word;">5 min</td>
<td>Duration</td>
<td>The timeout for deployments to become ready/stable before being rolled back if rollback is enabled.</td>
</tr>
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java
index 2b227c8b..de0c4b68 100644
--- a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java
+++ b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java
@@ -130,7 +130,7 @@ public class KubernetesOperatorConfigOptions {
public static final ConfigOption<Duration> DEPLOYMENT_READINESS_TIMEOUT =
operatorConfig("deployment.readiness.timeout")
.durationType()
- .defaultValue(Duration.ofMinutes(1))
+ .defaultValue(Duration.ofMinutes(5))
.withDescription(
"The timeout for deployments to become ready/stable "
+ "before being rolled back if rollback is enabled.");
diff --git a/helm/flink-kubernetes-operator/conf/flink-conf.yaml b/helm/flink-kubernetes-operator/conf/flink-conf.yaml
index 58173b68..a396305b 100644
--- a/helm/flink-kubernetes-operator/conf/flink-conf.yaml
+++ b/helm/flink-kubernetes-operator/conf/flink-conf.yaml
@@ -30,7 +30,7 @@ parallelism.default: 1
# kubernetes.operator.observer.savepoint.trigger.grace-period: 10 s
# kubernetes.operator.flink.client.timeout: 10 s
# kubernetes.operator.deployment.rollback.enabled: false
-# kubernetes.operator.deployment.readiness.timeout: 1min
+# kubernetes.operator.deployment.readiness.timeout: 5min
# kubernetes.operator.user.artifacts.base.dir: /opt/flink/artifacts
# kubernetes.operator.job.upgrade.ignore-pending-savepoint: false
# kubernetes.operator.watched.namespaces: ns1,ns2