[common] v3.0.0 (#576)

* [common] Modify default probe settings

* Small CHANGELOG update

* Add kubeVersion to metadata
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-02-13 15:53:29 +01:00 committed by GitHub
parent 84120a2a65
commit edf66a746e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 11 deletions

View File

@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.0.0]
### Changed
- `probes.startupProbe` is now enabled by default. This will allow for quicker `Ready` states on Pods. It will precede the liveness and readiness Probes. *Note:* This requires that you are running [Kubernetes 1.16](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/)
- Aligned our default values for liveness and readiness Probes with the Kubernetes defaults:
- `initialDelaySeconds` is now `0`
- `timeoutSeconds` is now `1`
- `failureThreshold` is now `3`
## [2.5.1] ## [2.5.1]
### Added ### Added
@ -99,6 +109,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This is the last version before starting this changelog. All sorts of cool stuff was changed, but only `git log` remembers what that was :slightly_frowning_face: This is the last version before starting this changelog. All sorts of cool stuff was changed, but only `git log` remembers what that was :slightly_frowning_face:
[3.0.0]: https://github.com/k8s-at-home/charts/tree/common-3.0.0/charts/common
[2.5.1]: https://github.com/k8s-at-home/charts/tree/common-2.5.1/charts/common [2.5.1]: https://github.com/k8s-at-home/charts/tree/common-2.5.1/charts/common
[2.5.0]: https://github.com/k8s-at-home/charts/tree/common-2.5.0/charts/common [2.5.0]: https://github.com/k8s-at-home/charts/tree/common-2.5.0/charts/common

View File

@ -2,7 +2,8 @@ apiVersion: v2
name: common name: common
description: Function library for k8s-at-home charts description: Function library for k8s-at-home charts
type: library type: library
version: 2.5.1 version: 3.0.0
kubeVersion: ">=1.16.0"
keywords: keywords:
- k8s-at-home - k8s-at-home
- common - common

View File

@ -98,10 +98,10 @@ probes:
## The spec field contains the values for the default livenessProbe. ## The spec field contains the values for the default livenessProbe.
## If you selected custom: true, this field holds the definition of the livenessProbe. ## If you selected custom: true, this field holds the definition of the livenessProbe.
spec: spec:
initialDelaySeconds: 30 initialDelaySeconds: 0
failureThreshold: 5
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 10 timeoutSeconds: 1
failureThreshold: 3
readiness: readiness:
enabled: true enabled: true
@ -110,22 +110,23 @@ probes:
## The spec field contains the values for the default readinessProbe. ## The spec field contains the values for the default readinessProbe.
## If you selected custom: true, this field holds the definition of the readinessProbe. ## If you selected custom: true, this field holds the definition of the readinessProbe.
spec: spec:
initialDelaySeconds: 30 initialDelaySeconds: 0
failureThreshold: 5
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 10 timeoutSeconds: 1
failureThreshold: 3
startup: startup:
enabled: false enabled: true
## Set this to true if you wish to specify your own startupProbe ## Set this to true if you wish to specify your own startupProbe
custom: false custom: false
## The spec field contains the values for the default startupProbe. ## The spec field contains the values for the default startupProbe.
## If you selected custom: true, this field holds the definition of the startupProbe. ## If you selected custom: true, this field holds the definition of the startupProbe.
spec: spec:
initialDelaySeconds: 5 initialDelaySeconds: 0
timeoutSeconds: 1
## This means it has a maximum of 5*30=150 seconds to start up before it fails
periodSeconds: 5
failureThreshold: 30 failureThreshold: 30
periodSeconds: 10
timeoutSeconds: 10
service: service:
enabled: true enabled: true