Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Enhance Documentation & Troubleshooting Guidance for Kyverno Deployment via ArgoCD #1479

Open
kushal9897 opened this issue Feb 22, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@kushal9897
Copy link

Description

Overview:
When deploying Kyverno via ArgoCD, users have repeatedly encountered issues that lead to unstable deployments and prolonged troubleshooting. Common problems include failures during CRD checks (often tied to RBAC misconfigurations), challenges with handling large resources (which require specific sync options), and scattered or insufficient troubleshooting guidance in the current documentation.

Current Challenges:

CRD & RBAC Issues:
Kyverno sometimes fails to correctly check for or manage CRDs because of inadequate or misconfigured RBAC permissions, which causes deployment instability.
Sync Options Configuration:
ArgoCD deployments of Kyverno require special sync options (such as using Replace=true or Server-Side Apply) to properly handle large or aggregated resources. However, this requirement is not clearly detailed in the current documentation.
Limited Troubleshooting Guidance:
Users must often piece together information from various sources to resolve issues. A consolidated, step-by-step troubleshooting guide is lacking, making it harder for DevOps teams to quickly diagnose and fix problems.
Proposed Improvements:

Expanded Documentation:
Enhance the Kyverno documentation with a comprehensive guide for deploying Kyverno via ArgoCD. This should include:
Clear instructions for setting sync options (e.g., Replace=true or Server-Side Apply) to manage large resources.
Detailed steps for configuring RBAC to avoid CRD check failures.
Consolidated Troubleshooting Section:
Create a dedicated troubleshooting guide that provides:
Common error messages and log examples.
Remediation steps for typical issues (such as CRD registration problems or RBAC permission errors).
Best Practices for GitOps Integration:
Provide recommendations on how to structure your ArgoCD applications and namespace configurations to minimize conflicts (for example, how to handle aggregated ClusterRoles and resource exclusions).
Benefits:

Improved Reliability:
Clear, step-by-step guidance will help reduce deployment failures and sync issues, leading to more stable production environments.
Faster Issue Resolution:
A dedicated troubleshooting guide will enable DevOps teams to quickly identify and resolve common problems.
Enhanced GitOps Experience:
By clarifying best practices and configuration requirements, the overall experience of using Kyverno in GitOps workflows will be smoother and more predictable.

Slack discussion

No response

@kushal9897 kushal9897 added the enhancement New feature or request label Feb 22, 2025
Copy link

welcome bot commented Feb 22, 2025

Thanks for opening your first issue here! Be sure to follow the issue template!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant