Tuesday, August 14, 2018

PCF tile - Overview


What is a PCF tile: 
A tile is a software package that can be deployed in PCF ops manager for the app developers to consume, A tile can be anything - can be a PCF hosted tile such as MySQL service, Autoscaler service or it can be a custom tile (for a service that you created). 

What does a tile package contain. 
  • Zip file (with .pivotal extension) containing bosh manifest and executables

When to create a tile:
  • Create and provision services for your system. 
  • Integrate a third party functionality - database, message broker etc., 

Tile generator: tool to create a tile. 
  • Input: 
    • Service, service broker, build pack, docker image etc., 
  • Output:
    • .pivotal file
  • Contains
    • Deployment scripts
    • Bosh release
    • Tile
    • Concourse CI
  • How to 
    • Tile init: 
      • Creates a shell. 
    • Tile build
      • Creates bosh release. 
  • Tile.yml
    • Create forms for customization. 

# Importing a tile into PCF ops manager
  • Import a pivotal file into the ops manager. 
  • Add the tile
  • Specify settings:
    • Availability zones, 
    • Form values that are specified in the tile.yml

And now you can use the tile. 


No comments:

Post a Comment