Skip to content

Commit

Permalink
Merge pull request #96 from thanos-io/filter-pvc-empty-dir
Browse files Browse the repository at this point in the history
kube-thanos: Filter emptyDir instead of resetting volumes with PVC
  • Loading branch information
brancz committed Feb 11, 2020
2 parents bede412 + b9cff03 commit 6f490d7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-compact-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
name: data
readOnly: false
terminationGracePeriodSeconds: 120
volumes: null
volumes: []
volumeClaimTemplates:
- metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-receive-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
name: data
readOnly: false
terminationGracePeriodSeconds: 120
volumes: null
volumes: []
volumeClaimTemplates:
- metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-rule-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
- mountPath: /var/thanos/rule
name: data
readOnly: false
volumes: null
volumes: []
volumeClaimTemplates:
- metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-store-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
name: data
readOnly: false
terminationGracePeriodSeconds: 120
volumes: null
volumes: []
volumeClaimTemplates:
- metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-compact.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
spec+: {
template+: {
spec+: {
volumes: null,
volumes: std.filter(function(v) v.name != 'data', super.volumes),
},
},
volumeClaimTemplates: [tc.config.volumeClaimTemplate {
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-receive.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
spec+: {
template+: {
spec+: {
volumes: null,
volumes: std.filter(function(v) v.name != 'data', super.volumes),
},
},
volumeClaimTemplates: [tr.config.volumeClaimTemplate {
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-rule.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
spec+: {
template+: {
spec+: {
volumes: null,
volumes: std.filter(function(v) v.name != 'data', super.volumes),
},
},
volumeClaimTemplates: [tr.config.volumeClaimTemplate {
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-store.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
spec+: {
template+: {
spec+: {
volumes: null,
volumes: std.filter(function(v) v.name != 'data', super.volumes),
},
},
volumeClaimTemplates: [ts.config.volumeClaimTemplate {
Expand Down
2 changes: 1 addition & 1 deletion manifests/thanos-store-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
name: data
readOnly: false
terminationGracePeriodSeconds: 120
volumes: null
volumes: []
volumeClaimTemplates:
- metadata:
labels:
Expand Down

0 comments on commit 6f490d7

Please sign in to comment.