phpmyadmin
phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB.
About this chart
phpMyAdmin packaged by Bitnami
phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/phpmyadmin
Introduction
This chart bootstraps a phpMyAdmin deployment on a Kubernetes cluster using the Helm package manager.
As a portable web application written primarily in PHP, phpMyAdmin has become one of the most popular MySQL administration tools, especially for web hosting services.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.8+ with Beta APIs enabled
- Helm 3.2.0+
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release my-repo/phpmyadmin
The command deploys phpMyAdmin on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
commonLabels | Add labels to all the deployed resources | {} |
commonAnnotations | Add annotations to all the deployed resources | {} |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
phpMyAdmin parameters
| Name | Description | Value |
|---|---|---|
image.registry | phpMyAdmin image registry | docker.io |
image.repository | phpMyAdmin image repository | bitnami/phpmyadmin |
image.tag | phpMyAdmin image tag (immutable tags are recommended) | 5.2.0-debian-11-r58 |
image.digest | phpMyAdmin image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Enable phpmyadmin image debug mode | false |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
lifecycleHooks | for the phpmyadmin container(s) to automate configuration before or after startup | {} |
extraEnvVars | Extra environment variables to be set on PhpMyAdmin container | [] |
extraEnvVarsCM | Name of a existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of a existing Secret containing extra env vars | "" |
phpMyAdmin deployment parameters
| Name | Description | Value |
|---|---|---|
hostAliases | Deployment pod host aliases | [] |
containerPorts.http | HTTP port to expose at container level | 8080 |
containerPorts.https | HTTPS port to expose at container level | 8443 |
updateStrategy.type | Strategy to use to update Pods | RollingUpdate |
podSecurityContext.enabled | Enable phpMyAdmin pods' Security Context | true |
podSecurityContext.fsGroup | User ID for the container | 1001 |
containerSecurityContext.enabled | Enable phpMyAdmin containers' Security Context | true |
containerSecurityContext.runAsUser | Group ID for the volumes of the pod | 1001 |
containerSecurityContext.runAsNonRoot | Set phpmyadmin container's Security Context runAsNonRoot | true |
resources.limits | The resources limits for the PhpMyAdmin container | {} |
resources.requests | The requested resources for the PhpMyAdmin container | {} |
startupProbe.enabled | Enable startupProbe | false |
startupProbe.httpGet.path | Request path for startupProbe | / |
startupProbe.httpGet.port | Port for startupProbe | http |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 30 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 30 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 6 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.httpGet.path | Request path for livenessProbe | / |
livenessProbe.httpGet.port | Port for livenessProbe | http |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 30 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 30 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled | Enable readinessProbe | true |
readinessProbe.httpGet.path | Request path for readinessProbe | / |
readinessProbe.httpGet.port | Port for readinessProbe | http |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 30 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 30 |
readinessProbe.failureThreshold | Failure threshold for readinessProbe | 6 |
readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
customStartupProbe | Override default startup probe | {} |
customLivenessProbe | Override default liveness probe | {} |
customReadinessProbe | Override default readiness probe | {} |
podLabels | Extra labels for PhpMyAdmin pods | {} |
podAnnotations | Annotations for PhpMyAdmin pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
affinity | Affinity for pod assignment. Evaluated as a template. | {} |
nodeSelector | Node labels for pod assignment. Evaluated as a template. | {} |
tolerations | Tolerations for pod assignment. Evaluated as a template. |
Deploy phpmyadmin with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has phpmyadmin on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartphpmyadmin is pinned at v10.3.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply