File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 101101# An integer or time string (i.e.: "5m") can be used in case of "periodic". Only integer allowed in case of "revision"
102102# Integer or String
103103# Defaults to 0 (disabled)
104+ # @param etcd_quota_backend_bytes
105+ # Raise alarms when backend size exceeds the given quota.
106+ # An string. set a very small 16MB quota 16*1024*1024
107+ # Default to 0 (size 2G )
104108# @param api_server_count
105109# Defaults to undef
106110# @param etcd_version
255259 Integer $etcd_max_wals = $kubernetes::etcd_max_wals,
256260 Integer $etcd_max_request_bytes = $kubernetes::etcd_max_request_bytes,
257261 Optional[String] $etcd_listen_metric_urls = $kubernetes::etcd_listen_metric_urls,
262+ Optional[String] $etcd_quota_backend_bytes = $kubernetes::etcd_quota_backend_bytes,
258263 String $token = $kubernetes::token,
259264 String $ttl_duration = $kubernetes::ttl_duration,
260265 String $discovery_token_hash = $kubernetes::discovery_token_hash,
Original file line number Diff line number Diff line change 230230# This will tell etcd how many WAL files to be kept
231231# Defaults to 5
232232#
233+ # [*etcd_quota_backend_bytes*]
234+ # Raise alarms when backend size exceeds the given quota (0 defaults to low space quota).
235+ # Default to undef
236+ #
233237# [*etcd_max_request_bytes*]
234238# This will tell etcd the maximum size of a request in bytes
235239# Defaults to 1572864
637641 Variant[String, Integer] $etcd_compaction_retention = 0,
638642 Integer $etcd_max_wals = 5,
639643 Integer $etcd_max_request_bytes = 1572864,
644+ Optional[String] $etcd_quota_backend_bytes = undef ,
640645 Optional[String] $etcd_listen_metric_urls = undef ,
641646 Optional[String] $etcd_ca_key = undef ,
642647 Optional[String] $etcd_ca_crt = undef ,
Original file line number Diff line number Diff line change 1414 },
1515 {
1616 "name" : " puppetlabs-apt" ,
17- "version_requirement" : " >= 10.0 .0"
17+ "version_requirement" : " >= 11.1 .0"
1818 },
1919 {
2020 "name" : " puppet-archive" ,
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ ExecStart=/usr/local/bin/etcd --name <%= @etcd_hostname %> \
4343 --max-request-bytes <%= @etcd_max_request_bytes %> \
4444<%- if @etcd_listen_metric_urls -%>
4545 --listen-metrics-urls <%= @etcd_listen_metric_urls %> \
46+ <%- end -%>
47+ <%- if @etcd_quota_backend_bytes -%>
48+ --quota-backend-bytes <%= @etcd_quota_backend_bytes %> \
4649<%- end -%>
4750 --max-wals <%= @etcd_max_wals %>
4851
You can’t perform that action at this time.
0 commit comments