Micke
1c192c41fd
This is the minumum needed to run a multinode customer in kubernetes. Each customer will run in their own namespace with a nextcloud container and a redis container. There is a proxysql cluster running in its own namespace, used by all customer. This is a monorepo that uses kustomize to allow using this repo for both prod and test (and other things we can think of in the future).
34 lines
570 B
YAML
34 lines
570 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: multinode-db1
|
|
namespace: proxysql
|
|
spec:
|
|
type: ExternalName
|
|
externalName: multinode-db1.drive.test.sunet.se
|
|
ports:
|
|
- port: 3306
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: multinode-db2
|
|
namespace: proxysql
|
|
spec:
|
|
type: ExternalName
|
|
externalName: multinode-db2.drive.test.sunet.se
|
|
ports:
|
|
- port: 3306
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: multinode-db3
|
|
namespace: proxysql
|
|
spec:
|
|
type: ExternalName
|
|
externalName: multinode-db3.drive.test.sunet.se
|
|
ports:
|
|
- port: 3306
|