Skip to content

susimsek/golang-app-vagrant-k8s-istio-ci-cd

Repository files navigation

Golang App Service Mesh and Ci&Cd Example With Vagrant

Golang App Service Mesh and Ci&Cd Example With Vagrant

Golang App Service Mesh and Ci&Cd Example With Vagrant

Project Link

https://github.com/susimsek/golang-echo-graphql-example

Prerequisites for Docker-Compose Deployment

  • Docker 19.03+
  • Docker Compose 1.25+

Installation for Docker-Compose Deployment

docker-compose up -d 

Prerequisites for Kubernetes Deployment

  • Kubernetes 1.12+
  • Helm 3.1.0
  • Istio 1.9+
  • PV provisioner support in the underlying infrastructure

Installation for Kubernetes Deployment

kubectl label namespace default istio-injection=enabled
helm install app helm-chart/app

Installation Using Vagrant for Docker-Compose Deployment

Golang Vagrant Docker Compose Installation

Prerequisites for Docker-Compose Deployment

  • Vagrant 2.2+
  • Virtualbox or Hyperv
vagrant up
vagrant ssh
cd vagrant/docker-compose-setup
sudo chmod u+x *.sh
./install-prereqs.sh
exit
vagrant ssh
docker-compose up -d

You can access the Playground from the following url.

http://app.info/playground

You can access the Jenkins from the following url.

http://jenkins.info/jenkins

You can access the Sonarqube from the following url.

http://sonarqube.info/sonarqube

Installation Using Vagrant for Kubernetes Deployment

Golang Vagrant Kubernetes Installation

Prerequisites for Kubernetes Deployment

  • Vagrant 2.2+
  • Virtualbox or Hyperv
vagrant up
vagrant ssh
cd vagrant/kubernetes-setup
sudo chmod u+x *.sh
./install-prereqs.sh
exit
vagrant ssh
kubectl label namespace default istio-injection=enabled
helm install app helm-chart/app

You can access the Playground from the following url.

http://app.info/playground

You can access the Jenkins from the following url.

http://jenkins.info/jenkins

You can access the Sonarqube from the following url.

http://sonarqube.info/sonarqube

You can access the Kubernetes Dashboard from the following url.

https://kubernetes-dashboard.info

You can access the Rancher from the following url.

https://rancher.info

Golang App Used Technologies

  • Golang 1.16.3
  • Echo
  • Query & Mutation & Subscription Example
  • Gqlgen
  • Gqlparser
  • Go Uuid
  • Air

About

Golang App Service Mesh and Ci&Cd Example With Vagrant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published