infra4talos/apps-kustomized/esphome/service.yaml

16 lines
290 B
YAML
Raw Permalink Normal View History

apiVersion: v1
kind: Service
metadata:
name: esphome
annotations:
external-dns.alpha.kubernetes.io/hostname: esphome.martyn.berlin
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/name: esphome
type: LoadBalancer