k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/experiment/bumpmonitoring/README.md (about)

     1  # bumpmonitoring
     2  
     3  This package is used for copying changes from k8s prow monitoring stacks, more
     4  specifically mixins to other prow monitoring stacks.
     5  
     6  This is based on the assumption that:
     7  
     8  - Configs under
     9    [`mixins/prometheus`](./config/prow/cluster/monitoring/mixins/prometheus)
    10    are general enough that doesn't contain any k8s prow specific information
    11  - Prow specific values are configured in
    12    [`mixins/lib`](./config/prow/cluster/monitoring/mixins/lib)
    13  - Downstream prow monitoring stacks maintain the same directory layout under
    14    `mixins` as k8s prow
    15  
    16  This tool will:
    17  
    18  - Copy files(Except for `prometheus.libsonnet`, explained below) from
    19    [`mixins/prometheus`](./config/prow/cluster/monitoring/mixins/prometheus) to
    20    other prow instances, skip the files that don't exist in downstream prow
    21    (Downstream prow will need to manually add the new file, which will be bumped
    22    by this tool afterwards)
    23  - For `mixins/prometheus/prometheus.libsonnet`, it's essentially a file
    24    explicitly importing other files under this directory, no change should be
    25    expected in this file as the tool doesn't add/remove files
    26  - Create PR