mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Add Kubernetes configuration
This commit is contained in:
27
kubernetes/service.yaml
Normal file
27
kubernetes/service.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: restserver
|
||||
spec:
|
||||
selector:
|
||||
app: restserver
|
||||
ports:
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 7880
|
||||
targetPort: 7880
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: joex
|
||||
spec:
|
||||
selector:
|
||||
app: joex
|
||||
ports:
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 7878
|
||||
targetPort: 7878
|
||||
type: ClusterIP
|
Reference in New Issue
Block a user