Initial commit
This commit is contained in:
38
arrstack/arrstack-vpn-services-endpointslice.yaml
Normal file
38
arrstack/arrstack-vpn-services-endpointslice.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
# external-services-and-endpoints.yaml
|
||||
apiVersion: discovery.k8s.io/v1
|
||||
kind: EndpointSlice
|
||||
metadata:
|
||||
name: arr-stack-endpoints
|
||||
namespace: arrstack
|
||||
labels:
|
||||
kubernetes.io/service-name: arr-stack # This label now links to the Service
|
||||
addressType: IPv4
|
||||
ports:
|
||||
- name: qbittorrent-port
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
- name: prowlarr-port
|
||||
protocol: TCP
|
||||
port: 9696
|
||||
endpoints:
|
||||
- addresses:
|
||||
- "10.8.13.2"
|
||||
conditions:
|
||||
ready: true
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: arr-stack # Service name now matches the label
|
||||
namespace: arrstack
|
||||
spec:
|
||||
ports:
|
||||
- name: qbittorrent-port
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
- name: prowlarr-port
|
||||
protocol: TCP
|
||||
port: 9696
|
||||
targetPort: 9696
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user