Binding

    import "k8s.io/api/core/v1"

    Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.


    Operations


    HTTP Request

    POST /api/v1/namespaces/{namespace}/bindings

    Parameters

    • namespace (in path): string, required

      namespace

    • body: , required

    • dryRun

    • fieldValidation (in query): string

    • pretty (in query): string

      pretty

    Response

    200 (Binding): OK

    201 (): Created

    202 (Binding): Accepted

    401: Unauthorized

    create create binding of a Pod

    HTTP Request

    POST /api/v1/namespaces/{namespace}/pods/{name}/binding

    Parameters

    • name (in path): string, required

    • namespace (in path): string, required

      namespace

    • body: , required

    • dryRun (in query): string

      dryRun

    • fieldManager (in query): string

    • fieldValidation (in query): string

      fieldValidation

    Response

    200 (Binding): OK

    201 (): Created

    401: Unauthorized