github.com/grafana/pyroscope@v1.18.0/operations/pyroscope/jsonnet/values-micro-services-hpa.json (about) 1 { 2 "minio": { 3 "enabled": true 4 }, 5 "pyroscope": { 6 "components": { 7 "compactor": { 8 "kind": "StatefulSet", 9 "persistence": { 10 "enabled": false 11 }, 12 "replicaCount": 3, 13 "resources": { 14 "limits": { 15 "memory": "16Gi" 16 }, 17 "requests": { 18 "cpu": 1, 19 "memory": "8Gi" 20 } 21 }, 22 "terminationGracePeriodSeconds": 1200 23 }, 24 "distributor": { 25 "autoscaling": { 26 "enabled": true, 27 "minReplicas": 2 28 }, 29 "kind": "Deployment", 30 "replicaCount": 2, 31 "resources": { 32 "limits": { 33 "memory": "1Gi" 34 }, 35 "requests": { 36 "cpu": "500m", 37 "memory": "256Mi" 38 } 39 } 40 }, 41 "ingester": { 42 "kind": "StatefulSet", 43 "replicaCount": 3, 44 "resources": { 45 "limits": { 46 "memory": "16Gi" 47 }, 48 "requests": { 49 "cpu": 1, 50 "memory": "8Gi" 51 } 52 }, 53 "terminationGracePeriodSeconds": 600 54 }, 55 "querier": { 56 "autoscaling": { 57 "behavior": { 58 "enabled": true, 59 "scaleDown": { 60 "stabilizationWindowSeconds": 60 61 } 62 }, 63 "enabled": true, 64 "maxReplicas": 4, 65 "minReplicas": 2, 66 "targetCPUUtilizationPercentage": null, 67 "targetMemoryUtilizationPercentage": 60 68 }, 69 "kind": "Deployment", 70 "replicaCount": 3, 71 "resources": { 72 "limits": { 73 "memory": "1Gi" 74 }, 75 "requests": { 76 "cpu": 1, 77 "memory": "256Mi" 78 } 79 } 80 }, 81 "query-frontend": { 82 "autoscaling": { 83 "enabled": true, 84 "maxReplicas": 4, 85 "minReplicas": 2, 86 "targetCPUUtilizationPercentage": null, 87 "targetMemoryUtilizationPercentage": 60 88 }, 89 "kind": "Deployment", 90 "replicaCount": 2, 91 "resources": { 92 "limits": { 93 "memory": "1Gi" 94 }, 95 "requests": { 96 "cpu": "100m", 97 "memory": "256Mi" 98 } 99 } 100 }, 101 "query-scheduler": { 102 "autoscaling": { 103 "enabled": true, 104 "maxReplicas": 4, 105 "minReplicas": 2, 106 "targetCPUUtilizationPercentage": 40 107 }, 108 "kind": "Deployment", 109 "replicaCount": 2, 110 "resources": { 111 "limits": { 112 "memory": "1Gi" 113 }, 114 "requests": { 115 "cpu": "100m", 116 "memory": "256Mi" 117 } 118 } 119 }, 120 "store-gateway": { 121 "kind": "StatefulSet", 122 "persistence": { 123 "enabled": false 124 }, 125 "readinessProbe": { 126 "initialDelaySeconds": 60 127 }, 128 "replicaCount": 3, 129 "resources": { 130 "limits": { 131 "memory": "16Gi" 132 }, 133 "requests": { 134 "cpu": 1, 135 "memory": "8Gi" 136 } 137 } 138 } 139 }, 140 "extraArgs": { 141 "store-gateway.sharding-ring.replication-factor": "3" 142 } 143 } 144 }