apiVersion: v1
kind: Service
metadata:
  name: topic-gateway
  labels:
    app: sk8s
    component: topic-gateway
spec:
  type: NodePort
  ports:
  - port: 80
    name: http
    targetPort: 8080
  - port: 443
    name: https
    targetPort: 8443
  selector:
    component: topic-gateway
