Add mysql cluster operator and rbac in sample

This commit is contained in:
2022-01-14 10:33:35 +07:00
parent e7e44fdee3
commit e103078eab
4 changed files with 133 additions and 0 deletions

15
mysql/mysql-cluster.yaml Normal file
View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Namespace
metadata:
name: mysql
---
apiVersion: mysql.oracle.com/v2alpha1
kind: InnoDBCluster
metadata:
name: mysql-cluster
namespace: mysql
spec:
secretName: mysql-secret
instances: 3
router:
instances: 1