hello-world

command
v0.0.0-...-f36290b Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: MIT Imports: 2 Imported by: 0

README

Go: Build and Run

go build -o ./hello-world .
./hello-world

Docker: Build and Run

docker build -t stefanhans/hello-world .
docker run --rm stefanhans/hello-world:latest

Docker: Push to Docker Hub

docker push stefanhans/hello-world:latest

Kubernetes: Deploy and Test

Having a running environment, e.g. minikube start

kubectl create -f DeployHelloWorld.yaml

kubectl get pods -l app=hello-world 
kubectl logs -l app=hello-world

Investigate using the last two steps repeatedly!

Kubernetes: Cleanup

kubectl delete all -l app=hello-world

Next Step: Try out the deployment programmed in Go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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