Skip to content

Commit

Permalink
Placeholder docs for KEP 3659
Browse files Browse the repository at this point in the history
  • Loading branch information
KnVerey committed Mar 6, 2023
1 parent a6b1df5 commit 7e43763
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
10 changes: 10 additions & 0 deletions content/en/blog/_posts/2023-04-11-introducing-applyset-pruning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: blog
title: "Safer, more performant pruning in kubectl apply"
date: 2023-04-11
slug: advanced-server-side-apply
---

**Authors:** Katrina Verey (Shopify) and Justin Santa Barbara (Google)

PLACEHOLDER: blog post for KEP http://git.k8s.io/enhancements/keps/sig-cli/3659-kubectl-apply-prune
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,11 @@ to result in the user deleting something unintentionally:
kubectl delete -f <filename>
```

### Alternative: `kubectl apply -f <directory/> --prune -l your=label`
### Alternative: `kubectl apply -f <directory/> --prune`

{{< comment >}}
TODO(knverey): Document `kubectl apply --prune --applyset` here (alpha in 1.27) and adjust the docs on the older alpha
{{< /comment >}}

Only use this if you know what you are doing.

Expand Down Expand Up @@ -1007,5 +1011,3 @@ template:
* [Imperative Management of Kubernetes Objects Using Configuration Files](/docs/tasks/manage-kubernetes-objects/imperative-config/)
* [Kubectl Command Reference](/docs/reference/generated/kubectl/kubectl-commands/)
* [Kubernetes API Reference](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/)


0 comments on commit 7e43763

Please sign in to comment.