Skip to content

Commit

Permalink
Update resource requests
Browse files Browse the repository at this point in the history
  • Loading branch information
metalmatze committed Nov 12, 2019
1 parent bfa985e commit 20861be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ spec:
cpu: 64m
memory: 128Mi
requests:
cpu: 32m
memory: 32Mi
cpu: 10m
memory: 24Mi
serviceAccount: thanos-receive-controller
2 changes: 1 addition & 1 deletion jsonnet/lib/thanos-receive-controller.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
container.withEnv([
env.fromFieldPath('NAMESPACE', 'metadata.namespace'),
]) +
container.mixin.resources.withRequests({ cpu: '32m', memory: '32Mi' }) +
container.mixin.resources.withRequests({ cpu: '10m', memory: '24Mi' }) +
container.mixin.resources.withLimits({ cpu: '64m', memory: '128Mi' }) +
container.withPorts(
containerPort.newNamed(8080, 'http')
Expand Down

0 comments on commit 20861be

Please sign in to comment.