Skip to content

Commit

Permalink
add skeleton for how-to section
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind Thirumurugan committed Jan 8, 2025
1 parent afe815b commit b630d54
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/howtos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,10 @@ domains:

This how-to guide explains the specifics of the Fleet `ResourceOverride` API, including its
resource selectors, policy, and more. `ResourceOverride` is a Fleet API that allows you to
modify or override specific attributes across namespaced resources.
modify or override specific attributes across namespaced resources.

* [Using the Fleet `ClusterResourcePlacementEviction` and `ClusterResourcePlacementDisruptionBudget` APIs](eviction-and-disruption-budget.md)

This how-to guide explains the specifics of the Fleet `ClusterResourcePlacementEviction` and
`ClusterResourcePlacementDisruptionBudget` APIs, including how to evict resources from a
cluster and protect resources from voluntary disruption.
15 changes: 15 additions & 0 deletions docs/howtos/eviction-placement-disruption-budget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# How-to Guide: To evict resources from member clusters using ClusterResourcePlacementEviction and protect resources on member clusters from voluntary disruption using ClusterResourcePlacementDisruptionBudget

This how-to guide discusses how to create ClusterResourcePlacementEviction objects and ClusterResourcePlacementDisruptionBudget objects to evict resources from member clusters and protect resources on member clusters from voluntary disruption, respectively.

## Evicting Resources from Member Clusters using ClusterResourcePlacementEviction

The ClusterResourcePlacementEviction object is used to remove resources from a member cluster once the resources have already been propagated from the hub cluster.

To successfully evict resources from a cluster, the user needs to specify:
- The name of the ClusterResourcePlacement object which propagated resources to the target cluster
- The name of the target cluster from which we need to evict resources.

In this example, we will create try to evict resources from a member cluster using a ClusterResourcePlacementEviction object.


0 comments on commit b630d54

Please sign in to comment.