github.com/cilium/cilium@v1.16.2/Documentation/network/servicemesh/ingress-and-network-policy.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  .. _gs_ingress_and_network_policy:
     8  
     9  **********************************
    10  Ingress and Network Policy Example
    11  **********************************
    12  
    13  This example uses the same configuration as the base HTTP Ingress example, using
    14  the ``bookinfo`` demo microservices app from the Istio project, and then adds
    15  CiliumNetworkPolicy on the top.
    16  
    17  .. include:: demo-app.rst
    18  
    19  .. _gs_basic_ingress_policy:
    20  
    21  .. include:: basic-ingress.rst
    22  
    23  
    24  Confirm that your Ingress is working:
    25  
    26  .. code-block:: shell-session
    27  
    28      $ HTTP_INGRESS=$(kubectl get ingress basic-ingress -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
    29      $ curl --fail -s http://"$HTTP_INGRESS"/details/1 | jq
    30      {
    31        "id": 1,
    32        "author": "William Shakespeare",
    33        "year": 1595,
    34        "type": "paperback",
    35        "pages": 200,
    36        "publisher": "PublisherA",
    37        "language": "English",
    38        "ISBN-10": "1234567890",
    39        "ISBN-13": "123-1234567890"
    40      }
    41  
    42  .. include:: external-ingress-policy.rst
    43  
    44  .. include:: default-deny-ingress-policy.rst