diff --git a/CHANGELOG.md b/CHANGELOG.md index aa69878..2430932 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.8.33 (2023-07-25) + +* Enable skipping default cpu limits in `Values.resources.deployment.resources` +* Add custom settings for `minReadySeconds` and `terminationGracePeriodSeconds` + ## 0.8.32 (2023-07-14) * Support imgproxy v3.18.2 diff --git a/Readme.md b/Readme.md index 4e6c660..bf54fb5 100644 --- a/Readme.md +++ b/Readme.md @@ -375,6 +375,7 @@ Deployment specific options. |**resources.pod.labels**|Custom labels for imgproxy pods|`{}`| |**resources.deployment.readinessProbe**|Timeouts and counters for the readiness probe|| |**resources.deployment.livenessProbe**|Timeouts and counters for the liveness probe|| +|**resources.deployment.minReadySeconds**|Minimum ready seconds for the statement set|| |**resources.deployment.nodeSelector**|A node selector labels|| |**resources.deployment.priority.name**|The name of the priority class|| |**resources.deployment.priority.level**|The level of the pod priority|`0`| @@ -392,6 +393,7 @@ Deployment specific options. |**resources.deployment.replicas.cpuUtilization**|The target percentage for the average CPU utilization by pods after which they should be scaled.|`80`| |**resources.deployment.resources**|Hash of resource limits for your pods|`{}`| |**resources.deployment.securityContext**|Hash of security context settings for your pods|`{}`| +|**resources.deployment.terminationGracePeriodSeconds**|A custom amount of time to terminate the app|`30`| |**resources.deployment.tolerations**|Tolerations for Kubernetes taints|| |**resources.deployment.topologySpreadConstraints**|topologySpreadConstraints for distributing pods across zones|`[]`| |**resources.serviceAccount.existingName**|The name of an existing service account to be used by deployments|``| diff --git a/imgproxy/Chart.yaml b/imgproxy/Chart.yaml index 199d41f..6fc410c 100644 --- a/imgproxy/Chart.yaml +++ b/imgproxy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: A fast and secure standalone server for resizing and converting remote images. The main principles of imgproxy are simplicity, speed, and security. name: imgproxy icon: https://cdn.rawgit.com/imgproxy/imgproxy/master/logo.svg -version: 0.8.32 +version: 0.8.33 appVersion: 3.18.2 keywords: - imgproxy diff --git a/imgproxy/README.md b/imgproxy/README.md index 611fbf7..8cc8258 100644 --- a/imgproxy/README.md +++ b/imgproxy/README.md @@ -412,6 +412,7 @@ Deployment specific options. |**resources.pod.labels**|Custom labels for imgproxy pods| `{}` | |**resources.deployment.readinessProbe**|Timeouts and counters for the readiness probe|| |**resources.deployment.livenessProbe**|Timeouts and counters for the liveness probe|| +|**resources.deployment.minReadySeconds**|Minimum ready seconds for the statement set|| |**resources.deployment.nodeSelector**|A node selector labels|| |**resources.deployment.priority.name**|The name of the priority class|| |**resources.deployment.priority.level**|The level of the pod priority| `0` | @@ -429,6 +430,7 @@ Deployment specific options. |**resources.deployment.replicas.cpuUtilization**|The target percentage for the average CPU utilization by pods after which they should be scaled.| `80` | |**resources.deployment.resources**|Hash of resource limits for your pods| `{}` | |**resources.deployment.securityContext**|Hash of security context settings for your pods|`{}`| +|**resources.deployment.terminationGracePeriodSeconds**|A custom amount of time to terminate the app|`30`| |**resources.deployment.tolerations**|Tolerations for Kubernetes taints|| |**resources.deployment.topologySpreadConstraints**|Topology spread constraints for distributing pods across zones|`[]`| |**resources.serviceAccount.existingName**|The name of an existing service account to be used by deployments|``| diff --git a/imgproxy/values.yaml b/imgproxy/values.yaml index 4400006..5757f8f 100644 --- a/imgproxy/values.yaml +++ b/imgproxy/values.yaml @@ -113,6 +113,7 @@ resources: # Set kubernetes specific resource limits. # We claim `cpu: 1` for both limits and requests by default. + # To skip these defaults, set `cpu: ~` explicitly. resources: {} # limits: # cpu: 700m @@ -135,6 +136,11 @@ resources: successThreshold: 1 failureThreshold: 5 + # The minimum number of seconds for which a newly created pod should be ready + # without any of its containers crashing, for it to be considered available. + # It is set to 0 by default. + minReadySeconds: ~ + # A security context defines privilege and access control settings for the deployment. # Check available settings in the documentation by link: # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ @@ -142,6 +148,11 @@ resources: # allowPrivilegeEscalation: false # runAsNonRoot: true + # A custom amount of time (in seconds) to terminate the app after pre-stop hook is called, + # or a TERM signal is received. + # It is set to `30` seconds by default. + terminationGracePeriodSeconds: ~ + # List names of the custom secrets with env variables to be added # from the external resources (like Vault, AWS etc.) #