Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy helm chart from ecr failed #670

Open
xjbdjay opened this issue Apr 20, 2023 · 10 comments
Open

deploy helm chart from ecr failed #670

xjbdjay opened this issue Apr 20, 2023 · 10 comments
Labels
kind/bug Something isn't working
Milestone

Comments

@xjbdjay
Copy link
Contributor

xjbdjay commented Apr 20, 2023

What happened:

image

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Clusternet version: 0.15
    • Clusternet-agent version (user clusternet-agent --version=json):
    • Clusternet-hub version (user clusternet-hub --version=json):
  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Others:
@xjbdjay xjbdjay added the kind/bug Something isn't working label Apr 20, 2023
@xjbdjay
Copy link
Contributor Author

xjbdjay commented Apr 20, 2023

however, I use the username and password in the ecr secret to login successfully.
image

@xjbdjay xjbdjay changed the title deploy helm chart from ecr failed with no credentials deploy helm chart from ecr failed Apr 20, 2023
@xjbdjay
Copy link
Contributor Author

xjbdjay commented Apr 21, 2023

@dixudx do u have examples to deploy helm chart from private ecr repo?

@xjbdjay
Copy link
Contributor Author

xjbdjay commented Apr 24, 2023

It seems controller-manager found the chart. But there was nothing happened. @dixudx Does helm chart is related to subscription? how to schedule the chart to specific cluster?
image
image

@dixudx
Copy link
Member

dixudx commented Apr 24, 2023

Does helm chart is related to subscription? how to schedule the chart to specific cluster?

Same with other resources, like deployments, services, etc. Please follow the example here, where you can learn how to declare a HelmChart and add it as a feed of Subscription. You can specify your cluster affinity rules that match your desired clusters.

@xjbdjay
Copy link
Contributor Author

xjbdjay commented Apr 24, 2023

Does helm chart is related to subscription? how to schedule the chart to specific cluster?

Same with other resources, like deployments, services, etc. Please follow the example here, where you can learn how to declare a HelmChart and add it as a feed of Subscription. You can specify your cluster affinity rules that match your desired clusters.

image

I followed the example. There is nothing happen too.

image

@xjbdjay
Copy link
Contributor Author

xjbdjay commented Apr 24, 2023

Does helm chart is related to subscription? how to schedule the chart to specific cluster?

Same with other resources, like deployments, services, etc. Please follow the example here, where you can learn how to declare a HelmChart and add it as a feed of Subscription. You can specify your cluster affinity rules that match your desired clusters.

image

I followed the example. There is nothing happen too.
image

I used the static subscription and happend nothing. But the example replication functioned. I don't know why.

FYI, the exist code has some issues about authentication of private oci repo. I added some login code so it worked.
Do u think it need to login private repo? @dixudx

@dixudx
Copy link
Member

dixudx commented Apr 24, 2023

FYI, the exist code has some issues about authentication of private oci repo. I added some login code so it worked.
Do u think it need to login private repo?

Please help solve this. Good job. @xjbdjay

@xjbdjay
Copy link
Contributor Author

xjbdjay commented Apr 24, 2023

okay, I will give a pr to solve this.

@dixudx dixudx added this to the v0.16.0 milestone Apr 24, 2023
@dixudx
Copy link
Member

dixudx commented Jun 8, 2023

@xjbdjay Any progress on the PR?

@dixudx dixudx modified the milestones: v0.16.0, v0.17.0 Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants