Skip to content

kubernetes-go is a Go module that offers tools to deploy to Kubernetes. There is a publication for this repository which can be found at https://pascalallen.medium.com/how-to-deploy-to-kubernetes-76c42e5ea28c.

License

Notifications You must be signed in to change notification settings

pascalallen/kubernetes-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-go

kubernetes-go is a Go module that offers tools to deploy to Kubernetes. There is a publication for this repository which can be found here.

Prerequisites

Kubernetes Deployment Steps

Build and Tag Docker Image

docker build -t pascalallen/kubernetes-go .

Log in to Docker Hub

docker login

Push Image to Docker Hub

docker push pascalallen/kubernetes-go

Apply Service to Kubernetes Cluster

kubectl apply -f etc/k8s/go

Locally, you will find the site running at http://localhost:9990/

List Kubernetes Pods

kubectl get pods

List Kubernetes Services

kubectl get services

Delete Service and Pod from Kubernetes Cluster

kubectl delete -f etc/k8s/go

About

kubernetes-go is a Go module that offers tools to deploy to Kubernetes. There is a publication for this repository which can be found at https://pascalallen.medium.com/how-to-deploy-to-kubernetes-76c42e5ea28c.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published