-
Notifications
You must be signed in to change notification settings - Fork 40
Conversation
|
examples/wordpress/wordpres.yaml
Outdated
@@ -0,0 +1,33 @@ | |||
name: web |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: typo in file name - s/wordpres.yaml/wordpress.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx, fixed
Looks fine to me, will let @pradeepto do an LGTM wrt UX and structure. |
docs/examples/basic/README.md
Outdated
targetPort: 80 | ||
``` | ||
|
||
It is list of [service spec](https://kubernetes.io/docs/api-reference/v1.6/#servicespec-v1-core), which means that each app can have multiple services defined. Also see that ports are defined in the `services` field and not in the containers. You can choose to declare ports in the `containers.ports` as well but it is not required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is a list of
can contain multiple services defined
Ports are defined in the services filed but not in the container field
declare ports in
as well, but it is not required
examples/guestbook-demo/README.md
Outdated
|
||
# Guestbook demo | ||
|
||
This is demo application to show 3 tier web application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a demo application to show a 3-tier web application
examples/guestbook-demo/README.md
Outdated
This is demo application to show 3 tier web application. | ||
|
||
|
||
You can find more information https://github.com/kadel/guestbook-demo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can find more information at
examples/wordpress/README.md
Outdated
|
||
`mariadb.yaml` defines two Secrets (`database-root-password` and `database-user-password`) and one ConfigMap (`mariadb`). | ||
`wordprss.yaml` gets information on how to connect to database from `database-user-password` Secret and `mariadb` ConfigMap. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wordpress
thx @cdrage for looking at this everything that you pointed out should be fixed |
LGTM. Merge whenever! |
As discussed in #136 this splits examples directory into two parts.
docs/examples
Usage (spec) examples that are just showcasing Kedge features.
Those examples can sometimes use unnecessarily complicated constructs to highlight some of the Kedge features.
/examples
This should contain only real-world examples. It will become a library of Kedge Apps, where users can learn best practices from real examples. Those examples should use just constructs that make sense for given examples and keep the definition as clean as possible.