Skip to content

Commit 9e5b087

Browse files
authored
Merge pull request #539 from wallrj/remove-cpu-limit
[VC-32659] Remove the default CPU limit
2 parents c66e9e2 + 2c7b5be commit 9e5b087

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

deploy/charts/venafi-kubernetes-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ You should see the following events for your service account:
166166
| podDisruptionBudget.enabled | bool | `false` | Enable or disable the PodDisruptionBudget resource, which helps prevent downtime during voluntary disruptions such as during a Node upgrade. |
167167
| podSecurityContext | object | `{}` | Optional Pod (all containers) `SecurityContext` options, see https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod. |
168168
| replicaCount | int | `1` | default replicas, do not scale up |
169-
| resources | object | `{"limits":{"cpu":"500m","memory":"500Mi"},"requests":{"cpu":"200m","memory":"200Mi"}}` | Set custom resourcing settings for the pod. You may not want this if you intend to use a Vertical Pod Autoscaler. |
169+
| resources | object | `{"limits":{"memory":"500Mi"},"requests":{"cpu":"200m","memory":"200Mi"}}` | Set resource requests and limits for the pod. Read [Venafi Kubernetes components deployment best practices](https://docs.venafi.cloud/vaas/k8s-components/c-k8s-components-best-practice/#scaling) to learn how to choose suitable CPU and memory resource requests and limits. |
170170
| securityContext | object | `{"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":1000}` | Add Container specific SecurityContext settings to the container. Takes precedence over `podSecurityContext` when set. See https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container |
171171
| serviceAccount.annotations | object | `{}` | Annotations YAML to add to the service account |
172172
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |

deploy/charts/venafi-kubernetes-agent/values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,16 @@ securityContext:
6565
runAsNonRoot: true
6666
runAsUser: 1000
6767

68-
# -- Set custom resourcing settings for the pod. You may not want this if you intend to use a Vertical Pod Autoscaler.
68+
# -- Set resource requests and limits for the pod.
69+
#
70+
# Read [Venafi Kubernetes components deployment best practices](https://docs.venafi.cloud/vaas/k8s-components/c-k8s-components-best-practice/#scaling)
71+
# to learn how to choose suitable CPU and memory resource requests and limits.
6972
resources:
7073
requests:
7174
memory: 200Mi
7275
cpu: 200m
7376
limits:
7477
memory: 500Mi
75-
cpu: 500m
7678

7779
# -- Embed YAML for nodeSelector settings, see https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/
7880
nodeSelector: {}

0 commit comments

Comments
 (0)