Skip to content

Commit

Permalink
Add readiness probe to distributor deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyriltovena committed Aug 5, 2019
1 parent f38fa2d commit 2464ee7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions production/ksonnet/loki/distributor.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
container.new('distributor', $._images.distributor) +
container.withPorts($.util.defaultPorts) +
container.withArgsMixin($.util.mapToFlags($.distributor_args)) +
container.mixin.readinessProbe.httpGet.withPath('/ready') +
container.mixin.readinessProbe.httpGet.withPort(80) +
container.mixin.readinessProbe.withInitialDelaySeconds(15) +
container.mixin.readinessProbe.withTimeoutSeconds(1) +
$.util.resourcesRequests('500m', '100Mi') +
$.util.resourcesLimits('1', '200Mi'),

Expand Down

0 comments on commit 2464ee7

Please sign in to comment.