OSPC-1927: memcached epoxy changes#1452
Open
manojacloud wants to merge 2 commits intorackerlabs:Epoxyfrom
Open
OSPC-1927: memcached epoxy changes#1452manojacloud wants to merge 2 commits intorackerlabs:Epoxyfrom
manojacloud wants to merge 2 commits intorackerlabs:Epoxyfrom
Conversation
285f050 to
9b79b94
Compare
awfabian-rs
reviewed
Mar 23, 2026
| memcached: | ||
| timeout: 30 | ||
| replicas: | ||
| server: 1 |
Contributor
There was a problem hiding this comment.
looks like base-kustomize/memcached/base/hpa.yaml HPA will immediately have to kick this to 2 to hit minReplicas
awfabian-rs
requested changes
Mar 23, 2026
Contributor
There was a problem hiding this comment.
commented that replicas should probably be '2' so HPA doesn't immediately have to kick in and fix it
I tried a helm dry run and modified the replica in the overrides.
the rendered HPA object says:
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: memcached
namespace: openstack
spec:
maxReplicas: 9
metrics:
- resource:
name: cpu
target:
averageUtilization: 80
type: Utilization
type: Resource
- resource:
name: memory
target:
averageUtilization: 80
type: Utilization
type: Resource
minReplicas: 2
scaleTargetRef:
apiVersion: apps/v1
kind: StatefulSet
name: memcached-memcached
Then the original statefulset with the replicas: 1, then after I changed it to replicas: 2:
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations:
openstackhelm.openstack.org/release_uuid: ""
labels:
app.kubernetes.io/component: server
app.kubernetes.io/instance: memcached
app.kubernetes.io/name: memcached
application: memcached
component: server
release_group: memcached
name: memcached-memcached
spec:
podManagementPolicy: Parallel
replicas: 1
apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations:
openstackhelm.openstack.org/release_uuid: ""
labels:
app.kubernetes.io/component: server
app.kubernetes.io/instance: memcached
app.kubernetes.io/name: memcached
application: memcached
component: server
release_group: memcached
name: memcached-memcached
spec:
podManagementPolicy: Parallel
replicas: 2
selector:
9b79b94 to
2cd9ce1
Compare
…ck-helm chart instead of bitnami for memcached
2cd9ce1 to
cbb1794
Compare
cbb1794 to
2c87f98
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Key changes:
genestack/base-helm-configs/memcached/memcached-helm-overrides.yaml
Lines 135 to 138 in 3499bd5
genestack/base-helm-configs/memcached/memcached-helm-overrides.yaml
Lines 133 to 134 in 3499bd5
genestack/base-helm-configs/memcached/memcached-helm-overrides.yaml
Lines 131 to 132 in 065150e
Validation:
root@hyperconverged-103-0:~# helm get metadata memcached -n openstack
NAME: memcached
CHART: memcached
VERSION: 2025.2.2+c31cd6c96
APP_VERSION: v1.5.5
ANNOTATIONS:
DEPENDENCIES: helm-toolkit
NAMESPACE: openstack
REVISION: 1
STATUS: deployed
DEPLOYED_AT: 2026-03-19T13:45:54Z
root@hyperconverged-103-0:~# kubectl exec memcached-memcached-0 -n openstack -ti -- bash
Defaulted container "memcached" out of: memcached, init (init)
nobody@memcached-memcached-0:/$ memcached --version
memcached 1.6.32
root@hyperconverged-103-0:~# kubectl run tmp --rm -it --image=busybox -n openstack -- sh
/ # echo stats | nc memcached.openstack.svc.cluster.local 11211 | egrep 'max_connections|threads|limit_maxbytes'
STAT max_connections 4096
STAT limit_maxbytes 3221225472
STAT threads 8
echo stats settings | nc memcached.openstack.svc.cluster.local 11211 | grep item_size_max
STAT item_size_max 4194304