mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
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.
This commit is contained in:
parent
0abb908638
commit
6cb448c10e
@ -63,6 +63,10 @@
|
||||
},
|
||||
{ "name": "ETCD_HOSTNAME",
|
||||
"value": "{{ hostname }}"
|
||||
},
|
||||
{
|
||||
"name": "ETCDCTL_API",
|
||||
"value": "3"
|
||||
}
|
||||
],
|
||||
"livenessProbe": {
|
||||
|
Loading…
Reference in New Issue
Block a user