Closed lifeofmoo closed 4 months ago
Is the fix to annotate the App with argocd.argoproj.io/compare-options: ServerSideDiff=true ?
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bp-knowledge-graph-api
namespace: argocd
annotations:
argocd.argoproj.io/compare-options: ServerSideDiff=true
spec:
destination:
namespace: bp-knowledge-graph
server: https://kubernetes.default.svc
project: bp-knowledge-graph
source:
path: bp-knowledge-graph-api/overlays/dev
repoURL: https://github.com/ME-Ltd/my-repo
targetRevision: HEAD
syncPolicy:
automated: {}
Because this didn't work for me.
I tested this and went into panic mode, seems there is an issue created
Hola,
EKS: v1.27 Argo: v2.8.4 EBS CSI Driver: v1.27.0-eksbuild.1
How do I fix this outofsync error please?
I've just changed my Deployment to a Stateful set.
I am not sure if the recently added volumeClaimTemplates and persistentVolumeClaimRetentionPolicy is causing this issue. I wasn't seeing this when I was using a PVC. However I changed it to volumeClaimTemplates to be more aligned with doing it the StatefulSet way.
Even commenting out the persistentVolumeClaimRetentionPolicy lines and re-creating the app results in an out of sync state.
Argo Logs look OK.