ClusterResourceBinding v1alpha2
apiVersion: work.karmada.io/v1alpha2
import "github.com/karmada-io/karmada/pkg/apis/work/v1alpha2"
ClusterResourceBinding
ClusterResourceBinding represents a binding of a kubernetes resource with a ClusterPropagationPolicy.
-
apiVersion: work.karmada.io/v1alpha2
-
kind: ClusterResourceBinding
-
metadata (ObjectMeta)
-
spec (ResourceBindingSpec), required
Spec represents the desired behavior.
-
status (ResourceBindingStatus)
Status represents the most recently observed status of the ResourceBinding.
ClusterResourceBindingList
ClusterResourceBindingList contains a list of ClusterResourceBinding.
-
apiVersion: work.karmada.io/v1alpha2
-
kind: ClusterResourceBindingList
-
metadata (ListMeta)
-
items ([]ClusterResourceBinding), required
Items is the list of ClusterResourceBinding.
Operations
get read the specified ClusterResourceBinding
HTTP Request
GET /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}
Parameters
-
name (in path): string, required
name of the ClusterResourceBinding
-
pretty (in query): string
Response
200 (ClusterResourceBinding): OK
get read status of the specified ClusterResourceBinding
HTTP Request
GET /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}/status
Parameters
-
name (in path): string, required
name of the ClusterResourceBinding
-
pretty (in query): string
Response
200 (ClusterResourceBinding): OK
list list or watch objects of kind ClusterResourceBinding
HTTP Request
GET /apis/work.karmada.io/v1alpha2/clusterresourcebindings
Parameters
-
allowWatchBookmarks (in query): boolean
-
continue (in query): string
-
fieldSelector (in query): string
-
labelSelector (in query): string
-
limit (in query): integer
-
pretty (in query): string
-
resourceVersion (in query): string
-
resourceVersionMatch (in query): string
-
sendInitialEvents (in query): boolean
-
timeoutSeconds (in query): integer
-
watch (in query): boolean
Response
200 (ClusterResourceBindingList): OK
create create a ClusterResourceBinding
HTTP Request
POST /apis/work.karmada.io/v1alpha2/clusterresourcebindings
Parameters
-
body: ClusterResourceBinding, required
-
dryRun (in query): string
-
fieldManager (in query): string
-
fieldValidation (in query): string
-
pretty (in query): string
Response
200 (ClusterResourceBinding): OK
201 (ClusterResourceBinding): Created
202 (ClusterResourceBinding): Accepted
update replace the specified ClusterResourceBinding
HTTP Request
PUT /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}
Parameters
-
name (in path): string, required
name of the ClusterResourceBinding
-
body: ClusterResourceBinding, required
-
dryRun (in query): string
-
fieldManager (in query): string
-
fieldValidation (in query): string
-
pretty (in query): string
Response
200 (ClusterResourceBinding): OK
201 (ClusterResourceBinding): Created
update replace status of the specified ClusterResourceBinding
HTTP Request
PUT /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}/status
Parameters
-
name (in path): string, required
name of the ClusterResourceBinding
-
body: ClusterResourceBinding, required
-
dryRun (in query): string
-
fieldManager (in query): string
-
fieldValidation (in query): string
-
pretty (in query): string
Response
200 (ClusterResourceBinding): OK
201 (ClusterResourceBinding): Created
patch partially update the specified ClusterResourceBinding
HTTP Request
PATCH /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}
Parameters
-
name (in path): string, required
name of the ClusterResourceBinding
-
body: Patch, required
-
dryRun (in query): string
-
fieldManager (in query): string
-
fieldValidation (in query): string
-
force (in query): boolean
-
pretty (in query): string
Response
200 (ClusterResourceBinding): OK
201 (ClusterResourceBinding): Created
patch partially update status of the specified ClusterResourceBinding
HTTP Request
PATCH /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}/status
Parameters
-
name (in path): string, required
name of the ClusterResourceBinding
-
body: Patch, required
-
dryRun (in query): string
-
fieldManager (in query): string
-
fieldValidation (in query): string
-
force (in query): boolean
-
pretty (in query): string
Response
200 (ClusterResourceBinding): OK
201 (ClusterResourceBinding): Created
delete delete a ClusterResourceBinding
HTTP Request
DELETE /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}
Parameters
-
name (in path): string, required
name of the ClusterResourceBinding
-
body: DeleteOptions
-
dryRun (in query): string
-
gracePeriodSeconds (in query): integer
-
ignoreStoreReadErrorWithClusterBreakingPotential (in query): boolean
-
pretty (in query): string
-
propagationPolicy (in query): string
Response
200 (Status): OK
202 (Status): Accepted
deletecollection delete collection of ClusterResourceBinding
HTTP Request
DELETE /apis/work.karmada.io/v1alpha2/clusterresourcebindings
Parameters
-
body: DeleteOptions
-
continue (in query): string
-
dryRun (in query): string
-
fieldSelector (in query): string
-
gracePeriodSeconds (in query): integer
-
ignoreStoreReadErrorWithClusterBreakingPotential (in query): boolean
-
labelSelector (in query): string
-
limit (in query): integer
-
pretty (in query): string
-
propagationPolicy (in query): string
-
resourceVersion (in query): string
-
resourceVersionMatch (in query): string
-
sendInitialEvents (in query): boolean
-
timeoutSeconds (in query): integer
Response
200 (Status): OK