mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 17:47:16 +00:00
style: format all files with prettier
This commit is contained in:
@@ -87,7 +87,7 @@ spec:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- CreateNamespace=true
|
||||
```
|
||||
|
||||
### 4. App of Apps Pattern
|
||||
@@ -165,11 +165,12 @@ spec:
|
||||
### Auto-Sync Configuration
|
||||
|
||||
**ArgoCD:**
|
||||
|
||||
```yaml
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true # Delete resources not in Git
|
||||
selfHeal: true # Reconcile manual changes
|
||||
prune: true # Delete resources not in Git
|
||||
selfHeal: true # Reconcile manual changes
|
||||
allowEmpty: false
|
||||
retry:
|
||||
limit: 5
|
||||
@@ -180,6 +181,7 @@ syncPolicy:
|
||||
```
|
||||
|
||||
**Flux:**
|
||||
|
||||
```yaml
|
||||
spec:
|
||||
interval: 1m
|
||||
@@ -204,11 +206,11 @@ spec:
|
||||
strategy:
|
||||
canary:
|
||||
steps:
|
||||
- setWeight: 20
|
||||
- pause: {duration: 1m}
|
||||
- setWeight: 50
|
||||
- pause: {duration: 2m}
|
||||
- setWeight: 100
|
||||
- setWeight: 20
|
||||
- pause: { duration: 1m }
|
||||
- setWeight: 50
|
||||
- pause: { duration: 2m }
|
||||
- setWeight: 100
|
||||
```
|
||||
|
||||
### Blue-Green Deployment
|
||||
@@ -238,9 +240,9 @@ spec:
|
||||
target:
|
||||
name: db-credentials
|
||||
data:
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: prod/db/password
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: prod/db/password
|
||||
```
|
||||
|
||||
### Sealed Secrets
|
||||
@@ -268,12 +270,14 @@ kubeseal --format yaml < secret.yaml > sealed-secret.yaml
|
||||
## Troubleshooting
|
||||
|
||||
**Sync failures:**
|
||||
|
||||
```bash
|
||||
argocd app get my-app
|
||||
argocd app sync my-app --prune
|
||||
```
|
||||
|
||||
**Out of sync status:**
|
||||
|
||||
```bash
|
||||
argocd app diff my-app
|
||||
argocd app sync my-app --force
|
||||
|
||||
Reference in New Issue
Block a user