diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-03-20 15:47:51 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-03-20 15:47:51 +0100 |
commit | e2c7b1305ca8495065dcf40fd2092d7c698dd6ea (patch) | |
tree | abcaa7006a9c4b7a9add9bd0bf8c24f7f8ce048f /setup/projects/adei/templates/40-mysql-svc.yml.j2 | |
parent | 47f350bc3aa85a8bd406d95faf084df2abf74ae9 (diff) | |
download | ands-e2c7b1305ca8495065dcf40fd2092d7c698dd6ea.tar.gz ands-e2c7b1305ca8495065dcf40fd2092d7c698dd6ea.tar.bz2 ands-e2c7b1305ca8495065dcf40fd2092d7c698dd6ea.tar.xz ands-e2c7b1305ca8495065dcf40fd2092d7c698dd6ea.zip |
Local volumes and StatefulSet to provision Master/Slave MySQL and Galera cluster
Diffstat (limited to 'setup/projects/adei/templates/40-mysql-svc.yml.j2')
-rw-r--r-- | setup/projects/adei/templates/40-mysql-svc.yml.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/setup/projects/adei/templates/40-mysql-svc.yml.j2 b/setup/projects/adei/templates/40-mysql-svc.yml.j2 new file mode 100644 index 0000000..6263966 --- /dev/null +++ b/setup/projects/adei/templates/40-mysql-svc.yml.j2 @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Template +metadata: + name: "mysql-service" +objects: + - apiVersion: v1 + kind: Service + metadata: + name: mysql + spec: + selector: + service: mysql + ports: + - name: "mysql" + port: 3306 + targetPort: 3306 |