go-test-server

module
v0.0.0-...-e1d747e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: MIT

README

go-test-server

Usage

local

Run go-test-server

go run app/main.go
Docker

Run go-test-server

docker build -t go-test-server .
docker run -p 8080:8080 go-test-server
Kubernetes

Prepare Docker Image.

docker build -t go-test-server .

Create K8s Cluster using kind and load local Docker Image.

kind create cluster
kubectl cluster-info --context kind-kind
kind load docker-image go-test-server
Kubernetes Manifest(Raw)

Apply K8s manifest and connect to K8s service.

kubectl apply -f kubernetes/raw
kubectl port-forward service/go-test-server 8080:8080 -n go-test-server
Kubernetes Manifest(HelmChart)
Kubernetes Manifest(Helmfile)

Directories

Path Synopsis
article
author

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL