Pergunta de entrevista da empresa BigR.io

Describe ways to define and deploy a workload on a k8s cluster

Resposta da entrevista

Sigiloso

25 de mar. de 2024

● Depending on the type of workload, I would choose one of the following: ● If I need to spin up a group of identical stateless pods, I would use a Deployment. This would help me scale the workload and painlessly roll-in new updates without disrupting service. ● If the workload needs to keep track of state, I would use a StatefulSet. They are like Deployments, but can use persistent storage. ● If the workload is batch-processing, tasks, or queuing, I would consider using a K8s Job. These are suitable for tracking successful completions.