k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-instrumentation/sig-instrumentation-kind-periodics.yaml (about)

     1  periodics:
     2  - interval: 12h
     3    cluster: k8s-infra-prow-build
     4    # This combines tests from ci-kubernetes-kind-conformance and sig-storage
     5    # and runs them with JSON output in all components which support that.
     6    # Also enables contextual logging and (to get more coverage) dynamic
     7    # resource allocation.
     8    name: ci-kubernetes-kind-e2e-json-logging
     9    annotations:
    10      testgrid-dashboards: sig-instrumentation-tests, sig-testing-kind
    11      testgrid-tab-name: kind-json-logging-master
    12      description: Conformance and storage tests with JSON logging enabled using sigs.k8s.io/kind
    13      # TODO: anyone else?
    14      testgrid-alert-email: bentheelder@google.com,siarkowicz@google.com,patrick.ohly@intel.com
    15      testgrid-num-columns-recent: '6'
    16      fork-per-release: "true"
    17      fork-per-release-periodic-interval: 1h 2h 6h 24h
    18    labels:
    19      preset-dind-enabled: "true"
    20      preset-kind-volume-mounts: "true"
    21    decorate: true
    22    decoration_config:
    23      timeout: 150m
    24    extra_refs:
    25    - org: kubernetes
    26      repo: kubernetes
    27      base_ref: master
    28      path_alias: k8s.io/kubernetes
    29    spec:
    30      containers:
    31      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    32        command:
    33        - wrapper.sh
    34        - bash
    35        - -c
    36        # The modified e2e-k8s.sh with support for FEATURE_GATES and RUNTIME_CONFIG comes from
    37        # https://github.com/kubernetes-sigs/kind/pull/3023. Once that PR is merged and a
    38        # kind release is done, pulling it separately via curl can be removed.
    39        - >
    40          curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" &&
    41          curl -sSL https://github.com/pohly/kind/raw/e2e-feature-gates/hack/ci/e2e-k8s.sh >$(which e2e-k8s.sh) &&
    42          chmod u+x $(which e2e-k8s.sh) &&
    43          e2e-k8s.sh
    44  
    45        env:
    46        # Options from https://github.com/kubernetes-sigs/kind/blob/d1eecc46e30cac9d35cd32dc52677ef75ec22e18/hack/ci/e2e-k8s.sh#L79-L83
    47        - name: CLUSTER_LOG_FORMAT
    48          value: json
    49        - name: KIND_CLUSTER_LOG_LEVEL
    50          # Default is 4, but we want to exercise more log calls and get more output.
    51          value: "6"
    52        - name: FEATURE_GATES
    53          value: '{"DynamicResourceAllocation":true,"ContextualLogging":true}'
    54        - name: RUNTIME_CONFIG
    55          value: '{"resource.k8s.io/v1alpha2":"true"}'
    56        # don't retry conformance tests
    57        - name: GINKGO_TOLERATE_FLAKES
    58          value: "n"
    59        - name: FOCUS
    60          value: \[Conformance\]|\[Driver:.csi-hostpath\]|DynamicResourceAllocation
    61        # TODO(bentheelder): reduce the skip list further
    62        # NOTE: this skip list is from the standard periodic kind job, just to ensure
    63        # we don't accidentally select any of these
    64        - name: SKIP
    65          value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
    66        - name: PARALLEL
    67          value: "true"
    68        # we need privileged mode in order to do docker in docker
    69        securityContext:
    70          privileged: true
    71        resources:
    72          limits:
    73            memory: 9Gi
    74            cpu: 7
    75          requests:
    76            # these are both a bit below peak usage during build
    77            # this is mostly for building kubernetes
    78            memory: 9Gi
    79            cpu: 7