These next steps provide an ideal place to start writing applications in Go to run on Kubernetes. Each step will take you from raw Go code to packaging it in a container, and then to running your contained application on Kubernetes.
You will learn how:
- Write a basic Rust application as a microservice
- Package a Rust microservice in a container
- Run a Rust microservice on Kubernetes
Rust is a multi-paradigm programming language focused on performance and safety, especially safe concurrency. Rust is syntactically similar to C++, and provides memory safety without using garbage collection. -wikipedia on Rust programming language)
You now understand different techniques for writing Go apps and packaging them in efficient containers for Kubernetes. Go is a popular language for writing containerized apps. The language was designed for simplicity and efficiency. These are attractive goals when you are writing many application containers for Kubernetes.
With these steps you have learned how to:
- ✔ Write some basic Go applications
- ✔ Write a basic microservice in Go
- ✔ Package a Go microservice in a container
- ✔ Run a Go microservice on Kubernetes
Hopefully you also understand how Kubernetes is a new type of data center operating system that can run your applications—across multiple nodes on your local laptop, a rack of servers, or any cloud target.
Go Apps to Kubernetes
Your Kubernetes Cluster
For this scenario, Katacoda has just started a fresh Kubernetes cluster for you. Verify that it's ready for your use.
kubectl version --short && \
kubectl get componentstatus && \
kubectl get nodes && \
The Helm package manager used for installing applications on Kubernetes is also available.
helm version --short
You can administer your cluster with the
kubectl CLI tool or use the visual Kubernetes Dashboard. Use this script to access the protected Dashboard.