Answer the question
In order to leave comments, you need to log in
How to wrap app in pod K8s?
Good afternoon. I'm new to Kuber, so here's the question. I installed kubernetes on three hosts, now I want to raise pods. I don't understand where to start. I read the information on the network, I found something like this: We take the image on the docker hub. we download it to our server where the kuber is installed, write a yaml file, where we describe the essence of the pod. and run it. Kuber creates a deployment. I understand correctly ?
Answer the question
In order to leave comments, you need to log in
Describe the deployment + svc+ pv+pvc in yaml and apply it via kubectl.
And since all the answers are in the documentation and in the mass of articles on the same Habré, the lessons of the cuber are beyond the scope of this resource.
If there is a specific deployment file that you cannot bring to mind, then okay, but no one will teach the basics here.
I would say that the formulation of the question is not very correct
. Nobody creates pods with their hands, this goes against the philosophy
of
kubernetes
. the task is to describe Deployment (which is a permanent declarative indication to kubernets what exactly is required of it).
Deployment, in turn, will create a ReplicaSet, which, in turn, will decide the fate of Pods,
well, something like this in a nutshell
, but the fact that you either didn’t read the documentation or didn’t master it, so you need to start with other questions
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question