UMUmesh Moghariyainumoghariya.hashnode.dev·Mar 20, 2024 · 1 min readDeploying Hello World App on KubernetesPrerequisites Pre-requisites Hello world golang api application Running kubernetes cluster locally Building application Kubernetes Resources Deployments ReplicaSet Pods Containers Service - Cluster IP Ingress Deployments00
UMUmesh Moghariyainumoghariya.hashnode.dev·Mar 20, 2024 · 3 min readHello World Golang server applicationApi Server mkdir go-api cd go-api # Initialize golang module go mod init go-api # Install gin-gonic package go get -u github.com/gin-gonic/gin touch main.go // main.go package main import "github.com/gin-gonic/gin" func main() { r := gin.De...00
UMUmesh Moghariyainumoghariya.hashnode.dev·Mar 20, 2024 · 1 min readFish Shell AbbreviationsGit abbr --add g git abbr --add gco git checkout abbr --add gcob git checkout -b Kubernetes abbr --add k kubectl abbr --add kk kubectl get pods abbr --add kn kubectl get namespace abbr --add ks kubectl get secrets abbr --add kd kubectl get deploymen...00
UMUmesh Moghariyainumoghariya.hashnode.dev·Mar 20, 2024 · 1 min readRunning Kubernetes cluster locallyOptions Docker Desktop Minikube Kind Docker Desktop Installation Steps Download and install docker desktop application. Enable kubernetes and restart application. Install kubectl cli. MacOS - brew install kubectl Verify setup Open ter...00