可能有一个非常简单的答案,但我遇到了麻烦。
如果提供的--max
标志值大于10,则Helm仅显示最近10次修订。helm是否只存储最近10次修订?
$ helm history airflow --max 256 -o table
REVISION UPDATED STATUS CHART APP VERSION DESCRIPTION
76 Thu Oct 1 12:52:51 2020 pending-upgrade airflow-7.9.0 1.10.12 Preparing upgrade
77 Thu Oct 1 16:01:55 2020 superseded airflow-7.9.0 1.10.12 Upgrade complete
78 Thu Oct 1 16:02:52 2020 superseded airflow-7.9.0 1.10.12 Upgrade complete
79 Thu Oct 1 16:32:53 2020 superseded airflow-7.9.0 1.10.12 Upgrade complete
80 Thu Oct 1 16:52:51 2020 superseded airflow-7.9.0 1.10.12 Upgrade complete
81 Fri Oct 2 11:06:38 2020 superseded airflow-7.9.0 1.10.12 Upgrade complete
82 Fri Oct 2 11:08:56 2020 superseded airflow-7.9.0 1.10.12 Upgrade complete
83 Fri Oct 2 11:16:41 2020 superseded airflow-7.9.0 1.10.12 Upgrade complete
84 Fri Oct 2 11:25:19 2020 superseded airflow-7.9.0 1.10.12 Upgrade complete
85 Fri Oct 2 12:07:29 2020 deployed airflow-7.9.0 1.10.12 Upgrade complete
默认保存的历史长度为10(从Helm3开始(。该标志仅在helm upgrade
中可用(不知道他们为什么没有添加到install
中(:
$ helm upgrade --help | grep history-max
--history-max int limit the maximum number of revisions saved per release. Use 0 for no limit (default 10)