1.4 KiB
1.4 KiB
Binding v1
| Group | Version | Kind |
|---|---|---|
| Core | v1 | Binding |
Binding ties one object to another. For example, a pod is bound to a node by a scheduler.
| Field | Description |
|---|---|
| metadata ObjectMeta |
Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata |
| target ObjectReference |
The target object that you want to bind to the standard object. |
Write Operations
See supported operations below...
Create
bdocs-tab:kubectl
kubectlCommand
Coming Soon
bdocs-tab:curl
curlCommand (requireskubectl proxyto be running)
Coming Soon
bdocs-tab:kubectl Output
Coming Soon
bdocs-tab:curl Response Body
Coming Soon
create a Binding
HTTP Request
POST /api/v1/namespaces/{namespace}/bindings
Path Parameters
| Parameter | Description |
|---|---|
| body Binding |
|
| namespace | object name and auth scope, such as for teams and projects |
| pretty | If 'true', then the output is pretty printed. |
Response
| Code | Description |
|---|---|
| 200 Binding |
OK |