externalName doesn't work for nginx-ingress-controller 😢
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
6dcf16062a
commit
d0b926e949
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: discovery.k8s.io/v1
|
||||||
|
kind: EndpointSlice
|
||||||
|
metadata:
|
||||||
|
name: jellyfin-1
|
||||||
|
labels:
|
||||||
|
kubernetes.io/service-name: jellyfin
|
||||||
|
addressType: IPv4
|
||||||
|
ports:
|
||||||
|
- name: ''
|
||||||
|
appProtocol: http
|
||||||
|
protocol: TCP
|
||||||
|
port: 8096
|
||||||
|
endpoints:
|
||||||
|
- addresses:
|
||||||
|
- "10.32.58.244"
|
|
@ -3,5 +3,7 @@ apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: jellyfin
|
name: jellyfin
|
||||||
spec:
|
spec:
|
||||||
type: ExternalName
|
ports:
|
||||||
externalName: remote-jelly.cluster-ingress.svc.cluster.local
|
- protocol: tcp
|
||||||
|
port: 8096
|
||||||
|
targetPort: 8096
|
||||||
|
|
Loading…
Reference in New Issue