cloud-provider-aws icon indicating copy to clipboard operation
cloud-provider-aws copied to clipboard

How to run “cloud-provider-aws” application in local test

Open CaiNiaoHui opened this issue 3 years ago • 5 comments

/triage support

I want to run the cloud-provider-aws 1.21.2 code in local for test. Now I am running the k8s cluster. And I have kube-config and aws account token stored in the local. I only set cloud-config parameters and --cloud-provider parameter, then I run "cloud-provider-aws" program. as you know, it failed. The error log is "no configuration has been provided, try setting KUBERNETES_MASTER environment variable". I have a question: What parameters do we need to configure if we need to run the application, and how should these parameters be set?

CaiNiaoHui avatar Jun 23 '22 03:06 CaiNiaoHui

@CaiNiaoHui: The label(s) triage/support cannot be applied, because the repository doesn't have them.

In response to this:

/triage support

I want to run the cloud-provider-aws 1.21.2 code in local for test. Now I am running the k8s cluster. And I have kube-config and aws account token stored in the local. I only set cloud-config parameters and --cloud-provider parameter, then I run "cloud-provider-aws" program. as you know, it failed. The error log is "no configuration has been provided, try setting KUBERNETES_MASTER environment variable". I have a question: What parameters do we need to configure if we need to run the application, and how should these parameters be set?

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.

k8s-ci-robot avatar Jun 23 '22 03:06 k8s-ci-robot

@CaiNiaoHui: This issue is currently awaiting triage.

If cloud-provider-aws contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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.

k8s-ci-robot avatar Jun 23 '22 03:06 k8s-ci-robot

I install "cloud-provider-aws" plugin into the cluster by official helm chart package. I find some parameters need to set : this is log: image

CaiNiaoHui avatar Jun 23 '22 03:06 CaiNiaoHui

Most of these flags should match the flags you set for kube-controller-manager.

olemarkus avatar Jun 23 '22 06:06 olemarkus

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Sep 21 '22 06:09 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Oct 21 '22 06:10 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-triage-robot avatar Nov 20 '22 07:11 k8s-triage-robot

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

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.

k8s-ci-robot avatar Nov 20 '22 07:11 k8s-ci-robot