Skip to content

An example repo to be used with gitkube: git push to deploy on to Kubernetes

License

Notifications You must be signed in to change notification settings

hasura/gitkube-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitkube-examples

An nginx example application to be used with gitkube: git push to deploy on to Kubernetes.

Installation instructions

Using kubectl

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
    curl https://raw.githubusercontent.com/hasura/gitkube/master/gimme.sh | bash
    • Windows: download the latest release and add it to your PATH.
  2. Use Gitkube CLI to install Gitkube on the cluster:

    gitkube install

Repository configuration

Gitkube 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:

Multi-repo

You have separate repos for your configuration and microservices.

Follow the instructions for multi-repo setup below:

About

An example repo to be used with gitkube: git push to deploy on to Kubernetes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •