zammad-docker-compose/kubernetes/80_svc.yaml

112 lines
1.6 KiB
YAML
Raw Normal View History

2017-10-24 13:57:42 +00:00
---
kind: Service
apiVersion: v1
metadata:
name: zammad
2017-10-24 13:57:42 +00:00
namespace: zammad
labels:
app: zammad
component: services
2017-10-24 13:57:42 +00:00
spec:
ports:
- name: railsserver
port: 3000
- name: websocket
port: 6042
2017-10-24 13:57:42 +00:00
selector:
app: zammad
component: services
2017-10-24 13:57:42 +00:00
type: NodePort
2017-10-24 13:57:42 +00:00
---
kind: Service
apiVersion: v1
metadata:
name: zammad-elasticsearch
namespace: zammad
labels:
app: elasticsearch
component: searchindex
2017-10-24 13:57:42 +00:00
spec:
ports:
- name: elasticsearch
port: 9200
selector:
app: elasticsearch
component: searchindex
2017-10-24 13:57:42 +00:00
type: NodePort
2017-10-24 13:57:42 +00:00
---
kind: Service
apiVersion: v1
metadata:
name: zammad-memcached
2017-10-24 13:57:42 +00:00
namespace: zammad
labels:
app: memcached
component: cache
2017-10-24 13:57:42 +00:00
spec:
ports:
- name: memcached
port: 11211
2017-10-24 13:57:42 +00:00
selector:
app: memcached
component: cache
2017-10-24 13:57:42 +00:00
type: NodePort
2017-10-24 13:57:42 +00:00
---
kind: Service
apiVersion: v1
metadata:
name: zammad-nfs
2017-10-24 13:57:42 +00:00
namespace: zammad
labels:
app: nfs
component: networkstorage
2017-10-24 13:57:42 +00:00
spec:
ports:
- name: nfsserver
port: 2049
- name: rpc
port: 111
2017-10-24 13:57:42 +00:00
selector:
app: nfs
component: networkstorage
2017-10-24 13:57:42 +00:00
type: NodePort
2017-10-24 13:57:42 +00:00
---
kind: Service
apiVersion: v1
metadata:
name: zammad-nginx
namespace: zammad
labels:
app: nginx
component: webserver
2017-10-24 13:57:42 +00:00
spec:
ports:
- name: nginx
port: 80
selector:
app: nginx
component: webserver
2017-11-20 22:59:01 +00:00
type: NodePort
2017-11-20 22:59:01 +00:00
---
kind: Service
apiVersion: v1
metadata:
name: zammad-postgresql
2017-11-20 22:59:01 +00:00
namespace: zammad
labels:
app: postgresql
component: database
2017-11-20 22:59:01 +00:00
spec:
ports:
- name: postgresql
port: 5432
2017-11-20 22:59:01 +00:00
selector:
app: postgresql
component: database
2017-11-20 22:59:01 +00:00
type: NodePort