Skip to content

Commit

Permalink
Add annotations for .spec.volumeClaimTemplate and clean up k127 for p…
Browse files Browse the repository at this point in the history
…roxies tests
  • Loading branch information
eleo007 committed Dec 23, 2024
1 parent 28e4de4 commit 16fbe8e
Show file tree
Hide file tree
Showing 14 changed files with 75 additions and 1,793 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
kind: PerconaXtraDBCluster
name: upgrade-haproxy
spec:
persistentVolumeClaimRetentionPolicy:
whenDeleted: Retain
whenScaled: Retain
podManagementPolicy: OrderedReady
replicas: 3
revisionHistoryLimit: 10
Expand Down Expand Up @@ -40,7 +43,11 @@ spec:
app.kubernetes.io/part-of: percona-xtradb-cluster
topologyKey: kubernetes.io/hostname
containers:
- env:
- args:
- haproxy
command:
- /opt/percona/haproxy-entrypoint.sh
env:
- name: PXC_SERVICE
value: upgrade-haproxy-pxc
- name: LIVENESS_CHECK_TIMEOUT
Expand Down Expand Up @@ -108,6 +115,8 @@ spec:
- /opt/percona/peer-list
- -on-change=/opt/percona/haproxy_add_pxc_nodes.sh
- -service=$(PXC_SERVICE)
command:
- /opt/percona/haproxy-entrypoint.sh
env:
- name: PXC_SERVICE
value: upgrade-haproxy-pxc
Expand All @@ -131,6 +140,8 @@ spec:
name: mysql-users-secret-file
- mountPath: /etc/mysql/haproxy-env-secret
name: upgrade-haproxy-env-vars-haproxy
- mountPath: /opt/percona
name: bin
dnsPolicy: ClusterFirst
initContainers:
- command:
Expand Down
Loading

0 comments on commit 16fbe8e

Please sign in to comment.