forked from mboldt/docs-tiledev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cf-concepts.html.md.erb
65 lines (45 loc) · 5.99 KB
/
cf-concepts.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
title: How TAS for VMs and Tanzu Operations Manager services work
owner: Services
---
There are many ways to integrate services with <%= vars.app_runtime_full %> and <%= vars.platform_name %>. The right way for each
service depends on what
the service does, and how your customer applications consume it. To determine the best way to integrate your
service, you need a good understanding of <%= vars.app_runtime_abbr %> concepts such as applications, containers, services,
brokers, and buildpacks.
Here is a collection of links to documentation for the most relevant
concepts.
For a general overview of <%= vars.app_runtime_abbr %>, and the various ways to interact with it,
use the following links:
- [TAS for VMs Overview](https://docs.vmware.com/en/VMware-Tanzu-Application-Service/4.0/tas-for-vms/concepts-overview.html) provides high-level descriptions of internal functions performed by different <%= vars.app_runtime_abbr %> components.
- [Cloud Foundry Command Line Interface (cf CLI)](https://docs.vmware.com/en/VMware-Tanzu-Application-Service/4.0/tas-for-vms/cf-cli-index.html) links to topics that explain how to direct <%= vars.app_runtime_abbr %> deployment from your local command line.
- [Tanzu Operations Manager](https://docs.vmware.com/en/VMware-Tanzu-Operations-Manager/3.0/vmware-tanzu-ops-manager/pcf-interface.html) describes Tanzu Operations Manager and Installation Dashboard interfaces, where cloud operators view, install, configure, and deploy service tiles.
- [Apps Manager](https://docs.vmware.com/en/VMware-Tanzu-Application-Service/4.0/tas-for-vms/console-index.html) describes Apps Manager interface, where app developers create and configure service instances and bind them to their apps.
## <a id="applications"></a> Applications
Cloud Foundry is primarily a cloud-native application platform. To understand how to integrate your services with Cloud Foundry, you must understand how your customers are using the platform to develop, deploy, and operate their applications.
- [Tanzu Operations Manager Tile Developer Guide](https://docs.vmware.com/en/Tile-Developer-Guide/3.0/tile-dev-guide/index.html) explains how to push an app to run on <%= vars.platform_name %> and use services.
- [Overview of logging and metrics](https://docs.vmware.com/en/Tile-Developer-Guide/3.0/tile-dev-guide/cf-concepts.html) describes how <%= vars.app_runtime_abbr %> aggregates and streams logs and metrics from the apps it hosts and from internal system components.
## <a id="services"></a> Services
Most value add integrations are done by exposing your software to your applications as services. To understand the service
concepts, and what a service integration looks like, read the following documentation:
- [Services](https://docs.vmware.com/en/Tile-Developer-Guide/3.0/tile-dev-guide/cf-concepts.html) explains how developers provision and use existing services in their apps.
- [Cloud Foundry service brokers and <%= vars.platform_name %> Tiles](https://docs.vmware.com/en/On-Demand-Services-SDK-for-VMware-Tanzu/0.45/on-demand-services-sdk/GUID-about.html#cf-broker) briefly describes the two main elements of <%= vars.platform_name %> service integration: the service broker API, which connects the service to <%= vars.app_runtime_abbr %> internally by taking commands from the Cloud Controller; and the tile, a packaged interface that cloud operators use to install and configure a service within <%= vars.platform_name %>.
- [Custom Services](https://docs.vmware.com/en/Tile-Developer-Guide/3.0/tile-dev-guide/cf-concepts.html) explains how service authors package their service as a [Managed Service](./managed.html) that is available for use by operators and developers, and which runs locally on <%= vars.app_runtime_abbr %> rather than running remotely.
## <a id="buildpacks"></a> Buildpacks
When application code is deployed to Cloud Foundry, a language-specific buildpack processes it. Language buildpacks provide a
convenient integration hook for any service that needs to inspect or embellish application code.
Supplying buildpacks also provides a language-agnostic way to inject your code into the application container image.
- [Application Staging Process](https://docs.vmware.com/en/Tile-Developer-Guide/3.0/tile-dev-guide/cf-concepts.html) explains how <%= vars.app_runtime_abbr %> packages and deploys apps in containers with buildpacks so that they can run on multiple VMs interchangeably.
- [Language Buildpacks](https://docs.vmware.com/en/VMware-Tanzu-Application-Service/4.0/tas-for-vms/buildpacks.html) describes the language-specific buildpacks support <%= vars.app_runtime_abbr %> apps.
- [Custom Buildpacks](https://docs.vmware.com/en/VMware-Tanzu-Application-Service/4.0/tas-for-vms/custom.html) describes how to use supply buildpacks to add dependencies or code without having to change (multiple) language-sepcific buildpacks.
## <a id="agents"></a> Embedded agents
Some integrations can inject code into the application container.
VMware refers to these injected components as "container-embedded agents".
[Buildpacks](./buildpacks.html#other) provide a mechanism to inject components into the application container image, and the `.profile.d` directory provides a way to start agents before or alongside the customer application.
- [Agent Injection with a supply buildpack](https://docs.vmware.com/en/VMware-Tanzu-Application-Service/<%= vars.current_major_version %>/tas-for-vms/custom.html)
- [Using .profile](https://docs.vmware.com/en/VMware-Tanzu-Application-Service/<%= vars.current_major_version %>/tas-for-vms/deploy-apps-deploy-app.html#profile)
## <a id="nozzles"></a> Nozzles
Loggregator, VMware Tanzu Application Service logging system, has a feature named **Firehose**. The Firehose includes the
combined stream of logs from all apps, plus metrics data components, used by operators and administrators.
A nozzle takes this data and forwards it to an external logging and metrics solution.
- [Loggregator system](https://docs.vmware.com/en/VMware-Tanzu-Application-Service/<%= vars.current_major_version %>/tas-for-vms/log-ops-guide.html)