-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Helm] Fix admin-cache max connections (#7632) * [Helm] Fix admin-cache max connections * Enable caches in enterprise test * Enable only the admin cache * Fix typo * Push updated tests * rebase main and add back all caches * Update CHANGELOG (cherry picked from commit f377ac3) * Update version and release notes * helm-docs * Rebuild helm tests
- Loading branch information
1 parent
94f63ad
commit 86a63fb
Showing
22 changed files
with
827 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...e-configmap-values-generated/mimir-distributed/templates/admin-cache/admin-cache-pdb.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
# Source: mimir-distributed/templates/admin-cache/admin-cache-pdb.yaml | ||
apiVersion: policy/v1beta1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: test-enterprise-configmap-values-mimir-admin-cache | ||
labels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: admin-cache | ||
app.kubernetes.io/managed-by: Helm | ||
namespace: "citestns" | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: admin-cache | ||
maxUnavailable: 1 |
100 changes: 100 additions & 0 deletions
100
...map-values-generated/mimir-distributed/templates/admin-cache/admin-cache-statefulset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
--- | ||
# Source: mimir-distributed/templates/admin-cache/admin-cache-statefulset.yaml | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: test-enterprise-configmap-values-mimir-admin-cache | ||
labels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: memcached | ||
app.kubernetes.io/managed-by: Helm | ||
annotations: | ||
{} | ||
namespace: "citestns" | ||
spec: | ||
podManagementPolicy: Parallel | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: admin-cache | ||
updateStrategy: | ||
type: RollingUpdate | ||
serviceName: test-enterprise-configmap-values-mimir-admin-cache | ||
|
||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/component: admin-cache | ||
annotations: | ||
minio-secret-version: "42" | ||
|
||
spec: | ||
serviceAccountName: test-enterprise-configmap-values-mimir | ||
securityContext: | ||
fsGroup: 10001 | ||
runAsGroup: 10001 | ||
runAsNonRoot: true | ||
runAsUser: 10001 | ||
seccompProfile: | ||
type: RuntimeDefault | ||
initContainers: | ||
[] | ||
nodeSelector: | ||
{} | ||
affinity: | ||
{} | ||
|
||
tolerations: | ||
[] | ||
terminationGracePeriodSeconds: 60 | ||
containers: | ||
- name: memcached | ||
image: memcached:1.6.22-alpine | ||
imagePullPolicy: IfNotPresent | ||
resources: | ||
limits: null | ||
requests: null | ||
ports: | ||
- containerPort: 11211 | ||
name: client | ||
args: | ||
- -m 64 | ||
- --extended=modern,track_sizes | ||
- -I 1m | ||
- -c 16384 | ||
- -v | ||
- -u 11211 | ||
env: | ||
envFrom: | ||
- secretRef: | ||
name: mimir-minio-secret | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
capabilities: | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: true | ||
- name: exporter | ||
image: prom/memcached-exporter:v0.14.2 | ||
imagePullPolicy: IfNotPresent | ||
ports: | ||
- containerPort: 9150 | ||
name: http-metrics | ||
args: | ||
- "--memcached.address=localhost:11211" | ||
- "--web.listen-address=0.0.0.0:9150" | ||
resources: | ||
limits: {} | ||
requests: {} | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
capabilities: | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: true |
30 changes: 30 additions & 0 deletions
30
...ap-values-generated/mimir-distributed/templates/admin-cache/admin-cache-svc-headless.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# Source: mimir-distributed/templates/admin-cache/admin-cache-svc-headless.yaml | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: test-enterprise-configmap-values-mimir-admin-cache | ||
labels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: admin-cache | ||
app.kubernetes.io/managed-by: Helm | ||
annotations: | ||
{} | ||
namespace: "citestns" | ||
spec: | ||
type: ClusterIP | ||
clusterIP: None | ||
ports: | ||
- name: memcached-client | ||
port: 11211 | ||
targetPort: 11211 | ||
|
||
- name: http-metrics | ||
port: 9150 | ||
targetPort: 9150 | ||
|
||
selector: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: admin-cache |
19 changes: 19 additions & 0 deletions
19
...configmap-values-generated/mimir-distributed/templates/chunks-cache/chunks-cache-pdb.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
# Source: mimir-distributed/templates/chunks-cache/chunks-cache-pdb.yaml | ||
apiVersion: policy/v1beta1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: test-enterprise-configmap-values-mimir-chunks-cache | ||
labels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: chunks-cache | ||
app.kubernetes.io/managed-by: Helm | ||
namespace: "citestns" | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: chunks-cache | ||
maxUnavailable: 1 |
100 changes: 100 additions & 0 deletions
100
...p-values-generated/mimir-distributed/templates/chunks-cache/chunks-cache-statefulset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
--- | ||
# Source: mimir-distributed/templates/chunks-cache/chunks-cache-statefulset.yaml | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: test-enterprise-configmap-values-mimir-chunks-cache | ||
labels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: memcached | ||
app.kubernetes.io/managed-by: Helm | ||
annotations: | ||
{} | ||
namespace: "citestns" | ||
spec: | ||
podManagementPolicy: Parallel | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: chunks-cache | ||
updateStrategy: | ||
type: RollingUpdate | ||
serviceName: test-enterprise-configmap-values-mimir-chunks-cache | ||
|
||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/component: chunks-cache | ||
annotations: | ||
minio-secret-version: "42" | ||
|
||
spec: | ||
serviceAccountName: test-enterprise-configmap-values-mimir | ||
securityContext: | ||
fsGroup: 10001 | ||
runAsGroup: 10001 | ||
runAsNonRoot: true | ||
runAsUser: 10001 | ||
seccompProfile: | ||
type: RuntimeDefault | ||
initContainers: | ||
[] | ||
nodeSelector: | ||
{} | ||
affinity: | ||
{} | ||
|
||
tolerations: | ||
[] | ||
terminationGracePeriodSeconds: 60 | ||
containers: | ||
- name: memcached | ||
image: memcached:1.6.22-alpine | ||
imagePullPolicy: IfNotPresent | ||
resources: | ||
limits: null | ||
requests: null | ||
ports: | ||
- containerPort: 11211 | ||
name: client | ||
args: | ||
- -m 8192 | ||
- --extended=modern,track_sizes | ||
- -I 1m | ||
- -c 16384 | ||
- -v | ||
- -u 11211 | ||
env: | ||
envFrom: | ||
- secretRef: | ||
name: mimir-minio-secret | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
capabilities: | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: true | ||
- name: exporter | ||
image: prom/memcached-exporter:v0.14.2 | ||
imagePullPolicy: IfNotPresent | ||
ports: | ||
- containerPort: 9150 | ||
name: http-metrics | ||
args: | ||
- "--memcached.address=localhost:11211" | ||
- "--web.listen-address=0.0.0.0:9150" | ||
resources: | ||
limits: {} | ||
requests: {} | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
capabilities: | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: true |
30 changes: 30 additions & 0 deletions
30
...-values-generated/mimir-distributed/templates/chunks-cache/chunks-cache-svc-headless.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# Source: mimir-distributed/templates/chunks-cache/chunks-cache-svc-headless.yaml | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: test-enterprise-configmap-values-mimir-chunks-cache | ||
labels: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: chunks-cache | ||
app.kubernetes.io/managed-by: Helm | ||
annotations: | ||
{} | ||
namespace: "citestns" | ||
spec: | ||
type: ClusterIP | ||
clusterIP: None | ||
ports: | ||
- name: memcached-client | ||
port: 11211 | ||
targetPort: 11211 | ||
|
||
- name: http-metrics | ||
port: 9150 | ||
targetPort: 9150 | ||
|
||
selector: | ||
app.kubernetes.io/name: mimir | ||
app.kubernetes.io/instance: test-enterprise-configmap-values | ||
app.kubernetes.io/component: chunks-cache |
Oops, something went wrong.