зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 20:56:06 +02:00
19 строки
483 B
Plaintext
19 строки
483 B
Plaintext
A logical group of containers that we can replicate, schedule, and balance service endpoints across
|
|
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: hello
|
|
spec:
|
|
containers:
|
|
- name: hello
|
|
image: busybox
|
|
imagePullPolicy: Never # don't check updates from DockerHub
|
|
command:
|
|
- sleep
|
|
- "60"
|
|
|
|
!!! port is just a way to tell k8s that we declare appropriate port-num
|
|
|
|
container_POD - some container for organizing network between all the containers of pod
|