1. [root@UR-20210425NAMA consul]# helm install -f values.yaml consul -n consul .
    2. NAME: consul
    3. LAST DEPLOYED: Wed Jun 29 15:05:57 2022
    4. NAMESPACE: consul
    5. STATUS: deployed
    6. REVISION: 1
    7. TEST SUITE: None
    8. NOTES:
    9. CHART NAME: consul
    10. CHART VERSION: 10.2.8
    11. APP VERSION: 1.11.4
    12. ** Please be patient while the chart is being deployed **
    13. Consul can be accessed within the cluster on port 8300 at consul-headless.consul.svc.cluster.local
    14. In order to access to the Consul Web UI:
    15. 1. Get the Consul URL by running these commands:
    16. kubectl port-forward --namespace consul svc/consul-ui :
    17. echo "Consul URL: http://127.0.0.1:"
    18. 2. Access ASP.NET Core using the obtained URL.
    19. Please take into account that you need to wait until a cluster leader is elected before using the Consul Web UI.
    20. In order to check the status of the cluster you can run the following command:
    21. kubectl exec -it consul-0 -- consul members
    22. Furthermore, to know which Consul node is the cluster leader run this other command:
    23. kubectl exec -it consul-0 -- consul operator raft list-peers
    24. [root@UR-20210425NAMA consul]#