Skip to content

Latest commit

 

History

History
77 lines (70 loc) · 2.58 KB

workload-types.hbs.md

File metadata and controls

77 lines (70 loc) · 2.58 KB

Workload types

Tanzu Application Platform allows you to quickly build and test applications regardless of your familiarity with Kubernetes. You can turn source code into a workload that runs in a container with a URL. You can also use supply chains to build applications that process work from a message queue, or provide arbitrary network services.

A workload allows you to choose application specifications, such as repository location, environment variables, service binding, and so on. For more information about workload creation and management, see Commands Details.

The Out of the Box Supply Chains support a range of workload types, including scalable web applications (web), traditional application servers (server), background applications (worker), and serverless functions. You can use a collection of workloads of different types to deploy microservices that function as a logical application, or deploy your entire application as a single monolith.

If you build your own supply chains, you can define additional deployment methods beyond those included in the Out of the Box Supply Chain templates.

Available Workload types

When using the Out of the Box Supply Chain, the apps.tanzu.vmware.com/workload-type annotation selects which style of deployment is suitable for your application. The valid values are:

Type Description Indicators
web Scalable Web Applications
  • Scales based on request load
  • Automatically exposed by means of HTTP Ingress
  • Does not perform background work
  • Works with Service Bindings
  • Stateless
  • Quick startup time
server Traditional Applications
  • Provides HTTP or TCP services on the network
  • Exposed by means of external Ingress or LoadBalancer settings
  • Might perform background work from a queue
  • Works with Service Bindings
  • Fixed scaling, no disk persistence
  • Startup time not an issue
worker Background Applications
  • Does not provide network services
  • Not exposed externally as a network service
  • Performs background work from a queue
  • Works with Service Bindings
  • Fixed scaling, no disk persistence
  • Startup time not an issue