Require rgw host spread, add VPA, drop redundant setuser
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

This commit is contained in:
2026-11-15 19:57:09 +11:00
parent 8ca166a494
commit a08da880a9
4 changed files with 16 additions and 5 deletions
+1 -5
View File
@@ -46,7 +46,7 @@ spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: rgw
@@ -61,10 +61,6 @@ spec:
- ceph
- --name
- client.rgw.syd1
- --setuser
- ceph
- --setgroup
- ceph
ports:
- name: http
containerPort: 7480
+1
View File
@@ -10,3 +10,4 @@ resources:
- deployment.yaml
- service.yaml
- pdb.yaml
- vpa.yaml
@@ -1,4 +1,5 @@
---
# Seed kv/kubernetes/namespace/ceph-system/default/rgw-keyring field `keyring` with the client.rgw.syd1 keyring.
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
+13
View File
@@ -0,0 +1,13 @@
---
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: rgw-vpa
namespace: ceph-system
spec:
targetRef:
apiVersion: apps/v1
kind: Deployment
name: rgw
updatePolicy:
updateMode: "Off"