Skip to content

How do we run hydros continously? Serverlessly? #91

@jlewi

Description

@jlewi

One of the key goals of hydros is to be declarative. That means we should be continuously running it. Right now we don't have a good story for that. There's a bunch of different issues related to this

#62
#61
#5

There's a couple different patterns we could follow. The current proposal was to

  1. Turn the resources into K8s controllers
  2. Use existing GitOps toolks to sync to the cluster

This seems unnecessarily heavyweight given all we really need is to run a cronjob. Basically all we need is to periodically run

hydros apply /path/to/repo_config.yaml

That will trigger hydros to check out the repository at the specified commit and then apply any resources we find.

I think we should just try to run this on Cloud Run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions