Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test #369

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CHANGE MADE in test branch test changed again

# Example Voting App

A simple distributed application running across multiple Docker containers.
Expand Down
3 changes: 3 additions & 0 deletions k8s-specifications/db-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
argocd.argoproj.io/sync-options: "Sync-Wait"
labels:
app: db
name: db
Expand Down
3 changes: 3 additions & 0 deletions k8s-specifications/db-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apiVersion: v1
kind: Service
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
argocd.argoproj.io/sync-options: "Sync-Wait"
labels:
app: db
name: db
Expand Down
3 changes: 3 additions & 0 deletions k8s-specifications/redis-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
argocd.argoproj.io/sync-options: "Sync-Wait"
labels:
app: redis
name: redis
Expand Down
3 changes: 3 additions & 0 deletions k8s-specifications/redis-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apiVersion: v1
kind: Service
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
argocd.argoproj.io/sync-options: "Sync-Wait"
labels:
app: redis
name: redis
Expand Down
2 changes: 2 additions & 0 deletions k8s-specifications/result-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
labels:
app: result
name: result
Expand Down
2 changes: 2 additions & 0 deletions k8s-specifications/result-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
labels:
app: result
name: result
Expand Down
4 changes: 3 additions & 1 deletion k8s-specifications/vote-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
labels:
app: vote
name: vote
spec:
replicas: 1
replicas: 2
selector:
matchLabels:
app: vote
Expand Down
2 changes: 2 additions & 0 deletions k8s-specifications/vote-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"
labels:
app: vote
name: vote
Expand Down
5 changes: 4 additions & 1 deletion k8s-specifications/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ metadata:
labels:
app: worker
name: worker
annotations:
argocd.argoproj.io/sync-wave: "3"
argocd.argoproj.io/sync-options: "Sync-Wait"
spec:
replicas: 1
replicas: 2
selector:
matchLabels:
app: worker
Expand Down