Skip to content

Commit

Permalink
Examples description
Browse files Browse the repository at this point in the history
  • Loading branch information
coufalja committed Jun 13, 2018
1 parent 480719a commit ca82250
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# git2kube - Git to K8s ConfigMap
# git2kube - From Git to Kubernetes
[![Build Status](https://travis-ci.org/WanderaOrg/git2kube.svg?branch=master)](https://travis-ci.org/WanderaOrg/git2kube)
[![Docker Build Status](https://img.shields.io/docker/build/wanderadock/git2kube.svg)](https://hub.docker.com/r/wanderadock/git2kube/)
Expand All @@ -17,6 +17,9 @@ Tool for syncing git with Kubernetes.
* Ability to synchronise git into target folder using symlinks (suitable for sidecar deployments)
* SSH key and Basic auth

### Quickstart
Check out [example](example) folder that should get you started.

### Docker repository
The tool is released as docker image as well, check the [repository](https://hub.docker.com/r/wanderadock/git2kube/).

Expand Down
26 changes: 26 additions & 0 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## CronJob
* [cronjob.yaml](cronjob.yaml)
* Deploy git2kube as a Kubernetes CronJob
* Synchronise with Kubernetes ConfigMap or Secret
* Suitable for longer refresh intervals
* Might be harder to monitor
* Updates might have higher latency due to scheduling
* Low resource requirements

## Watcher
* [watcher.yaml](watcher.yaml)
* Deploy git2kube as a Kubernetes Deployment
* Synchronise with Kubernetes ConfigMap or Secret
* Suitable for short refresh intervals
* Easier to monitor
* Low latency updates
* Low resource requirements

## Sidecar
* [sidecar.yaml](sidecar.yaml)
* Deploy git2kube as part of different application Pod
* Synchronise with application by using shared volume
* Suitable for short refresh intervals
* Easier to monitor
* Low latency updates
* Bigger resource requirements

0 comments on commit ca82250

Please sign in to comment.