endpoint

Set label configuration of endpoint

Sets labels associated with an endpoint. These can be user provided or derived from the orchestration system.

patch/endpoint/{id}/labels

Path parameters

idstring required

String describing an endpoint with the format [prefix:]id. If no prefix is specified, a prefix of cilium-local: is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints.

Supported endpoint id prefixes:

  • cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595
  • cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343
  • cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0
  • container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)
  • container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)
  • pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)
  • cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1
  • docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444

Request body

userstring[]

Set of labels

Response

Success

Changes