github.com/cilium/cilium@v1.16.2/Documentation/network/kubernetes/ciliumendpoint.rst (about)

     1  .. only:: not (epub or latex or html)
     2  
     3      WARNING: You are looking at unreleased Cilium documentation.
     4      Please use the official rendered version released here:
     5      https://docs.cilium.io
     6  
     7  .. _CiliumEndpoint:
     8  
     9  ************
    10  Endpoint CRD
    11  ************
    12  
    13  When managing pods in Kubernetes, Cilium will create a Custom Resource
    14  Definition (CRD) of Kind ``CiliumEndpoint``. One ``CiliumEndpoint`` is created
    15  for each pod managed by Cilium, with the same name and in the same namespace.
    16  The ``CiliumEndpoint`` objects contain the same information as the json output
    17  of ``cilium-dbg endpoint get`` under the ``.status`` field, but can be fetched for
    18  all pods in the cluster.  Adding the ``-o json`` will export more information
    19  about each endpoint. This includes the endpoint's labels, security identity and
    20  the policy in effect on it.
    21  
    22  For example:
    23  
    24  .. code-block:: shell-session
    25  
    26      $ kubectl get ciliumendpoints --all-namespaces
    27      NAMESPACE     NAME                     AGE
    28      default       app1-55d7944bdd-l7c8j    1h
    29      default       app1-55d7944bdd-sn9xj    1h
    30      default       app2                     1h
    31      default       app3                     1h
    32      kube-system   cilium-health-minikube   1h
    33      kube-system   microscope               1h
    34  
    35  .. note:: Each cilium-agent pod will create a CiliumEndpoint to represent its
    36            own inter-agent health-check endpoint. These are not pods in
    37            Kubernetes and are in the ``kube-system`` namespace. They are named as
    38            ``cilium-health-<node-name>``