Skip to content

Support Tiller installs in clusters with Windows nodes #2420

Closed

Description

@seanknox

Now that nodes can run Windows or Linux, we can no longer assume Tiller will be scheduled to a Linux node.

On such clusters, helm init often fails when the Tiller pod is scheduled to a Windows node. Perhaps we could hardcode a node selector with beta.kubernetes.io/os=linux as an easy workaround?

Activity

  1. thomastaylor312 commented on May 9, 2017

    @thomastaylor312
    Contributor

    Good catch @seanknox. I'll label this as a bug and see if we can get in a temporary fix and figure out a longer term one as well.

  2. added this to the 2.4.2 - Fixes milestone on May 9, 2017
  3. pedershk commented on May 15, 2017

    @pedershk

    Following this as I've attempted and failed to install Tiller on a mixed-node cluster. Can provide logs etc. if you need it.

  4. technosophos commented on May 17, 2017

    @technosophos
    Member

    @seanknox Is that label the right one for node selection?

  5. seanknox commented on May 17, 2017

    @seanknox
    ContributorAuthor

    I think so. Will doublecheck.

  6. seanknox commented on May 17, 2017

    @seanknox
    ContributorAuthor
  7. kfox1111 commented on May 26, 2017

    @kfox1111

    if --node-selectors was available, that could be used too. you would label your nodes that helm could land on, or use an existing label for controller nodes. That would pin them away from windows computes.

  8. thomastaylor312 commented on May 31, 2017

    @thomastaylor312
    Contributor

    So do we want to wait for --node-selectors to be implemented or do we still want a quick fix with a hard-coded annotation?

  9. seanknox commented on May 31, 2017

    @seanknox
    ContributorAuthor

    What's the timeline for node selectors? If it's > 1 month I'd advocate for taking on a teeny bit of tech debt with hard coding now with for the benefit of bringing a slew of very hungry Helm users in the short term.

  10. thomastaylor312 commented on May 31, 2017

    @thomastaylor312
    Contributor

    I am waiting to hear back on #2299, if it doesn't look like it will land in 2.5, I will implement this fix

  11. tesharp commented on May 31, 2017

    @tesharp

    Was just trying a mixed cluster aswell, and ran into this. Would be nice with a quick fix

  12. bacongobbler commented on Jun 4, 2017

    @bacongobbler
    Member

    When I'm at my desktop tomorrow, I'll give you a set of manifests which you can use to install v2.4.2 on a mixed node cluster via kubectl. helm init is more or less just a call to kubectl create plus some client-side bootstrapping.

  13. technosophos commented on Jun 5, 2017

    @technosophos
    Member

    @thomastaylor312 I think we should do a quick fix for this in 2.4.3 or 2.4.4. It should just be a matter of adding the right line in the cmd/helm/installer setup for that Deployment.

  14. thomastaylor312 commented on Jun 5, 2017

    @thomastaylor312
    Contributor

    I can do that tonight @technosophos

  15. added a commit that references this issue on Jun 6, 2017
    8a0e051
  16. rong0312 commented on Sep 15, 2019

    @rong0312

    Is this issue still no fixed?
    I am facing this issue with the image

    gcr.io/kubernetes-helm/tiller:v2.14.3

  17. bacongobbler commented on Sep 15, 2019

    @bacongobbler
    Member

    This was implemented over 2 years ago in #2544. Can you share more information in a new ticket please?

    Also note that since tiller has been removed in Helm 3, this is no longer an issue in the next major release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions