diff --git a/README.md b/README.md index 8c3ce44c03..e4e090b39f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +CHANGE MADE in test branch test changed again + # Example Voting App A simple distributed application running across multiple Docker containers. diff --git a/k8s-specifications/db-deployment.yaml b/k8s-specifications/db-deployment.yaml index bc94ca7368..279c52c27a 100644 --- a/k8s-specifications/db-deployment.yaml +++ b/k8s-specifications/db-deployment.yaml @@ -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 diff --git a/k8s-specifications/db-service.yaml b/k8s-specifications/db-service.yaml index 104f1e8268..06fd526053 100644 --- a/k8s-specifications/db-service.yaml +++ b/k8s-specifications/db-service.yaml @@ -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 diff --git a/k8s-specifications/redis-deployment.yaml b/k8s-specifications/redis-deployment.yaml index 24aa52135f..ca67c7ded0 100644 --- a/k8s-specifications/redis-deployment.yaml +++ b/k8s-specifications/redis-deployment.yaml @@ -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 diff --git a/k8s-specifications/redis-service.yaml b/k8s-specifications/redis-service.yaml index 809d31d875..ddce482336 100644 --- a/k8s-specifications/redis-service.yaml +++ b/k8s-specifications/redis-service.yaml @@ -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 diff --git a/k8s-specifications/result-deployment.yaml b/k8s-specifications/result-deployment.yaml index b85488a667..9b11ca983f 100644 --- a/k8s-specifications/result-deployment.yaml +++ b/k8s-specifications/result-deployment.yaml @@ -1,6 +1,8 @@ apiVersion: apps/v1 kind: Deployment metadata: + annotations: + argocd.argoproj.io/sync-wave: "1" labels: app: result name: result diff --git a/k8s-specifications/result-service.yaml b/k8s-specifications/result-service.yaml index f20e3b1fc6..4fc8d7a87c 100644 --- a/k8s-specifications/result-service.yaml +++ b/k8s-specifications/result-service.yaml @@ -1,6 +1,8 @@ apiVersion: v1 kind: Service metadata: + annotations: + argocd.argoproj.io/sync-wave: "1" labels: app: result name: result diff --git a/k8s-specifications/vote-deployment.yaml b/k8s-specifications/vote-deployment.yaml index 165a9478f8..8265e275e5 100644 --- a/k8s-specifications/vote-deployment.yaml +++ b/k8s-specifications/vote-deployment.yaml @@ -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 diff --git a/k8s-specifications/vote-service.yaml b/k8s-specifications/vote-service.yaml index eae29ffcc3..5c95b3729f 100644 --- a/k8s-specifications/vote-service.yaml +++ b/k8s-specifications/vote-service.yaml @@ -1,6 +1,8 @@ apiVersion: v1 kind: Service metadata: + annotations: + argocd.argoproj.io/sync-wave: "1" labels: app: vote name: vote diff --git a/k8s-specifications/worker-deployment.yaml b/k8s-specifications/worker-deployment.yaml index 9e35450aec..8d1484718c 100644 --- a/k8s-specifications/worker-deployment.yaml +++ b/k8s-specifications/worker-deployment.yaml @@ -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