54 lines
914 B
YAML
54 lines
914 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nextcloud-apache
|
|
namespace: nextcloud
|
|
spec:
|
|
ports:
|
|
- port: 11000
|
|
targetPort: 11000
|
|
---
|
|
apiVersion: discovery.k8s.io/v1
|
|
kind: EndpointSlice
|
|
metadata:
|
|
name: nextcloud-apache
|
|
namespace: nextcloud
|
|
labels:
|
|
kubernetes.io/service-name: nextcloud-apache
|
|
addressType: IPv4
|
|
ports:
|
|
- port: 11000
|
|
protocol: TCP
|
|
endpoints:
|
|
- addresses:
|
|
- "192.168.88.100"
|
|
conditions:
|
|
ready: true
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nextcloud-aio
|
|
namespace: nextcloud
|
|
spec:
|
|
ports:
|
|
- port: 8888
|
|
targetPort: 8888
|
|
---
|
|
apiVersion: discovery.k8s.io/v1
|
|
kind: EndpointSlice
|
|
metadata:
|
|
name: nextcloud-aio
|
|
namespace: nextcloud
|
|
labels:
|
|
kubernetes.io/service-name: nextcloud-aio
|
|
addressType: IPv4
|
|
ports:
|
|
- port: 8888
|
|
protocol: TCP
|
|
endpoints:
|
|
- addresses:
|
|
- "192.168.88.100"
|
|
conditions:
|
|
ready: true
|