In this end-to-end example, see how we use Pulumi and GitHub actions to continuously deploy a Ruby on Rails application, packaged with Docker, to a Kubernetes cluster.
Pulumi uses an existing Dockerfile to build and package the Ruby on Rails app.
Pulumi provisions a Kubernetes cluster and a hosted PostgreSQL database.
Deploy on Commit
On a commit, Pulumi can provide a preview, and then automatically deploy the complete environment.
GitOps with Pulumi
Commit a code change, and see how Pulumi and GitHub Actions can then deploy your apps and infrastructure to any cloud or cloud-native environment.
Pulumi code sits alongside application code and so a change to either can trigger a deployment of the full stack.
Pulumi provides a preview of changes that will be made as part of a Pull Request.
Merge Pull Request
Once a merge is performed, GitHub Actions and Pulumi will deploy the full application and infrastructure stack.