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

Agones helm repo #285

Closed
cyriltovena opened this issue Jul 11, 2018 · 15 comments
Closed

Agones helm repo #285

cyriltovena opened this issue Jul 11, 2018 · 15 comments
Labels
area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. kind/feature New features for Agones
Milestone

Comments

@cyriltovena
Copy link
Collaborator

We could setup a chart repository to streamline installation.

See:
https://github.com/kubernetes/helm/blob/master/docs/chart_repository.md

Possible options :

  • Google Cloud Storage.
  • Github pages.

Once this is done installation step would be:

helm repo add agones our_repo_url
helm install agones/agones
@markmandel
Copy link
Member

Ooh! I love this idea - I need to read up on this, but maybe this will also make installing dev versions of Agones easier as well.

We have the domain agones.dev - we can likely do a charts.agones.dev or something similar.

@cyriltovena cyriltovena added kind/feature New features for Agones area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. labels Jul 11, 2018
@cyriltovena
Copy link
Collaborator Author

cyriltovena commented Sep 6, 2018

I ‘m thinking to add a google cloud storage bucket agones-charts with a backend (load balancer) to redirect to https://agones.dev/helm.

Then we add all previous releases to the bucket. We also add a step to push a release( helm package + helm repo index + gcs copy) in the release make target.

Finally we should update the release and installation process documentation, the later should be

helm repo add agones https://agones.dev/helm
helm install agones/agones 

That should install the latest version (user can also see the list of version using helm repo list)

Question: does agones/agones feels right ?

@markmandel
Copy link
Member

I wonder if we even need the load balancer. I already run an app-engine app at agones.dev - so we could just modify that to serve out of the GCS bucket.

Maybe through: https://github.com/google/weasel even?

@markmandel
Copy link
Member

(I mentioned this on chat)

Right now the source for the app-engine app is closed, but I could easily put it in a /site folder -- there's nothing special in it.

Also,, re: agones/agones - I think that is fine. Maybe down the line, we'll have other packages 🤷‍♂️

@cyriltovena
Copy link
Collaborator Author

This is ready to test see my branch:

cyriltovena@af17eed

I've added 3 targets (one to package the chart, one push and one to push a specific version).

Once this is tested I would update doc and do-release target.

@markmandel
Copy link
Member

@Kuqd - Just to confirm - I need to create a redirect from agones.dev/chart/stable to https://storage.googleapis.com/agones-chart/ ?

@cyriltovena
Copy link
Collaborator Author

yes please !

@markmandel
Copy link
Member

@Kuqd I've setup a redirect from http://agones.dev/chart/stable to https://storage.googleapis.com/agones-chart/

I don't know if I'll need to redirect certain file requests, I've just done the singular path. Let me know how testing goes.

@cyriltovena
Copy link
Collaborator Author

everything under the bucket should be curlable such as

curl https://agones.dev/chart/stable/index.yaml
curl https://agones.dev/chart/stable/agones-0.2.0.tgz

@markmandel
Copy link
Member

Try now 😄

@cyriltovena
Copy link
Collaborator Author

We're all set:

helm repo add agones https://agones.dev/chart/stable/          
"agones" has been added to your repositories
 helm search agones                                            
NAME            CHART VERSION   APP VERSION     DESCRIPTION
agones/agones   0.4.0           0.4.0           a library for hosting, running and scaling dedi...

@markmandel
Copy link
Member

Awweessome. So what are next steps? Documentation?

@cyriltovena
Copy link
Collaborator Author

I have updated the documentation but repo doesn't work anymore. I wanted to add info on how to install a specific release.

@markmandel
Copy link
Member

Do I need to make any additional changes to make it so the repo works?

@cyriltovena
Copy link
Collaborator Author

hum it works on my work station but not at home ... I will investigate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. kind/feature New features for Agones
Projects
None yet
Development

No branches or pull requests

2 participants