In order to run a Docker container in Kubernetes you need to define a pod. The aim of this video is to show how deploy and run a containerized Go microservice using Minikube on a local developer machine.
- [Instructor] Hi and welcome back to Cloud Native Go.…My name is Leander Reimer and I'm happy to be your host.…For this video is about deploying our Go microservice…to our locally running Kubernetes.…So in this video we're going to take a look…at how can write a simple YAML descriptor for a pod.…I'm going to show you how you how you can connect…to this pod through port forwarding.…Going to work with labels and we're going to label our pods,…display the labels and assign labels to the pods.…
I'm going to show you how can use namespaces…to organize the pods and then finally…we will be stopping and removing out pods.…So this is a lot of ground to cover.…Let's get started.…Now in the previous video I've…shown you that we use Minikube, okay?…And one thing you should be doing now…is issue minikube docker-env.…Basically what we need to do is switch out local Docker…environment and point it, well to…the Docker environment of our Minikube.…
So if you have not done it you need…to issue this command here, okay?…And after this one's been evaluated we're working against…
This course was created and produced by Packt Publishing. We are honored to host this training in our library.
- Implementing Go HTTP Server
- JSON marshalling and unmarshalling of Go structs
- Implementing a simple REST API
- Using Docker workflows and commands
- Building a naïve Docker image
- Running a containerized Go microservice
- Kubernetes architecture and concepts
- Deploying a Go microservice to Kubernetes
- Implementing service descriptors
- Performing rolling updates