GithubHelp home page GithubHelp logo

Comments (9)

danielsand avatar danielsand commented on July 18, 2024

side note:

node.Spec.ProviderID

is not set on the cluster nodes under 1.11.x

from cloud-provider-aws.

varuns-zetaris avatar varuns-zetaris commented on July 18, 2024

Is there any solution to this issue. We are also facing the same problem when running k8s in AWS . I am trying under 1.12.x and still fails . Have added the required tags to worker and master in aws - kubernetes.io/cluster/ = owned . In logs of kubelet on worker it says the node registered successfully. However in controller manager the log says "node did not have ProvierID set"

from cloud-provider-aws.

ArchiFleKs avatar ArchiFleKs commented on July 18, 2024

I had the same issue, are you using v1alpha3 ?

Here is my InitConfig :

---
apiVersion: kubeadm.k8s.io/v1alpha3
kind: InitConfiguration
nodeRegistration:
  criSocket: /run/containerd/containerd.sock
  kubeletExtraArgs:
    cloud-provider: "aws"

It turns out that it is not use by the node, you need a JoinConfiguration:

apiVersion: kubeadm.k8s.io/v1alpha3
discoveryTokenAPIServers:
- 127.0.0.1:6443
discoveryTokenUnsafeSkipCAVerification: true
kind: JoinConfiguration
nodeRegistration:
  criSocket: /run/containerd/containerd.sock
  kubeletExtraArgs:
    cloud-provider: "aws"

Mine was missing the AWS cloud provider therefore node were not using it and were not getting providerID.

from cloud-provider-aws.

danielsand avatar danielsand commented on July 18, 2024

@ArchiFleKs thanks - that is a good hint.
I will try it out

from cloud-provider-aws.

darwin67 avatar darwin67 commented on July 18, 2024

hit this issue as well and confirmed that adding cloud-provider: aws to node's kubelet args will resolve it

from cloud-provider-aws.

fejta-bot avatar fejta-bot commented on July 18, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from cloud-provider-aws.

fejta-bot avatar fejta-bot commented on July 18, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

from cloud-provider-aws.

fejta-bot avatar fejta-bot commented on July 18, 2024

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

from cloud-provider-aws.

k8s-ci-robot avatar k8s-ci-robot commented on July 18, 2024

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from cloud-provider-aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.