MySQL
mysql/standalone
Single-node MySQL deployment for Kubernetes
Deploys a single-node MySQL 9 instance into a local Kind cluster with host access on port 30306.
Install gck#
go install github.com/gravitee-io-labs/gck@latest
For other installation methods, see Installation .
Usage#
Create#
gck create --from mysql/standalone
Cleanup#
gck delete
Quick Start#
Connect from your host:
mysql -h 127.0.0.1 -P 30306 -u root -pmysql gravitee
| Parameter | Value |
|---|---|
| Database | gravitee |
| User | root |
| Password | mysql |
Endpoints
Services this context exposes on your machine after gck create, including the ones it inherits from the contexts it composes. Rows marked with a flag only exist when you pass it.
| Service | URL | Notes | From |
|---|---|---|---|
| MySQL | localhost:30306 | mysql/standalone |
Variables
Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.
| Variable | Default | Origin | Description |
|---|---|---|---|
clusterName | mysql-standalone | mysql/standalone | Name of the Kind cluster |
imageRepository | mysql | mysql/standalone | MySQL Docker image repository |
imageTag | 9 | mysql/standalone | MySQL Docker image tag |
mysqlDatabase | gravitee | mysql/standalone | Database to create on first startup |