GitOps for k8s
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

flux-nodeport.yaml 537B

1234567891011121314151617181920
  1. ---
  2. # This defines a Kubernetes service for the Flux daemon, so you can
  3. # access it with `fluxctl`. It defines a NodePort, meaning Kubernetes
  4. # will assign a port to the service, on which it will be available on
  5. # each node (host in the cluster). You can find the assigned port by
  6. # doing something like
  7. #
  8. # kubectl get service flux --template '{{ index .spec.ports 0 "nodePort" }}'
  9. #
  10. apiVersion: v1
  11. kind: Service
  12. metadata:
  13. name: flux
  14. spec:
  15. type: NodePort
  16. ports:
  17. - port: 80
  18. targetPort: 3030
  19. selector:
  20. name: flux