Skip to content

Commit

Permalink
Merge pull request #95 from wujie1993/fix-bucket-port
Browse files Browse the repository at this point in the history
jsonnet: fix bucket port
  • Loading branch information
brancz committed Feb 10, 2020
2 parents 42f10c5 + 0e527cf commit bede412
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/all/manifests/thanos-bucket-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ spec:
failureThreshold: 4
httpGet:
path: /-/healthy
port: 8080
port: 10902
scheme: HTTP
periodSeconds: 30
name: thanos-bucket
ports:
- containerPort: 8080
- containerPort: 10902
name: http
readinessProbe:
failureThreshold: 20
httpGet:
path: /-/ready
port: 8080
port: 10902
scheme: HTTP
periodSeconds: 5
terminationGracePeriodSeconds: 120
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-bucket-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
ports:
- name: http
port: 8080
port: 10902
targetPort: http
selector:
app.kubernetes.io/component: object-store-bucket-debugging
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-bucket.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
service.new(
tb.config.name,
tb.config.podLabelSelector,
[ports.newNamed('http', 8080, 'http')],
[ports.newNamed('http', 10902, 'http')],
) +
service.mixin.metadata.withNamespace(tb.config.namespace) +
service.mixin.metadata.withLabels(tb.config.commonLabels),
Expand Down

0 comments on commit bede412

Please sign in to comment.