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

Demo Folder? #158

Closed
alexcurtin opened this issue Aug 22, 2017 · 5 comments
Closed

Demo Folder? #158

alexcurtin opened this issue Aug 22, 2017 · 5 comments

Comments

@alexcurtin
Copy link

Hi Shopify,

I am trying to get started using this tool but would love an example or demo folder with sample app, template and template erb to hit the ground running. Is this something that exists in another repo?

@KnVerey
Copy link
Contributor

KnVerey commented Aug 23, 2017

Hi @alexcurtin! A demo folder isn't something we have right now. However, our test fixtures might be able to provide what you're looking for. The main fixture set at test/fixtures/hello-cloud contains examples of most of the resource types the tool currently handles. That said, kubernetes-deploy uses regular Kubernetes manifests, so you could also try it with whatever you might already have on hand for your own apps.

Hope that helps. 😄

@Raffo
Copy link

Raffo commented Jul 5, 2018

+1 on this, it's kind of hard to figure out how to do it without a demo folder, especially multi-environments setup (test, prod for example).

@KnVerey
Copy link
Contributor

KnVerey commented Jul 13, 2018

@Raffo did you have a chance to take a look at our test/fixtures/hello-cloud template set as suggested above? It's basically a sample app with a wide variety of simple resources using publicly available images. We could mention that in our readme if it is useful; otherwise I'd be interested to know more specifics on what you need help with. 😃

Re: multi-environment, kubernetes-deploy doesn't really have an opinion so long as you end up with a single directory of configuration files for it to process. One strategy we use internally is to store common files in one place and use symlinks to include them in the actual deploy directories. kubernetes-deploy provides ERB templating as a convenience, but our focus is on improving the deploy experience rather than the template management story. Since we are based on plain Kubernetes configuration files, we're highly composable with other tooling in the ecosystem that focuses on solutions for generating those files from other/simpler formats.

@Raffo
Copy link

Raffo commented Jul 16, 2018

Thanks for the answer!

I took a look and the folder is actually quite helpful, I think that I link in the README would be a good addition.

I was looking for a full solution for multiple environments so I expected to see multiple folders and more "composable" or complex examples. For example, even a folder with simlinks or just additional documentation would have helped me figure out the details around multiple environments setup (I am still unsure if simlinks would be right for my case, but that's another story 😄 ).

@KnVerey
Copy link
Contributor

KnVerey commented Jan 9, 2019

Added this to our generic documentation issue: #105

@KnVerey KnVerey closed this as completed Jan 9, 2019
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

3 participants