infra4talos/apps-kustomized/whoogle/service.yaml

25 lines
512 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
annotations:
external-dns.alpha.kubernetes.io/hostname: whoogle.martyn.berlin
name: whoogle
namespace: whoogle
spec:
allocateLoadBalancerNodePorts: true
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: http
nodePort: 31740
port: 80
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/name: whoogle
sessionAffinity: None
type: LoadBalancer