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

helm chart? #207

Open
driekus77 opened this issue Mar 11, 2024 · 5 comments
Open

helm chart? #207

driekus77 opened this issue Mar 11, 2024 · 5 comments

Comments

@driekus77
Copy link

I couldnot find a kubernetes helm chart for pg_tileserv so wrote one myself.

Is there already a helm chart that I overlooked? If not are you interested in a PR?

Thanks for pg_tileserv!

@pramsey
Copy link
Collaborator

pramsey commented Mar 11, 2024

I don't know what a helm chart is, so...?

@driekus77
Copy link
Author

More info at https://helm.sh/

Its easy to install and uninstall multiple kubernetes entities. Sort of a layer over kubernetes its own yaml.

@driekus77
Copy link
Author

Currently I have this setup:

.
├── Chart.yaml
├── install.sh
├── templates
│   ├── _helpers.tpl
│   ├── configmap.yaml
│   ├── ingress.yaml
│   ├── pods.yaml
│   ├── secrets.yaml
│   └── service.yaml
└── values.yaml

The install.sh is optional the rest is mandatory more or less.

pg_tileserv can be deployed using this command:

helm install  --create-namespace --namespace=tileserv  pgtileserv .

And an uninstall is done through this command:

helm uninstall --namespace=tileserv pgtileserv 

The values.yaml file contains all user specific settings like db password etc.

The pod.yaml uses the latest docker image of pg_tileserv.

@driekus77
Copy link
Author

driekus77 commented Mar 11, 2024

Nicest thing is install can also be done remote. This means the Chart.yaml files need to be served somewhere.

This can be a public location independed of CrunchyData like:

Or you create a CrunchyData helm chart git repo that serves multi helm charts for e.g. pg_tileserv or pg_featureserv?
Example: https://github.com/kartoza/charts/tree/develop/charts

Or you create a charts folder in your git repo per product.

@driekus77
Copy link
Author

In your postgresoperator repo I found kustomize files:
https://www.kubecost.com/kubernetes-devops-tools/kustomize-vs-helm/

So helm can be used as alternative and/or add-on for kustomize...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants