Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasura/gitkube-example
An example repo to be used with gitkube: git push to deploy on to Kubernetes
https://github.com/hasura/gitkube-example
Last synced: 19 days ago
JSON representation
An example repo to be used with gitkube: git push to deploy on to Kubernetes
- Host: GitHub
- URL: https://github.com/hasura/gitkube-example
- Owner: hasura
- License: mit
- Created: 2018-03-11T17:43:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-26T03:10:43.000Z (almost 4 years ago)
- Last Synced: 2024-11-10T08:30:52.633Z (3 months ago)
- Language: HTML
- Size: 23.4 KB
- Stars: 43
- Watchers: 33
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - gitkube-example - An example repo to be used with gitkube: git push to deploy on to Kubernetes (HTML)
README
# gitkube-examples
An nginx example application to be used with [gitkube](https://github.com/hasura/gitkube): git push to deploy on to Kubernetes.
## Installation instructions
### Using kubectl
```sh
kubectl create -f https://storage.googleapis.com/gitkube/gitkube-setup-stable.yaml#expose gitkubed service
kubectl --namespace kube-system expose deployment gitkubed --type=LoadBalancer --name=gitkubed
```### Using gitkube CLI
1. Install Gitkube CLI:
- Linux/MacOS
``` bash
curl https://raw.githubusercontent.com/hasura/gitkube/master/gimme.sh | bash
```
- Windows: download the latest [release](https://github.com/hasura/gitkube/releases) and add it to your `PATH`.2. Use Gitkube CLI to install Gitkube on the cluster:
```bash
gitkube install
```
## Repository configurationGitkube works with whatever kind of repository configurations you prefer. Here are some common configurations:
#### Mono-repo
Your git repo contains configuration + code for your entire application including all your microservices and k8s manifests.
Follow the instructions for mono-repo setups below:
- [Mono-repo with K8s yamls and microservices](mono-repo/README.md)
- [Mono-repo with Helm chart and microservices](mono-repo-helm/README.md)#### Multi-repo
You have separate repos for your configuration and microservices.
Follow the instructions for multi-repo setup below:
- [Multi-repo with K8s yamls in one repo and microservices in another repo](multi-repo/README.md)