Files
Kubernetes-Manifests/arrstack/arrstack-vpn-services-endpointslice.yaml

39 lines
793 B
YAML

# 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