-
Notifications
You must be signed in to change notification settings - Fork 41
Move examples
to file reference. Add real examples (GitLab, MySql, Wordpress, etc.)
#136
Comments
Good point about adding those examples, I have no strong opinions on where they should reside as long as we have simple examples that help people to learn the concept, configuration and tooling and also have "real world" examples that you are talking about. And these should be clearly pointed out in the readme. |
I don't think that examples should reside in /docs/spec. They are examples that have nothing to do with spec. I think that /docs/examples is right place for it |
What @cdrage says also makes sense that we should have examples that show real world examples and what @kadel said also makes that these shortcut specific examples should not be in spec. I propose that we create following directory structure: ✔ ~/go/src/github.com/kedgeproject/kedge/examples [master L|✚ 34…38]
17:21 $ tree
.
├── real
│ ├── etherpad
│ │ └── app.yaml
│ ├── gitlab
│ │ └── app.yaml
│ ├── mattermost
│ │ └── app.yaml
│ └── wordpress
│ └── app.yaml
└── usage
├── all
│ ├── db.yaml
│ ├── README.md
│ └── web.yaml
├── allnomagic
│ ├── db.yaml
│ ├── README.md
│ └── web.yaml
├── configmap
│ ├── db.yaml
│ ├── README.md
│ └── web.yaml
├── customVol
│ ├── db.yaml
│ ├── README.md
│ └── web.yaml
├── envFrom
│ ├── db.yaml
|
I don't know if I said that :D I actually thing that spec should contain partial examples (snippets) highlighting how shortcuts are typically used. Example directory should contain only examples of real applications. I would actually remove everything that you have put in 'usage' directory. |
|
I think, I said this in another issue but let me try to phrase this correctly. We should have two examples:
I think that is what @kadel is saying exactly that. Hope this clarifies my point. |
The first part ("Move |
Examples have mostly been added to http://kedgeproject.org/file-reference/ although, it would be nice to have an #430 examples page. |
I think we can close this now. Anyone else agree @kadel @pradeepto ? |
The examples we currently use: https://github.com/kedgeproject/kedge/tree/master/examples reflect similarly to how we define our artifacts via the file reference doc.
Examples should show-case real-world deployments.
Our "current' examples should be moved to a different "spec" or "file reference" folder.
I suggest we move these examples to /docs/spec or a better-named folder and then add real-world examples such as GitLab, Cassandra, ElasticSearch, etc, similar to: https://github.com/kubernetes/kubernetes/tree/master/examples
The text was updated successfully, but these errors were encountered: