Kubernetes 的 MySQL Operator 手册  /  MySQL InnoDB 集群

第 3 章 MySQL InnoDB 集群

示例和文档假设使用当前默认命名空间,默认为“default”,但可以修改,例如

$> kubectl create namespace newdefaultnamespace
$> kubectl config set-context --current --namespace=newdefaultnamespace

示例通常使用“innodbcluster”作为资源名称,但可以使用 deploy-crds.yaml 中定义的复数和短名称

 names:
    kind: InnoDBCluster
    listKind: InnoDBClusterList
    singular: innodbcluster
    plural: innodbclusters
    shortNames:
      - ic
      - ics