Skip to content

gateway-service.yaml

Download gateway-service.yaml as it is.

deploy/kubernetes/gateway-service.yaml
# The admin API of the gateway pods (9090), inside the cluster only: for the
# setup Job and `hourctl`. Never expose it with the device ports
# (devices-service.yaml). Ready pods only, so hourctl reaches one that takes
# work. The pods reach each other directly at their POD_IP for the live
# views, not through this Service.
apiVersion: v1
kind: Service
metadata:
name: houradvantage-gateway
labels:
app.kubernetes.io/name: houradvantage
app.kubernetes.io/component: gateway
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: houradvantage
app.kubernetes.io/component: gateway
ports:
- name: admin
port: 9090
targetPort: admin