Deploying PDP within the Code for Philly cluster

PDP hosting

The PAWS Data Pipeline runs on a Kubernetes cluster donated by Linodearrow-up-right to the Code for Philly (CfP) project and is managed by the CfP civic-cloudarrow-up-right team.

The code and configurations for the various projects running on the cluster are managed using hologitarrow-up-right which

lets you declaratively define virtual sub-branches (called holobranches) within any Git branch that mix together content from their host branch, content from other repositories/branches, and executable-driven transformations.[1]

The pieces for the sandbox clusters can be found in the .holo directory in the PDP repository and the sandboxarrow-up-right or livearrow-up-right cluster repos as appropriate.

The branch (within the PDP repo) that holds the .holo directory is specified at paws-data-pipeline.tomlarrow-up-right.

RBAC roles and rights are defined at adminsarrow-up-right.

Updating deployed code

To deploy new code,

Ingress controller

CfP uses the ingress-nginxarrow-up-right ingress controller (not to be confused with an entirely different project called nginx-ingress)

The list of settings can be found here: Settingsarrow-up-right To update settings, edit release-values.yamlarrow-up-right and create a pull request.

SSL cert configuration can also be found in release-values.yamlarrow-up-right

  1. “Any sufficiently advanced technology is indistinguishable from magic.” Arthur C. Clarke

Last updated