Usage scenario
You are a developer, and you want to deploy your application to Kubernetes. You want to understand the concepts of Kubernetes workloads and want to learn which workload type is the best for your application.
What is a Kubernetes workload?
A workload on Kubernetes is basically a containerized application that should be operated and orchestrated by Kubernetes. So, as a developer, you have to decide which workload type is the best for your application to operate it.
Stateless versus Stateful workloads
Before considering the different types of workloads, you should first understand the difference between stateless and stateful workloads:
The decision whether your application is stateful or stateless is very important and should be considered carefully. If you choose the wrong workload type, you might encounter problems later on.