Esta série de tutoriais é destinada a desenvolvedores que não conhecem o
Kubernetes e o Google Kubernetes Engine (GKE). Na série, você vai aprender a
transformar o Cymbal Books, um aplicativo monolítico de amostra, em um aplicativo
modular e em contêineres que é executado em um cluster do GKE.
Antes de começar esta série de tutoriais, é útil ter alguma experiência com programação em Python e desenvolvimento de aplicativos da Web. Embora todo o código seja fornecido e você não precise escrever nada, saber ler e entender o código básico do Python vai ajudar você a acompanhar melhor. Você também precisa ter familiaridade com o uso da linha de comando para executar comandos. Se você não conheceGoogle Cloud, contêineres ou Kubernetes, não se preocupe. Esses conceitos são explicados na série.
Custos
Você pode concluir este tutorial sem custos. No entanto, seguir as etapas do tutorial final desta série gera cobranças na sua conta doGoogle Cloud . Os custos começam quando você ativa o GKE e implanta
o app Cymbal Books em um cluster do GKE. Esses custos incluem cobranças por cluster do GKE, conforme descrito na página de preços, e cobranças pela execução de VMs do Compute Engine.
Para evitar cobranças desnecessárias, desative o GKE ou
exclua o projeto depois de concluir este tutorial.
Por que colocar um app em um contêiner?
Talvez você esteja se perguntando por que é interessante conteinerizar seu app. A lista a seguir explica algumas das vantagens dos apps conteinerizados:
Isolamento: cada componente é executado de forma independente no próprio contêiner.
Mudanças ou atualizações em um componente não interrompem o restante do app.
Escalonabilidade: é possível escalonar componentes individuais com base na demanda. Se uma parte do app tiver uma carga alta, você poderá escalonar apenas essa parte. Não é necessário dimensionar todo o app.
Isolamento de falhas: problemas em um componente são contidos e não afetam outros componentes. Esse isolamento facilita a depuração e a resolução de problemas
sem afetar o restante do sistema.
Desenvolvimento e implantação mais rápidos: as equipes podem trabalhar em diferentes
componentes do app simultaneamente. Eles podem desenvolver, testar e implantar
de forma independente, o que pode acelerar os ciclos de desenvolvimento.
Eficiência de recursos: os contêineres ajudam a otimizar o uso de recursos, o que pode
reduzir os custos de execução do app.
Consistência em todos os ambientes: cada contêiner é executado da mesma forma em
diferentes ambientes, como desenvolvimento, teste e produção.
Cada tutorial se baseia no anterior e ajuda você a entender os principais conceitos
e práticas de modularização, contêinerização e implantação de apps. Ao final da série, você terá um app em execução no GKE e um
conhecimento sólido sobre modularização, conteinerização e conceitos básicos do Kubernetes.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[],[],null,["[Standard](/kubernetes-engine/docs/concepts/choose-cluster-mode)\n\n*** ** * ** ***\n\nThis series of tutorials is for Developers who are new to\nKubernetes and Google Kubernetes Engine (GKE). In the series, you learn how to\ntransform Cymbal Books, a sample monolithic app, into a modular, containerized\napp that runs on a GKE cluster.\n\nBefore starting this tutorial series, it's helpful if you have some experience\nwith Python programming and web application development. Although all the code\nis provided and you won't need to write any code yourself, being able to read\nand understand basic Python code will help you follow along better. You also\nneed to be comfortable using the command line to run commands. If you're new to\nGoogle Cloud, containerization, or Kubernetes, don't worry---these concepts\nare explained in the series.\n\nCosts\n\nYou can complete this tutorial without incurring any charges. However, following\nthe steps in the [final tutorial](/kubernetes-engine/docs/learn/cymbal-books/lp1/deploy) of this series incurs charges on your\nGoogle Cloud account. Costs begin when you enable GKE and deploy\nthe Cymbal Books app to a GKE cluster. These costs include\nper-cluster charges for GKE, as outlined on the\n[Pricing page](/kubernetes-engine/pricing), and charges for running\nCompute Engine VMs.\n\nTo avoid unnecessary charges, ensure that you disable GKE or\ndelete the project once you have completed this tutorial.\n\nWhy containerize an app?\n\nYou might be wondering why you'd want to containerize your app. The following\nlist explains some of the advantages of containerized apps:\n\n- **Isolation**: each component runs independently in its own container. Changes or updates to one component don't disrupt the rest of the app.\n- **Scalability**: you can scale individual components based on demand. If one part of the app experiences high load, you can scale only that part. You don't need to scale the entire app.\n- **Fault isolation**: issues in one component are contained and don't affect other components. This isolation makes it easier to debug and resolve issues without affecting the rest of the system.\n- **Faster development and deployment**: teams can work on different components of the app simultaneously. They can develop, test, and deploy independently, which can speed up development cycles.\n- **Resource efficiency**: containers help optimize resource usage, which can reduce the costs of running your app.\n- **Consistency across environments**: each container runs the same way in different environments, such as development, testing, and production.\n\nTutorials in this series\n\nThe series consists of the following tutorials:\n\n1. Overview (this tutorial)\n2. [Understand the monolith](/kubernetes-engine/docs/learn/cymbal-books/lp1/monolith)\n3. [Modularize the monolith](/kubernetes-engine/docs/learn/cymbal-books/lp1/modular)\n4. [Prepare the modular app for containerization](/kubernetes-engine/docs/learn/cymbal-books/lp1/prep-containerization)\n5. [Containerize the modular app](/kubernetes-engine/docs/learn/cymbal-books/lp1/containerize)\n6. [Deploy the app to a GKE cluster](/kubernetes-engine/docs/learn/cymbal-books/lp1/deploy)\n\nEach tutorial builds on the previous one, and helps you understand key concepts\nand practices in app modularization, containerization, and deployment. By the\nend of the series, you'll have an app that's running on GKE and a\nsolid understanding of modularization, containerization, and Kubernetes basics.\n\nTo get started, see [Understand the monolith](/kubernetes-engine/docs/learn/cymbal-books/lp1/monolith)."]]