zotregistry.io/zot@v1.4.4-0.20231124084042-02a8ed785457/examples/metrics/README.md (about)

     1  
     2  A quick zot Metrics setup can be deployed locally in a kind cluster.
     3  It contains:
     4   * a Prometheus server deployed through an Operator
     5   * a dist-spec-only zot deployment (a pod with 2 containers: the zot server & the node exporter)
     6   * a zot with all extensions enabled
     7  
     8  ## Prerequisites
     9    * [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
    10    * [Kind](https://kind.sigs.k8s.io/)
    11    * [Docker](https://www.docker.com/)
    12  
    13  In case the prerequisites tool list is not fulfilled the script will install them (needs root privileges)
    14  
    15  ## Metrics setup
    16  To run a quick setup:
    17  
    18  ```
    19  ./kind-setup.sh
    20  
    21  ```
    22  
    23  At the end of the script below ports are locally available (using *kubectl port-forward*) to easy access the Prometheus & zot servers on the host:
    24   * 9090 - for accessing Prometheus server
    25   * 5000 - for zot with all extensions enabled
    26   * 5050 - for accessing dist-spec-only zot server
    27   * 5051 - for zxp access (a Prometheus Node exporter)
    28