Skip to Content
Kubernetes: Up and Running, 3ª Edición
book

Kubernetes: Up and Running, 3ª Edición

by Brendan Burns, Joe Beda, Kelsey Hightower, Lachlan Evenson
September 2024
Intermediate to advanced
328 pages
9h 8m
Spanish
O'Reilly Media, Inc.
Content preview from Kubernetes: Up and Running, 3ª Edición

Capítulo 5. Vainas

Este trabajo se ha traducido utilizando IA. Agradecemos tus opiniones y comentarios: translation-feedback@oreilly.com

En capítulos anteriores hemos hablado de cómo puedes contenerizar tu aplicación, pero en las implementaciones reales de aplicaciones en contenedores, a menudo querrás colocar varias aplicaciones en una sola unidad atómica, programada en una sola máquina.

Un ejemplo canónico de tal implementación se ilustra en la Figura 5-1, que consiste en un contenedor que sirve peticiones web y un contenedor que sincroniza el sistema de archivos con un repositorio Git remoto.

Figura 5-1. Un ejemplo de Pod con dos contenedores y un sistema de archivos compartido

Al principio, puede parecer tentador envolver el servidor web y el sincronizador Git en un único contenedor. Sin embargo, tras un examen más detallado, quedan claras las razones de la separación. En primer lugar, los dos contenedores tienen requisitos significativamente diferentes en cuanto al uso de recursos. Tomemos, por ejemplo, la memoria: como el servidor web atiende las peticiones de los usuarios, queremos asegurarnos de que siempre esté disponible y responda. Por otro lado, el sincronizador Git no está realmente orientado al usuario y tiene una calidad de servicio de "mejor esfuerzo".

Supongamos que nuestro sincronizador Git tiene una fuga de memoria. Tenemos que asegurarnos de que el sincronizador ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Hackear Kubernetes

Hackear Kubernetes

Andrew Martin, Michael Hausenblas
Docker: Up & Running, 3ª Edición

Docker: Up & Running, 3ª Edición

Sean P. Kane, Karl Matthias
Redes y Kubernetes

Redes y Kubernetes

James Strong, Vallery Lancey

Publisher Resources

ISBN: 9781098181796