O'Reilly logo

Mastering Spring Cloud by Piotr Minkowski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying an application

Every configuration existing on a Kubernetes cluster is represented by Kubernetes objects. These objects can be managed through the Kubernetes API and should be expressed in a YAML format. You may use that API directly, but will probably decide to leverage the kubectl command-line interface to make all the necessary calls for you. The description of a newly created object in Kubernetes has to provide specification that describes its desired state, as well as some basic information about the object. The following are some required fields in the YAML configuration file that should always be set:

  • apiVersion: This indicates the version of the Kubernetes API used to create an object. An API always requires the JSON format ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required