You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run build.sh
do a recursive grep for 27d, but this is not found
Surely this is a simple thing I'm overlooking, but I'm by no means an expert in jsonnet and the likes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've looked at the solution as per # #1395 regarding setting a longer retention for prometheus than the default 24h.
What I've done is:
jb update
edited example.jsonnet to look like the following:
``
prometheus+:: {
prometheus+: {
spec+: {
// If retention not specified, default will be '--storage.tsdb.retention=24h' passed to prometheus by prometheus-operator.
retention: '27d',
retentionSize: '8GB',
walCompression: true,
storage: {
volumeClaimTemplate: {
apiVersion: 'v1',
kind: 'PersistentVolumeClaim',
spec: {
accessModes: ['ReadWriteOnce'],
resources: { requests: { storage: '10Gi' } },
storageClassName: 'standard-encrypted',
}, // spec inner
}, // VolumeClaim
}, // storage
}, // spec outer
}, // prometheus inner
// namespaces: []
}, //Prometheus outer``
Beta Was this translation helpful? Give feedback.
All reactions