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
ParameterValue
Databasegravitee
Userroot
Passwordmysql

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.

ServiceURLNotesFrom
MySQLlocalhost:30306mysql/standalone

Variables

Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.

VariableDefaultOriginDescription
clusterNamemysql-standalonemysql/standaloneName of the Kind cluster
imageRepositorymysqlmysql/standaloneMySQL Docker image repository
imageTag9mysql/standaloneMySQL Docker image tag
mysqlDatabasegraviteemysql/standaloneDatabase to create on first startup