Skip to content
logo
Percona Operator for MySQL
Install with Helm
Initializing search
    percona/k8sps-docs
    percona/k8sps-docs
    • Welcome
      • Design and architecture
      • Install with Helm
        • Pre-requisites
        • Installation
        • Installing Percona Server for MySQL with customized parameters
      • Install on Minikube
      • System Requirements
      • Install on Google Kubernetes Engine (GKE)
      • Install on Amazon Elastic Kubernetes Service (AWS EKS)
      • Generic Kubernetes installation
      • Backup and restore
      • Application and system users
      • Anti-affinity and tolerations
      • Labels and annotations
      • Changing MySQL Options
      • Exposing the cluster
      • Transport Encryption (TLS/SSL)
      • Telemetry
      • Horizontal and vertical scaling
      • Monitor with Percona Monitoring and Management (PMM)
      • Add sidecar containers
      • Monitor Kubernetes
      • Custom Resource options
      • Percona certified images
      • Copyright and licensing information
      • Trademark policy
      • Release notes index
      • Percona Operator for MySQL 0.5.0 (2023-03-30)
      • Percona Operator for MySQL 0.4.0 (2023-01-30)
      • Percona Operator for MySQL 0.3.0 (2022-09-29)
      • Percona Operator for MySQL 0.2.0 (2022-06-30)
      • Percona Distribution for MySQL Operator based on Percona Server for MySQL 0.1.0 (2022-01-25)

    • Pre-requisites
    • Installation
    • Installing Percona Server for MySQL with customized parameters

    Install Percona Server for MySQL using Helm¶

    Helm is the package manager for Kubernetes. Percona Helm charts can be found in percona/percona-helm-charts repository on Github.

    Pre-requisites¶

    Install Helm following its official installation instructions.

    Note

    Helm v3 is needed to run the following steps.

    Installation¶

    1. Add the Percona’s Helm charts repository and make your Helm client up to date with it:
    $ helm repo add percona https://percona.github.io/percona-helm-charts/
    $ helm repo update
    
    1. Install the Percona Operator for MySQL:
    $ helm install my-op percona/ps-operator
    

    The my-op parameter in the above example is the name of a new release object which is created for the Operator when you install its Helm chart (use any name you like).

    !!! note

       If nothing explicitly specified, `helm install` command will work
       with `default` namespace. To use different namespace, provide it with
       the following additional parameter: `--namespace my-namespace`.
    
    1. Install Percona Server for MySQL:
    $ helm install my-db percona/ps-db
    

    The my-db parameter in the above example is the name of a new release object which is created for the Percona Server for MySQL when you install its Helm chart (use any name you like).

    Installing Percona Server for MySQL with customized parameters¶

    The command above installs Percona Server for MySQL with default parameters. Custom options can be passed to a helm install command as a --set key=value[,key=value] argument. The options passed with a chart can be any of the Custom Resource options.

    The following example will deploy a Percona Server for MySQL in the my-namespace namespace, with disabled backups and 20 Gi storage:

    $ helm install my-db percona/ps-db \
      --set mysql.volumeSpec.pvc.resources.requests.storage=20Gi \
      --set backup.enabled=false
    

    Contact Us

    For free technical help, visit the Percona Community Forum.

    To report bugs or submit feature requests, open a JIRA ticket.

    For paid support and managed or consulting services , contact Percona Sales.


    Last update: 2023-08-31
    Percona LLC and/or its affiliates, © 2009 - 2023
    Made with Material for MkDocs

    Cookie consent

    We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better. Read more about Percona Cookie Policy.