edit: Open a live resource in your editor and apply changes on save. Quick fixes, but changes are not tracked in your manifests. kubectl edit opens a live Kubernetes resource in your text editor. When you save and close, the changes are applied to the cluster immediately. It is quick for experiments and emergencies, such as raising a memory limit during an incident or checking what a setting does.
The problem is that the change exists only in the cluster. Your manifest files in Git still contain the old value, so the next deploy undoes your fix, and nobody can see later why the setting changed. If you use a GitOps tool, it may revert your edit within minutes. Treat kubectl edit as a temporary measure, and copy any change you want to keep into the manifests in your repository straight away.
Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.
Design, organize, and manage Helm charts for templating and packaging Kubernetes applications with reusable configurations. Use when creating Helm charts, packaging Kubernetes applications, or implementing templated deployments.
Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes deployments with continuous reconciliation. Use when implementing GitOps practices, automating Kubernetes deployments, or setting up declarative infrastructure management.