Commit 3983002
committed
UPSTREAM: 1663: Recommended leaderelection setting
Extensive e2e tests revealed that operator-controller might run into
leader election timeouts during cluster bootstrap, causing sporadic
alerts being generated.
This commit uses recommended settings for leaderelection
LeaseDuration: 15s -> 137s
RenewDeadline: 10s -> 107s
RetryPeriod: 2s -> 26s
Warning: This will increase potential down-time of catalogd to 163s in
the worst case (up from 17s). (LeaseDuration + RetryPeriod)1 parent f055efc commit 3983002
File tree
9,968 files changed
+2871089
-3
lines changed- catalogd/cmd/catalogd
- cmd/operator-controller
- vendor
- carvel.dev
- kapp
- pkg/kapp
- cmd/core
- config
- crdupgradesafety
- diffgraph
- logger
- matcher
- preflight
- resourcesmisc
- resources
- util
- version
- yttresmod
- vendir
- pkg/vendir/versions/v1alpha1
- cel.dev/expr
- dario.cat/mergo
- github.com
- AdaLogics/go-fuzz-headers
- Azure/go-ansiterm
- winterm
- BurntSushi/toml
- internal
- MakeNowJust/heredoc
- Masterminds
- goutils
- semver/v3
- sprig/v3
- squirrel
- Microsoft
- go-winio
- backuptar
- internal
- fs
- socket
- stringbuffer
- pkg
- bindfilter
- guid
- vhd
- hcsshim
- computestorage
- internal
- cow
- hcserror
- hcs
- schema1
- schema2
- hns
- interop
- jobobject
- logfields
- log
- longpath
- memory
- mergemaps
- oc
- protocol/guestrequest
- queue
- safefile
- security
- timeout
- vmcompute
- wclayer
- winapi
- osversion
- pkg/ociwclayer
- VividCortex/ewma
- acarl005/stripansi
- antlr4-go/antlr/v4
- asaskevich/govalidator
- beorn7/perks
- quantile
- blang/semver/v4
- cenkalti/backoff/v4
- cespare/xxhash/v2
- chai2010/gettext-go
- mo
- plural
- po
- containerd
- cgroups/v3
- cgroup1/stats
- containerd
- api
- events
- runtime/sandbox/v1
- types
- archive
- compression
- tarheader
- containers
- content
- local
- contrib/seccomp/kernelversion
- errdefs
- events
- filters
- gc
- identifiers
- images
- labels
- leases
- log
- metadata
- boltutil
- mount
- namespaces
- pkg
- cleanup
- epoch
- randutil
- platforms
- protobuf
- proto
- types
- reference
- remotes
- docker
- auth
- schema1
- errors
- sandbox
- snapshots
- tracing
- version
- continuity
- devices
- fs
- sysx
- errdefs
- pkg
- errgrpc
- internal
- cause
- types
- log
- platforms
- stargz-snapshotter/estargz
- errorutil
- ttrpc
- typeurl/v2
- containers
- common
- pkg
- auth
- capabilities
- completion
- password
- image/v5
- copy
- directory/explicitfilepath
- docker
- policyconfiguration
- reference
- internal
- blobinfocache
- imagedestination
- impl
- stubs
- imagesource
- impl
- stubs
- image
- iolimits
- manifest
- multierr
- pkg/platform
- private
- putblobdigest
- rootless
- set
- signature
- signer
- streamdigest
- tmpdir
- unparsedimage
- uploadreader
- useragent
- manifest
- oci
- internal
- layout
- pkg
- blobinfocache
- internal/prioritize
- memory
- none
- sqlite
- compression
- internal
- types
- docker/config
- strslice
- sysregistriesv2
- tlsclientconfig
- signature
- internal
- signer
- sigstore
- internal
- simplesigning
- transports
- types
- version
- libtrust
- ocicrypt
- blockcipher
- config
- keyprovider-config
- crypto/pkcs11
- keywrap
- jwe
- keyprovider
- pgp
- pkcs11
- pkcs7
- spec
- utils
- keyprovider
- storage
- pkg
- archive
- chunked
- compressor
- internal
- toc
- fileutils
- homedir
- idtools
- ioutils
- lockfile
- longpath
- mount
- pools
- promise
- reexec
- regexp
- system
- cppforlife
- cobrautil
- color
- go-cli-ui
- ui
- table
- cyberphone/json-canonicalization
- go/src/webpki.org/jsoncanonicalizer
- cyphar/filepath-securejoin
- davecgh/go-spew
- spew
- distribution/reference
- docker
- cli
- cli/config
- configfile
- credentials
- types
- distribution
- metrics
- registry
- api
- errcode
- v2
- client
- auth
- challenge
- transport
- storage/cache
- memory
- docker-credential-helpers
- client
- credentials
- docker
- api/types
- filters
- registry
- versions
- errdefs
- pkg/ioutils
- registry
- go-connections
- tlsconfig
- go-metrics
- go-units
- emicklei/go-restful/v3
- log
- evanphx/json-patch
- v5
- internal/json
- exponent-io/jsonpath
- fatih/color
- felixge/httpsnoop
- fsnotify/fsnotify
- internal
- fxamacker/cbor/v2
- go-errors/errors
- go-git
- gcfg
- scanner
- token
- types
- go-billy/v5
- go-git/v5
- internal/path_util
- plumbing/format
- config
- gitignore
- utils/ioutil
- go-gorp/gorp/v3
- go-jose/go-jose/v4
- cipher
- json
- go-logr
- logr
- funcr
- stdr
- go-openapi
- analysis
- internal
- debug
- flatten
- normalize
- operations
- replace
- schutils
- sortref
- errors
- jsonpointer
- jsonreference
- internal
- loads
- runtime
- spec
- schemas
- v2
- strfmt
- swag
- validate
- go-task/slim-sprig/v3
- gobwas/glob
- compiler
- match
- syntax
- ast
- lexer
- util
- runes
- strings
- gogo/protobuf
- proto
- sortkeys
- golang
- groupcache
- lru
- protobuf
- proto
- ptypes
- any
- duration
- timestamp
- google
- btree
- cel-go
- cel
- checker
- decls
- common
- ast
- containers
- debug
- decls
- functions
- operators
- overloads
- runes
- stdlib
- types
- pb
- ref
- traits
- ext
- interpreter
- functions
- parser
- gen
- gnostic-models
- compiler
- extensions
- jsonschema
- openapiv2
- openapiv3
- go-cmp
- cmp
- cmpopts
- internal
- diff
- flags
- function
- value
- go-containerregistry
- internal
- and
- compression
- estargz
- gzip
- httptest
- redact
- retry
- wait
- verify
- windows
- zstd
- pkg
- authn
- compression
- crane
- legacy
- tarball
- logs
- name
- registry
- v1
- empty
- layout
- match
- mutate
- partial
- random
- remote
- transport
- stream
- tarball
- types
- gofuzz
- bytesource
- pprof
- profile
- shlex
- uuid
- gorilla
- handlers
- mux
- websocket
- gosuri/uitable
- util
- strutil
- wordwrap
- gregjones/httpcache
- grpc-ecosystem/grpc-gateway/v2
- internal/httprule
- runtime
- utilities
- h2non
- filetype
- matchers
- isobmff
- types
- go-is-svg
- hashicorp
- errwrap
- go-multierror
- go-version
- huandu/xstrings
- inconshreveable/mousetrap
- jbenet/go-context
- io
- jmoiron/sqlx
- reflectx
- joelanford/ignore
- josharian/intern
- json-iterator/go
- k14s
- starlark-go
- internal
- compile
- spell
- resolve
- starlarkstruct
- starlark
- syntax
- ytt
- pkg
- cmd
- template
- ui
- filepos
- files
- orderedmap
- schema
- template
- core
- texttemplate
- version
- workspace
- ref
- yamlmeta
- internal/yaml.v2
- yamltemplate
- yttlibrary
- overlay
- klauspost
- compress
- flate
- fse
- gzhttp
- writer
- gzkp
- gzip
- huff0
- internal
- cpuinfo
- snapref
- zstd
- internal/xxhash
- pgzip
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
9,968 files changed
+2871089
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
234 | | - | |
235 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
236 | 243 | | |
237 | 244 | | |
238 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
232 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
233 | 240 | | |
234 | 241 | | |
235 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments