k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/cadvisor/cadvisor.yaml (about)

     1  presets:
     2  - labels:
     3      preset-cadvisor-docker-credential: "true"
     4    env:
     5    - name: DOCKER_USER
     6      value: /etc/cadvisor-cred/username
     7    - name: DOCKER_PASSWORD
     8      value: /etc/cadvisor-cred/password
     9    volumes:
    10    - name: cadvisor-cred
    11      secret:
    12        defaultMode: 0400
    13        secretName: cadvisor-docker-credential
    14    volumeMounts:
    15    - name: cadvisor-cred
    16      mountPath: /etc/cadvisor-cred
    17      readOnly: true
    18  
    19  presubmits:
    20    google/cadvisor:
    21    - name: pull-cadvisor-e2e
    22      always_run: true
    23      labels:
    24        preset-service-account: "true"
    25        preset-k8s-ssh: "true"
    26      decorate: true
    27      decoration_config:
    28        timeout: 90m
    29      extra_refs:
    30      - org: kubernetes
    31        repo: kubernetes
    32        base_ref: master
    33        path_alias: k8s.io/kubernetes
    34        workdir: true
    35      - org: kubernetes
    36        repo: test-infra
    37        base_ref: master
    38        path_alias: k8s.io/test-infra
    39      spec:
    40        containers:
    41        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    42          resources:
    43            limits:
    44              cpu: 4
    45              memory: 6Gi
    46            requests:
    47              cpu: 4
    48              memory: 6Gi
    49          command:
    50            - runner.sh
    51            - /workspace/scenarios/kubernetes_e2e.py
    52          args:
    53          - --deployment=node
    54          - --gcp-project=cadvisor-e2e
    55          - --gcp-zone=us-central1-f
    56          - --node-args=--image-config-file=/home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/containerd/image-cadvisor.yaml --test-suite=cadvisor
    57          - --node-tests=true
    58          - --provider=gce
    59          - --test_args=--nodes=1
    60          - --timeout=10m
    61  
    62      annotations:
    63        testgrid-dashboards: presubmits-misc
    64        testgrid-tab-name: cadvisor
    65  
    66    kubernetes/kubernetes: # Temporary test for https://github.com/kubernetes/kubernetes/pull/116517
    67    - name: pull-cadvisor-e2e-kubernetes
    68      always_run: false
    69      labels:
    70        preset-service-account: "true"
    71        preset-k8s-ssh: "true"
    72      decorate: true
    73      decoration_config:
    74        timeout: 90m
    75      path_alias: k8s.io/kubernetes
    76      extra_refs:
    77      - org: kubernetes
    78        repo: test-infra
    79        base_ref: master
    80        path_alias: k8s.io/test-infra
    81      spec:
    82        containers:
    83        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    84          resources:
    85            limits:
    86              cpu: 4
    87              memory: 6Gi
    88            requests:
    89              cpu: 4
    90              memory: 6Gi
    91          command:
    92            - runner.sh
    93            - /workspace/scenarios/kubernetes_e2e.py
    94          args:
    95          - --deployment=node
    96          - --gcp-project=cadvisor-e2e
    97          - --gcp-zone=us-central1-f
    98          - --node-args=--image-config-file=/home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/containerd/image-cadvisor.yaml --test-suite=cadvisor
    99          - --node-tests=true
   100          - --provider=gce
   101          - --test_args=--nodes=1
   102          - --timeout=10m
   103  
   104      annotations:
   105        testgrid-dashboards: presubmits-misc
   106        testgrid-tab-name: cadvisor-temp
   107  periodics:
   108  - name: ci-cadvisor-e2e
   109    interval: 8h
   110    labels:
   111      preset-service-account: "true"
   112      preset-k8s-ssh: "true"
   113    decorate: true
   114    decoration_config:
   115      timeout: 90m
   116    extra_refs:
   117      - org: kubernetes
   118        repo: kubernetes
   119        base_ref: master
   120        path_alias: k8s.io/kubernetes
   121        workdir: true
   122      - org: kubernetes
   123        repo: test-infra
   124        base_ref: master
   125        path_alias: k8s.io/test-infra
   126      - org: google
   127        repo: cadvisor
   128        base_ref: master
   129        path_alias: github.com/google/cadvisor
   130    spec:
   131      containers:
   132      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   133        resources:
   134          limits:
   135            cpu: 4
   136            memory: 6Gi
   137          requests:
   138            cpu: 4
   139            memory: 6Gi
   140        command:
   141          - runner.sh
   142          - /workspace/scenarios/kubernetes_e2e.py
   143        args:
   144        - --deployment=node
   145        - --gcp-project=ci-cadvisor-e2e
   146        - --gcp-zone=us-central1-f
   147        - --node-args=--image-config-file=/home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/containerd/image-cadvisor.yaml --test-suite=cadvisor
   148        - --node-tests=true
   149        - --provider=gce
   150        - --test_args=--nodes=1
   151        - --timeout=10m
   152        env:
   153        - name: GOPATH
   154          value: /go
   155    annotations:
   156      testgrid-dashboards: sig-node-cadvisor
   157      testgrid-tab-name: cadvisor-e2e