Skip to content

K8SPXC1535 - Update PXC operator chart for 1.17.0 release #503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 14, 2025
8 changes: 4 additions & 4 deletions charts/pxc-db/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: v2
appVersion: 1.16.1
appVersion: 1.17.0
description: A Helm chart for installing Percona XtraDB Cluster Databases using the PXC Operator.
name: pxc-db
home: https://www.percona.com/doc/kubernetes-operator-for-pxc/kubernetes.html
version: 1.16.2
version: 1.17.0
maintainers:
- name: spron-in
email: sergey.pronin@percona.com
- name: eleo007
email: eleonora.zinchenko@percona.com
- name: nmarukovich
email: [email protected]
- name: jvpasinatto
Expand Down
52 changes: 32 additions & 20 deletions charts/pxc-db/README.md

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions charts/pxc-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,10 @@ spec:
{{- if $pmm.proxysqlParams }}
proxysqlParams: {{ $pmm.proxysqlParams }}
{{- end }}
readinessProbes:
{{ tpl ($pmm.readinessProbes | toYaml) $ | indent 6 }}
livenessProbes:
{{ tpl ($pmm.livenessProbes | toYaml) $ | indent 6 }}
resources:
requests:
{{ tpl ($pmm.resources.requests | toYaml) $ | indent 8 }}
Expand All @@ -524,6 +528,12 @@ spec:
{{- if $backup.activeDeadlineSeconds }}
activeDeadlineSeconds: {{ $backup.activeDeadlineSeconds }}
{{- end }}
{{- if $backup.startingDeadlineSeconds }}
startingDeadlineSeconds: {{ $backup.startingDeadlineSeconds }}
{{- end }}
{{- if $backup.suspendedDeadlineSeconds }}
suspendedDeadlineSeconds: {{ $backup.suspendedDeadlineSeconds }}
{{- end }}
{{- if $backup.serviceAccountName }}
serviceAccountName: {{ $backup.serviceAccountName }}
{{- end }}
Expand Down
26 changes: 20 additions & 6 deletions charts/pxc-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ annotations: {}

operatorImageRepository: percona/percona-xtradb-cluster-operator

crVersion: 1.16.1
crVersion: 1.17.0

enableVolumeExpansion: false

Expand All @@ -29,7 +29,7 @@ ignoreLabels: []
# - rack
pause: false
# initContainer:
# image: "percona/percona-xtradb-cluster-operator:1.16.1"
# image: "percona/percona-xtradb-cluster-operator:1.17."
# containerSecurityContext:
# privileged: false
# runAsUser: 1001
Expand Down Expand Up @@ -214,7 +214,7 @@ pxc:
haproxy:
enabled: true
size: 3
image: percona/haproxy:2.8.11
image: percona/haproxy:2.8.14
# imagePullPolicy: Always
imagePullSecrets: []
# - name: private-registry-credentials
Expand Down Expand Up @@ -345,7 +345,6 @@ haproxy:
successThreshold: 1
failureThreshold: 4
# exposePrimary:
# enabled: false
# type: ClusterIP
# annotations:
# service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
Expand Down Expand Up @@ -533,7 +532,7 @@ proxysql:

logcollector:
enabled: true
image: percona/percona-xtradb-cluster-operator:1.16.1-logcollector-fluentbit3.2.2
image: percona/percona-xtradb-cluster-operator:1.17.0-logcollector-fluentbit4.0.0
# imagePullPolicy: Always
imagePullSecrets: []
# configuration: |
Expand Down Expand Up @@ -577,6 +576,17 @@ pmm:
tag: 2.44.0
# imagePullPolicy: Always
imagePullSecrets: []
# readinessProbes:
# initialDelaySeconds: 15
# timeoutSeconds: 15
# periodSeconds: 30
# successThreshold: 1
# failureThreshold: 5
# livenessProbes:
# initialDelaySeconds: 300
# timeoutSeconds: 5
# periodSeconds: 10
# successThreshold: 1
serverHost: monitoring-service
serverUser: admin
# pxcParams: "--disable-tablestats-limit=2000"
Expand All @@ -594,9 +604,11 @@ backup:
# allowParallel: true
image:
repository: percona/percona-xtradb-cluster-operator
tag: 1.16.1-pxc8.0-backup-pxb8.0.35
tag: 1.17.0-pxc8.0-backup-pxb8.0.35
# backoffLimit: 6
# activeDeadlineSeconds: 3600
# startingDeadlineSeconds: 300
# suspendedDeadlineSeconds: 1200
# serviceAccountName: percona-xtradb-cluster-operator
# imagePullPolicy: Always
imagePullSecrets: []
Expand Down Expand Up @@ -694,6 +706,8 @@ backup:
# container: test
# endpointUrl: https://accountName.blob.core.windows.net
# storageClass: Hot
# blockSize: 4194304
# concurrency: 4

schedule: []
# - name: "daily-backup"
Expand Down
8 changes: 4 additions & 4 deletions charts/pxc-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: v2
appVersion: 1.16.1
appVersion: 1.17.0
description: A Helm chart for deploying the Percona Operator for MySQL (based on Percona XtraDB Cluster)
name: pxc-operator
home: https://docs.percona.com/percona-operator-for-mysql/pxc/
version: 1.16.1
version: 1.17.0
maintainers:
- name: nmarukovich
email: [email protected]
- name: spron-in
email: sergey.pronin@percona.com
- name: eleo007
email: eleonora.zinchenko@percona.com
- name: jvpasinatto
email: [email protected]
icon: https://artifacthub.io/image/0b8875cd-6661-4269-9cf6-0fd92d59017b@1x
6 changes: 3 additions & 3 deletions charts/pxc-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Useful links
* [Operator Documentation](https://www.percona.com/doc/kubernetes-operator-for-pxc/index.html)

## Pre-requisites
* Kubernetes 1.28+
* Kubernetes 1.29+
* Helm v3

# Installation
Expand All @@ -19,14 +19,14 @@ To install the chart with the `pxc` release name using a dedicated namespace (re

```sh
helm repo add percona https://percona.github.io/percona-helm-charts/
helm install my-operator percona/pxc-operator --version 1.16.1 --namespace my-namespace
helm install my-operator percona/pxc-operator --version 1.17.0 --namespace my-namespace
```

The chart can be customized using the following configurable parameters:

| Parameter | Description | Default |
| ------------------------------- | -----------------------------------------------------------------------------------------------| -------------------------------------------------|
| `image` | PXC Operator Container image full path | `percona/percona-xtradb-cluster-operator:1.16.1` |
| `image` | PXC Operator Container image full path | `percona/percona-xtradb-cluster-operator:1.17.0` |
| `imagePullPolicy` | PXC Operator Container pull policy | `Always` |
| `containerSecurityContext` | PXC Operator Container securityContext | `{}` |
| `imagePullSecrets` | PXC Operator Pod pull secret | `[]` |
Expand Down
Loading