Kubernetes Deployment & Service
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Një Deployment i thotë Kubernetes-it „mbaj gjithmonë 3 kopje të këtij kontejneri“ dhe bën përditësime gradualisht. Një Service u jep atyre kopjeve një adresë të vetme të qëndrueshme dhe ndan trafikun mes tyre.
EnglishEN
A Deployment tells Kubernetes “always keep 3 copies of this container running” and rolls out updates gradually. A Service gives those copies one stable address and spreads traffic between them.
Si ta mendosh
Si menaxheri që siguron gjithmonë tre arkëtarë në punë, dhe një numër telefoni për të gjithë.
Lexoje në anglisht
Like a manager making sure three cashiers are always on shift, with one phone number for all of them.
Shembull kodiyaml
kind: Deployment
spec:
replicas: 3
template: { spec: { containers: [{ name: web, image: fjalori:1.4 }] } }