insecureSkipTLSVerify causes Out of Sync on argocd #5123
-
Hi all, I have deployed keda as argocd application to my cluster. Pods seem healthy, haven't tried scaling yet though. But what I wonder is this line seems to be causing out of sync state. What can I do about it? Should I remove it from apiservice yaml, but I read that default value is
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 6 replies
-
Also asked in #4732 (comment) |
Beta Was this translation helpful? Give feedback.
-
changed it to true and now I see this log constantly
activation/deactivation still works though. I don't need hpa at the moment but I assume it won't work since metrics server is not healthy. |
Beta Was this translation helpful? Give feedback.
-
@zroubalik sorry to tag you but since you answered my last question and I can't think of anything else to do.. do you have any suggestion regarding this? |
Beta Was this translation helpful? Give feedback.
-
I experienced the same problem today when I attempted to move from Keda 2.9 to 2.12. ArgoCD kept retrying to update APIService what caused the aad-pod-identity-mic pods to run into a VMSSUpdate rate limit on Azure APIs which negatively impacted services on multiple AKS clusters (pods couldn't start because they could get volumes mounted with the secrets-store-csi-driver). With disabling auto-sync for Keda in ArgoCD, the situation calmed down. I'm now going with KEDA 2.10 where this problem doesn't happen. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue with Keda 2.12 and v1.27.4-eks-8ccc7ba |
Beta Was this translation helpful? Give feedback.
-
Since we haven't received an answer yet, I can tell you what I've tried. Removing that line solved the problem for now. It acts as false by default (AFAIU). CA bundle has been created and there is no out of sync warning. but again not 100% sure if it acts false as default but there is no |
Beta Was this translation helpful? Give feedback.
-
Default value is false, but during the swap from true to false, kubectl didn't remove the field, causing an error during the upgrade because KEDA couldn't patch the apiservice. We will remove this field in next versions as it's totally not necessary and we added it to explicitly set |
Beta Was this translation helpful? Give feedback.
-
I chose option 3 which is removing the insecureSkipTLSVerify flag from yaml for now since default value is false. thanks |
Beta Was this translation helpful? Give feedback.
-
for Fleet we ended up with this workaround in fleet.yaml # https://github.com/rancher/fleet/issues/1386
ignore:
conditions:
- type: Active
status: "False"
reason: ScalerNotActive |
Beta Was this translation helpful? Give feedback.
Default value is false, but during the swap from true to false, kubectl didn't remove the field, causing an error during the upgrade because KEDA couldn't patch the apiservice. We will remove this field in next versions as it's totally not necessary and we added it to explicitly set
false
(to remove the field if it was already set).We definitively remove the explicit set in next versions, but currently the field can be ignored in ArgoCD config. Setting it to
true
doesn't work because it conflicts withcaBundle
. The options are 2, ignore the out-of-sync in argo, or ignore the field explictly.