Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guestbook-with-sub-directories/deployment/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: guestbook-ui
spec:
replicas: 2
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
Expand Down
10 changes: 0 additions & 10 deletions guestbook-with-sub-directories/service.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion guestbook/guestbook-ui-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: guestbook-ui
spec:
replicas: 1
replicas: 2
revisionHistoryLimit: 3
selector:
matchLabels:
Expand Down
22 changes: 0 additions & 22 deletions sync-options/no-prune/deployment.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion sync-options/selective-sync/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: guestbook-ui
spec:
replicas: 3
replicas: 6
revisionHistoryLimit: 3
selector:
matchLabels:
Expand Down
18 changes: 18 additions & 0 deletions sync-waves/plain-manifests/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ apiVersion: batch/v1
kind: Job
metadata:
generateName: upgrade-sql-schema-1
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "0"
spec:
template:
spec:
Expand All @@ -16,6 +19,9 @@ apiVersion: batch/v1
kind: Job
metadata:
generateName: upgrade-sql-schema-2
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "1"
spec:
template:
spec:
Expand Down Expand Up @@ -59,6 +65,10 @@ apiVersion: batch/v1
kind: Job
metadata:
name: maint-page-up
annotations:
argocd.argoproj.io/hook: Sync
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
argocd.argoproj.io/sync-wave: "1"
spec:
template:
spec:
Expand All @@ -73,6 +83,8 @@ apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: frontend
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
replicas: 1
selector:
Expand All @@ -91,6 +103,8 @@ apiVersion: v1
kind: Service
metadata:
name: frontend
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
selector:
tier: frontend
Expand All @@ -103,6 +117,10 @@ apiVersion: batch/v1
kind: Job
metadata:
name: maint-page-down
annotations:
argocd.argoproj.io/hook: Sync
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
argocd.argoproj.io/sync-wave: "3"
spec:
template:
spec:
Expand Down