question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

helm deployment with `traefik.service.type=ClusterIP` fails

See original GitHub issue

What happened:

When I specify “ClusterIP” for the service type I get the error:

Unable to deploy helm chart: cannot patch "traefik-dask-gateway" with kind Service: Service "traefik-dask-gateway" is invalid: spec.ports[0].nodePort: Forbidden: may not be used when `type` is 'ClusterIP'

What you expected to happen:

Able to deploy with ClusterIP

Minimal Complete Verifiable Example:

Should be simple to recreate

Anything else we need to know?:

I would like to use dask-gateway with port forwarding for testing, until I get openid authentication figured out. In any case I probably would like to deploy behind ingress-nginx and do tls-termination there (with letsencrypt provided by cert-manager).

Environment:

  • cluster: EKS
  • Dask version: dask-gateway 0.8.0 (latest chart)
  • Python version:
  • Operating System:
  • Install method (conda, pip, source): helm
helm version
version.BuildInfo{Version:"v3.0.1", GitCommit:"7c22ef9ce89e0ebeb7125ba2ebf7d421f3e82ffa", GitTreeState:"clean", GoVersion:"go1.13.4"}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
shaunccommented, Aug 20, 2020

Ah cool – so with this in values.yaml:

      traefik:
        service:
          type: ClusterIP
          ports:
            web:
              nodePort: null
            tcp:
              nodePort: null

It deploys! 👍

NAME                           TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
service/api-dask-gateway       ClusterIP   172.20.66.129   <none>        8000/TCP   16h
service/traefik-dask-gateway   ClusterIP   172.20.129.93   <none>        80/TCP     19s

so that’s one half of the problem. Presumably just putting those nodePort settings as defaults in values.yaml should do the trick. [A confirmation about how to deploy a custom authenticator would be appreciated.]

0reactions
jcristcommented, Nov 4, 2020

Fixed by #305.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install And Configure Traefik Proxy with Helm
Learn how to install and configure Traefik Proxy using the official Helm chart and how to configure Traefik Proxy with Cloudflare.
Read more >
Can't Access Dashboard After Installing with Helm on ...
I would like to be able to access the dashboard app using the kubectl port-forward command from the Traefik Helm Chart. However, I...
Read more >
Install And Configure Traefik with Helm - Blog
In this tutorial, we will show you how to install and configure Traefik using the official Helm chart. We will also show you...
Read more >
Helm chart getting 404 on kubernetes - namespace issue ...
Hi all I just created a fresh kubernetes cluster and created a namespace called 'routing'. In here I created the latest traefik via...
Read more >
Traefik Proxy 2.x and Kubernetes 101
Traefik Helm chart deployment creates the following entrypoints : ... apiVersion: v1 kind: Service metadata: name: whoami namespace: dev spec: ports: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found