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).
18 lines
247 B
YAML
18 lines
247 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
labels:
|
|
app: redis
|
|
name: redis
|
|
spec:
|
|
ports:
|
|
- name: redis-port
|
|
nodePort: 30379
|
|
port: 6379
|
|
protocol: TCP
|
|
targetPort: 6379
|
|
selector:
|
|
app: redis
|
|
type: NodePort
|