Skip to content

Instantly share code, notes, and snippets.

@tzachz
Created July 25, 2022 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tzachz/1a32c5a5de8257e70ee94c34c8baf76c to your computer and use it in GitHub Desktop.
Save tzachz/1a32c5a5de8257e70ee94c34c8baf76c to your computer and use it in GitHub Desktop.
Beating Conway’s Law: Achieving Distributed Ownership with Guice, RabbitMQ and Kubernetes - code snippet 5
apiVersion: apps/v1
kind: Deployment
metadata:
name: publisher-report-fetcher-prod-amazon
spec:
replicas: 3
template:
metadata:
labels:
app: publisher-report-fetcher-prod
nodetype: amazon
spec:
containers:
- name: publisher-report-fetcher
image: publisher-report-fetcher:latest
env:
- name: GUICE_MODULES
value: "[io.skai.publisherreportfetcher.amazon.AmazonModule]"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: publisher-report-fetcher-prod-google
spec:
replicas: 10
template:
metadata:
labels:
app: publisher-report-fetcher-prod
nodetype: google
spec:
containers:
- name: publisher-report-fetcher
image: publisher-report-fetcher:latest
env:
- name: GUICE_MODULES
value: "[io.skai.publisherreportfetcher.google.GoogleModule]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment