Skip to Content
Migrating Applications to the Cloud with Azure
book

Migrating Applications to the Cloud with Azure

by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
December 2019
Intermediate to advanced content levelIntermediate to advanced
494 pages
11h 41m
English
Packt Publishing
Content preview from Migrating Applications to the Cloud with Azure

Building a deployment YAML file

Kubernetes provides us with a declarative way to deploy and manage objects inside the cluster. You can define a configuration in YAML or JSON format and submit it to the Kubernetes master for processing. You can also deploy the application using the kubectl command option (similar to docker run); however, that's only recommended for dev environments where you want to run some containers quickly. 

In this section, we'll look at a YAML configuration manifest so that we can deploy the voting app on AKS. We'll be creating the following objects in the Kubernetes cluster:

  • Deployment object for the backend Redis pod
  • Service object for the backend Redis pod
  • Deployment object for frontend pods
  • Service object for frontend ...
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.
Start your free trial

You might also like

Migrating Applications to the Cloud

Migrating Applications to the Cloud

Steve Swoyer
Microsoft Azure: Planning, Deploying, and Managing the Cloud

Microsoft Azure: Planning, Deploying, and Managing the Cloud

Julian Soh, Marshall Copeland, Anthony Puca, Micheleen Harris

Publisher Resources

ISBN: 9781839217470Supplemental Content