Skip to content

RinkiyaKeDad/simple-go-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running on Kubernetes

  • Build the docker image from the latest code: docker build -t rinkiyakedad/simple-go-server --platform=linux/amd64 .
  • To test it run: docker run rinkiyakedad/simple-go-server
  • Push it: docker push rinkiyakedad/simple-go-server
  • Apply the manifests: k apply -f k8s.yaml

Accessing the application running on K8s

  • List the services: kubectl get services
  • Visit the "External IP" shown for the simple-go-server service

ArgoCD

Pre-requisites before running okteto up

  • kubectl create namespace argocd
  • kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
  • brew install argocd
  • argocd login LoadBalancer IP/localhost:8080

Steps which deploy the application

  • argocd app create simple-go-server --repo https://github.com/rinkiyakedad/simple-go-server.git --path k8s --dest-server https://kubernetes.default.svc --dest-namespace default
  • argocd app sync simple-go-server

About

A simple go server to experiment with

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published