https://dagster.io/ logo
#ask-community
Title
# ask-community
d

David Choy

04/03/2022, 5:02 AM
Hi all. I been getting error when running with helm on describing multiple ports (80, 43) for dagit service.
Copy code
dagit:
  replicaCount: 1
  image:
    # When a tag is not supplied for a Dagster provided image,
    # it will default as the Helm chart version.
    repository: "<http://docker.io/dagster/dagster-celery-k8s|docker.io/dagster/dagster-celery-k8s>"
    tag: ~
    pullPolicy: Always

  service:
    type: LoadBalancer
    # Defines the port where Dagit will serve requests; if changed, don't forget to update the
    # livenessProbe and startupProbe entries below as well.
    httpPorts:
        port: 80
        targetPort: http
    httpsPorts:
        port: 443
        targetPort: https
I get this error. Error: UPGRADE FAILED: values don't meet the specifications of the schema(s) in the following chart(s): dagster: - dagit.service: Additional property httpPorts is not allowed - dagit.service: Additional property httpsPorts is not allowed Please advise.
The reason for this setup is because I need to call dagster through dagster-graphql from Google Cloud Function. My goal is as describe within this document (skip creating DNS and calling directly Dagster graphql through port 443): https://medium.com/google-cloud/calling-an-internal-gke-service-from-cloud-functions-2958f9218355
j

johann

04/04/2022, 4:36 PM
Hi David, what is the goal? To serve Dagit on multiple ports?
If you’re looking to add more endpoints to the dagit service, you could • Modify the service created by the helm chart using something like Kustomize • Create a separate service with your desired spec pointing at the same Dagit pods
d

David Choy

04/04/2022, 7:44 PM
Hi @johann I'll try that and get back to you shortly. Thanks
Hi @johann I figured it out on my own. thanks
👍 1
4 Views