Awesome
Cloud Foundry Diego (BOSH release)
This repository is a BOSH release for deploying Diego and associated tasks for testing a Diego deployment. Diego is the new container runtime system for Cloud Foundry, replacing the DEAs and Health Manager.
This release depends on external services such as a relational database (either MySQL or Postgres) for data storage and Consul or BOSH DNS for inter-component service discovery. It also integrates with NATS to register routes to applications and Loggregator to emit application logs and Diego component metrics. In practice, these dependencies typically come from cf-deployment.
The Diego Design Notes present an overview of Diego, and links to the various Diego components.
Table of Contents
<a name="diego-operator-resources"></a>Diego Operator Resources
<a name="deploying-diego-backed-cloud-foundry"></a>Deploying Diego-Backed Cloud Foundry
Diego is typically deployed as part of a Cloud Foundry Application Runtime deployment to serve as its container runtime. The cf-deployment repository contains the latest recommended way to use BOSH to deploy a Cloud Foundry cluster to infrastructure platforms such as AWS, GCP, and Azure.
- Release Compatibility illustrates how to select versions of CF and other BOSH releases to deploy alongside Diego.
<a name="deployment-examples"></a>Deployment Examples
Deploying to BOSH-Lite
- Create a BOSH-Lite VM using either the v2 BOSH CLI or bosh-bootloader. Note that to create a BOSH-Lite VM in your local VirtualBox, you must use the BOSH CLI.
- Follow the instructions in CF-Deployment to deploy CF to the BOSH-Lite VM.
<a name="deployment-requirements-constraints"></a>Deployment Requirements and Constraints
- Required Dependency Versions details the minimum versions of the BOSH director, stemcell, and dependency releases required to deploy Diego correctly.
- Deployment Constraints describes the dependencies that must be deployed before deploying the Diego cluster and restrictions on Diego instance update order and rates to ensure correct cluster operation.
- Deprecations lists deprecated BOSH job properties, component metrics, and endpoints and fields for Diego component APIs.
<a name="configuration-at-scale"></a> Configuration at Scale
- Component Scaling & Performance Tuning describes recommendations and considerations on how to scale Diego components and their dependencies effectively.
<a name="security-configuration"></a>Security Configuration
- TLS Configuration describes how to generate TLS certificates for secure communication amongst the Diego and greater CF components.
- Enabling Instance Identity explains how to enable the Diego cell reps to provide per-instance identity credentials.
- Envoy Proxy Configuration explains how to enable the per-instance Envoy proxy to support improved route integrity, as well as some guidelines for operators to account for its additional memory overhead.
<a name="data-store-configuration"></a>Data Store Configuration
- Supported Data Stores for Diego describes how to configure Diego to use SQL for its data store.
- Data Store Encryption explains how to manage the ring of encryption keys that Diego uses to secure data at rest.
<a name="component-coordination"></a>Component Coordination
- Migrating from Consul to SQL Locks explains how to migrate the BBS and auctioneer from coordinating around a lock in Consul to coordinating around one stored in the Diego relational database.
<a name="monitoring-inspection"></a>Monitoring and Inspection
- Diego Metrics lists the various component metrics that Diego emits through the Loggregator system.
- Container Metrics lists the various container metrics that Diego emits through the Loggregator system.
cfdot
Setup shows how to set up thecfdot
CF Diego Operator Tool CLI for use in inspecting and interacting with a Diego deployment.- Logging format shows how to configure the logging format for Diego components.
<a name="cf-app-developer-resources"></a>CF App Developer Resources
- Migrating to Diego describes how developers can switch from the DEAs to Diego and details various operational differences between the DEAs and Diego.
- The Docker Support Notes describe how Diego runs Docker-image-based apps in Cloud Foundry.
<a name="diego-contributor-resources"></a>Diego Contributor Resources
See the Contributing.md for more information on how to contribute.