Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Update our main example #456

Merged
merged 1 commit into from
Nov 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ Why do people love Kedge?

```yaml
name: httpd

containers:
- image: centos/httpd

services:
- name: httpd
type: NodePort
ports:
- port: 8080
targetPort: 80
type: LoadBalancer
portMappings:
- 8080:80
```
{: .demo-code }

Expand Down
10 changes: 10 additions & 0 deletions examples/httpd/httpd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: httpd

containers:
- image: centos/httpd

services:
- name: httpd
type: LoadBalancer
portMappings:
- 8080:80