From 6cb448c10e21d736ebfe1dce8c86465eced951ee Mon Sep 17 00:00:00 2001 From: wpedrak Date: Thu, 17 Jun 2021 14:29:14 +0200 Subject: [PATCH] Specify etcdctl version for livenessProbe `--command-timeout` is supported in `ETCDCTL_API` version 3 and it is NOT supported in `ETCDCTL_API` version 2. Up to etcd 3.3 (inclusive) default version of `ETCDCTL_API` was 2. This change explicitly defines used `ETCDCTL_API` and allows usage of etcd versions below 3.4. --- cluster/gce/manifests/etcd.manifest | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cluster/gce/manifests/etcd.manifest b/cluster/gce/manifests/etcd.manifest index 2a93307ca0f..0fb20467384 100644 --- a/cluster/gce/manifests/etcd.manifest +++ b/cluster/gce/manifests/etcd.manifest @@ -63,6 +63,10 @@ }, { "name": "ETCD_HOSTNAME", "value": "{{ hostname }}" + }, + { + "name": "ETCDCTL_API", + "value": "3" } ], "livenessProbe": {