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

     1  presubmits:
     2    kubernetes/kubernetes:
     3    - name: pull-kubernetes-e2e-kind
     4      cluster: k8s-infra-prow-build
     5      optional: false
     6      always_run: true
     7      decorate: true
     8      skip_branches:
     9      - release-\d+\.\d+ # per-release settings
    10      labels:
    11        preset-dind-enabled: "true"
    12        preset-kind-volume-mounts: "true"
    13      decoration_config:
    14        timeout: 60m
    15        grace_period: 15m
    16      path_alias: k8s.io/kubernetes
    17      spec:
    18        containers:
    19        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
    20          command:
    21          - wrapper.sh
    22          - bash
    23          - -c
    24          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
    25          env:
    26          - name: FOCUS
    27            value: "."
    28          # TODO(bentheelder): reduce the skip list further
    29          - name: SKIP
    30            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|NFS|nfs|inline.execution.and.attach|should.be.rejected.when.no.endpoints.exist
    31          - name: PARALLEL
    32            value: "true"
    33          # we need privileged mode in order to do docker in docker
    34          securityContext:
    35            privileged: true
    36          resources:
    37            limits:
    38              cpu: 7
    39              memory: 9000Mi
    40            requests:
    41              cpu: 7
    42              memory: 9000Mi
    43      annotations:
    44        testgrid-num-failures-to-alert: '10'
    45        testgrid-alert-stale-results-hours: '24'
    46        testgrid-create-test-group: 'true'
    47        fork-per-release: "true"
    48  
    49  
    50    - name: pull-kubernetes-e2e-kind-canary
    51      cluster: k8s-infra-prow-build
    52      optional: true
    53      always_run: false # manual for testing new configurations
    54      decorate: true
    55      skip_branches:
    56      - release-\d+\.\d+ # per-release settings
    57      labels:
    58        preset-dind-enabled: "true"
    59        preset-kind-volume-mounts: "true"
    60      decoration_config:
    61        timeout: 60m
    62        grace_period: 15m
    63      path_alias: k8s.io/kubernetes
    64      spec:
    65        containers:
    66        - image: gcr.io/k8s-staging-test-infra/krte:latest-master
    67          imagePullPolicy: Always # pull latest image for canary testing
    68          command:
    69          - wrapper.sh
    70          - bash
    71          - -c
    72          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
    73          env:
    74          - name: FOCUS
    75            value: "."
    76          # TODO(bentheelder): reduce the skip list further
    77          - name: SKIP
    78            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing
    79          - name: PARALLEL
    80            value: "true"
    81          # we need privileged mode in order to do docker in docker
    82          securityContext:
    83            privileged: true
    84          resources:
    85            limits:
    86              cpu: 4
    87              memory: 9Gi
    88            requests:
    89              cpu: 4
    90              memory: 9Gi
    91      annotations:
    92        testgrid-num-failures-to-alert: '10'
    93        testgrid-alert-stale-results-hours: '24'
    94        testgrid-create-test-group: 'true'
    95  
    96    - name: pull-kubernetes-e2e-kind-ipv6
    97      cluster: k8s-infra-prow-build
    98      optional: false
    99      always_run: true
   100      skip_report: false
   101      decorate: true
   102      skip_branches:
   103      - release-\d+\.\d+ # per-release settings
   104      labels:
   105        preset-dind-enabled: "true"
   106        preset-kind-volume-mounts: "true"
   107      decoration_config:
   108        timeout: 60m
   109        grace_period: 15m
   110      path_alias: k8s.io/kubernetes
   111      spec:
   112        containers:
   113        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   114          command:
   115          - wrapper.sh
   116          - bash
   117          - -c
   118          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   119          env:
   120          - name: FOCUS
   121            value: "."
   122          # TODO(bentheelder): reduce the skip list further
   123          - name: SKIP
   124            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|\[sig-storage\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing
   125          - name: PARALLEL
   126            value: "true"
   127          # enable IPV6 in bootstrap image
   128          - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   129            value: "true"
   130          # tell kind CI script to use ipv6
   131          - name: "IP_FAMILY"
   132            value: "ipv6"
   133          # we need privileged mode in order to do docker in docker
   134          securityContext:
   135            privileged: true
   136          resources:
   137            limits:
   138              cpu: 4
   139              memory: 9Gi
   140            requests:
   141              cpu: 4
   142              memory: 9Gi
   143      annotations:
   144        fork-per-release: "true"
   145        testgrid-num-failures-to-alert: '10'
   146        testgrid-alert-stale-results-hours: '24'
   147        testgrid-create-test-group: 'true'
   148  
   149    - name: pull-kubernetes-e2e-kind-ipv6-canary
   150      cluster: k8s-infra-prow-build
   151      optional: true
   152      always_run: false # manual for testing new configurations
   153      decorate: true
   154      skip_branches:
   155      - release-\d+\.\d+ # per-release settings
   156      labels:
   157        preset-dind-enabled: "true"
   158        preset-kind-volume-mounts: "true"
   159      decoration_config:
   160        timeout: 60m
   161        grace_period: 15m
   162      path_alias: k8s.io/kubernetes
   163      spec:
   164        containers:
   165        - image: gcr.io/k8s-staging-test-infra/krte:latest-master
   166          imagePullPolicy: Always # pull latest image for canary testing
   167          command:
   168          - wrapper.sh
   169          - bash
   170          - -c
   171          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   172          env:
   173          - name: FOCUS
   174            value: "."
   175          # TODO(bentheelder): reduce the skip list further
   176          - name: SKIP
   177            value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing
   178          - name: PARALLEL
   179            value: "true"
   180          # enable IPV6 in bootstrap image
   181          - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   182            value: "true"
   183          # tell kind CI script to use ipv6
   184          - name: "IP_FAMILY"
   185            value: "ipv6"
   186          # we need privileged mode in order to do docker in docker
   187          securityContext:
   188            privileged: true
   189          resources:
   190            limits:
   191              cpu: 4
   192              memory: 9Gi
   193            requests:
   194              cpu: 4
   195              memory: 9Gi
   196      annotations:
   197        testgrid-num-failures-to-alert: '10'
   198        testgrid-alert-stale-results-hours: '24'
   199        testgrid-create-test-group: 'true'
   200  
   201    - name: pull-kubernetes-conformance-kind-ga-only
   202      cluster: k8s-infra-prow-build
   203      optional: true
   204      always_run: false
   205      decorate: true
   206      skip_branches:
   207      - release-\d+\.\d+ # per-release settings
   208      labels:
   209        preset-dind-enabled: "true"
   210        preset-kind-volume-mounts: "true"
   211      decoration_config:
   212        timeout: 2h # allow plenty of time for a serial conformance run
   213        grace_period: 15m
   214      path_alias: k8s.io/kubernetes
   215      spec:
   216        containers:
   217        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   218          command:
   219          - wrapper.sh
   220          - bash
   221          - -c
   222          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   223          env:
   224          - name: GA_ONLY
   225            value: "true"
   226          # we need privileged mode in order to do docker in docker
   227          securityContext:
   228            privileged: true
   229          resources:
   230            limits:
   231              cpu: 4
   232              memory: 9Gi
   233            requests:
   234              cpu: 4
   235              memory: 9Gi
   236      annotations:
   237        testgrid-num-failures-to-alert: '10'
   238        testgrid-alert-stale-results-hours: '24'
   239        testgrid-create-test-group: 'true'
   240        testgrid-dashboards: sig-testing-kind
   241  
   242    - name: pull-kubernetes-conformance-kind-ga-only-parallel
   243      cluster: k8s-infra-prow-build
   244      always_run: true
   245      decorate: true
   246      skip_branches:
   247      - release-\d+\.\d+ # per-release settings
   248      labels:
   249        preset-dind-enabled: "true"
   250        preset-kind-volume-mounts: "true"
   251      decoration_config:
   252        timeout: 60m
   253        grace_period: 15m
   254      path_alias: k8s.io/kubernetes
   255      spec:
   256        containers:
   257        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   258          command:
   259          - wrapper.sh
   260          - bash
   261          - -c
   262          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   263          env:
   264          - name: GA_ONLY
   265            value: "true"
   266          - name: PARALLEL
   267            value: "true"
   268          # we need privileged mode in order to do docker in docker
   269          securityContext:
   270            privileged: true
   271          resources:
   272            limits:
   273              cpu: 4
   274              memory: 9Gi
   275            requests:
   276              cpu: 4
   277              memory: 9Gi
   278      annotations:
   279        fork-per-release: "true"
   280        testgrid-num-failures-to-alert: '10'
   281        testgrid-alert-stale-results-hours: '24'
   282        testgrid-create-test-group: 'true'
   283        testgrid-dashboards: sig-testing-kind
   284  
   285    - name: pull-kubernetes-e2e-kind-alpha-features
   286      cluster: k8s-infra-prow-build
   287      optional: true
   288      always_run: false
   289      decorate: true
   290      skip_branches:
   291      - release-\d+\.\d+ # per-release settings
   292      labels:
   293        preset-dind-enabled: "true"
   294        preset-kind-volume-mounts: "true"
   295      decoration_config:
   296        timeout: 60m
   297        grace_period: 15m
   298      path_alias: k8s.io/kubernetes
   299      spec:
   300        containers:
   301        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   302          command:
   303          - wrapper.sh
   304          - bash
   305          - -c
   306          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   307          env:
   308          # EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
   309          - name: FEATURE_GATES
   310            value: '{"AllAlpha":true,"EventedPLEG":false}'
   311          - name: RUNTIME_CONFIG
   312            value: '{"api/alpha":"true", "api/ga":"true"}'
   313          - name: FOCUS
   314            value: "."
   315          - name: SKIP
   316            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
   317          - name: PARALLEL
   318            value: "true"
   319          # we need privileged mode in order to do docker in docker
   320          securityContext:
   321            privileged: true
   322          resources:
   323            limits:
   324              cpu: 7
   325              memory: 9000Mi
   326            requests:
   327              cpu: 7
   328              memory: 9000Mi
   329      annotations:
   330        testgrid-num-failures-to-alert: '10'
   331        testgrid-alert-stale-results-hours: '24'
   332        testgrid-create-test-group: 'true'
   333  
   334    - name: pull-kubernetes-e2e-kind-beta-features
   335      cluster: k8s-infra-prow-build
   336      optional: true
   337      always_run: false
   338      decorate: true
   339      skip_branches:
   340      - release-\d+\.\d+ # per-release settings
   341      labels:
   342        preset-dind-enabled: "true"
   343        preset-kind-volume-mounts: "true"
   344      decoration_config:
   345        timeout: 60m
   346        grace_period: 15m
   347      path_alias: k8s.io/kubernetes
   348      spec:
   349        containers:
   350        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   351          command:
   352          - wrapper.sh
   353          - bash
   354          - -c
   355          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   356          env:
   357          - name: FEATURE_GATES
   358            value: '{"AllBeta":true}'
   359          - name: RUNTIME_CONFIG
   360            value: '{"api/beta":"true", "api/ga":"true"}'
   361          - name: FOCUS
   362            value: "."
   363          - name: SKIP
   364            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
   365          - name: PARALLEL
   366            value: "true"
   367          # we need privileged mode in order to do docker in docker
   368          securityContext:
   369            privileged: true
   370          resources:
   371            limits:
   372              cpu: 7
   373              memory: 9000Mi
   374            requests:
   375              cpu: 7
   376              memory: 9000Mi
   377      annotations:
   378        testgrid-num-failures-to-alert: '10'
   379        testgrid-alert-stale-results-hours: '24'
   380        testgrid-create-test-group: 'true'
   381  
   382    - name: pull-kubernetes-e2e-kind-alpha-beta-features
   383      cluster: k8s-infra-prow-build
   384      optional: true
   385      always_run: false
   386      decorate: true
   387      skip_branches:
   388      - release-\d+\.\d+ # per-release settings
   389      labels:
   390        preset-dind-enabled: "true"
   391        preset-kind-volume-mounts: "true"
   392      decoration_config:
   393        timeout: 60m
   394        grace_period: 15m
   395      path_alias: k8s.io/kubernetes
   396      spec:
   397        containers:
   398        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   399          command:
   400          - wrapper.sh
   401          - bash
   402          - -c
   403          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   404          env:
   405          # EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
   406          - name: FEATURE_GATES
   407            value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
   408          - name: RUNTIME_CONFIG
   409            value: '{"api/all":"true"}'
   410          - name: FOCUS
   411            value: "."
   412          - name: SKIP
   413            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
   414          - name: PARALLEL
   415            value: "true"
   416          # we need privileged mode in order to do docker in docker
   417          securityContext:
   418            privileged: true
   419          resources:
   420            limits:
   421              cpu: 7
   422              memory: 9000Mi
   423            requests:
   424              cpu: 7
   425              memory: 9000Mi
   426      annotations:
   427        testgrid-num-failures-to-alert: '10'
   428        testgrid-alert-stale-results-hours: '24'
   429        testgrid-create-test-group: 'true'
   430    - name: pull-kubernetes-e2e-kind-evented-pleg
   431      cluster: k8s-infra-prow-build
   432      optional: true
   433      always_run: false
   434      decorate: true
   435      skip_branches:
   436      - release-\d+\.\d+ # per-release settings
   437      labels:
   438        preset-dind-enabled: "true"
   439        preset-kind-volume-mounts: "true"
   440      decoration_config:
   441        timeout: 60m
   442        grace_period: 15m
   443      path_alias: k8s.io/kubernetes
   444      spec:
   445        containers:
   446        - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   447          command:
   448          - wrapper.sh
   449          - bash
   450          - -c
   451          - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   452          env:
   453          - name: FEATURE_GATES
   454            value: '{"EventedPLEG":true}'
   455          - name: RUNTIME_CONFIG
   456            value: '{"api/alpha":"true", "api/ga":"true"}'
   457          - name: FOCUS
   458            value: "."
   459          - name: SKIP
   460            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
   461          - name: PARALLEL
   462            value: "true"
   463          # we need privileged mode in order to do docker in docker
   464          securityContext:
   465            privileged: true
   466          resources:
   467            limits:
   468              cpu: 7
   469              memory: 9000Mi
   470            requests:
   471              cpu: 7
   472              memory: 9000Mi
   473      annotations:
   474        testgrid-num-failures-to-alert: '10'
   475        testgrid-alert-stale-results-hours: '24'
   476        testgrid-create-test-group: 'true'
   477  periodics:
   478  - interval: 24h
   479    cluster: k8s-infra-prow-build
   480    name: ci-kubernetes-e2e-kind-alpha-features
   481    annotations:
   482      testgrid-dashboards: sig-testing-kind
   483      testgrid-tab-name: kind-master-alpha
   484      description: Uses kubetest to run e2e tests against a latest kubernetes master and alpha features enabled cluster created with sigs.k8s.io/kind
   485      testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
   486      testgrid-num-columns-recent: '6'
   487    labels:
   488      preset-dind-enabled: "true"
   489      preset-kind-volume-mounts: "true"
   490    decorate: true
   491    decoration_config:
   492      timeout: 60m
   493    extra_refs:
   494    - org: kubernetes
   495      repo: kubernetes
   496      base_ref: master
   497      path_alias: k8s.io/kubernetes
   498    spec:
   499      containers:
   500      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   501        command:
   502        - wrapper.sh
   503        - bash
   504        - -c
   505        - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   506        env:
   507        - name: FEATURE_GATES
   508          value: '{"AllAlpha":true,"EventedPLEG": false}'
   509        - name: RUNTIME_CONFIG
   510          value: '{"api/alpha":"true", "api/ga":"true"}'
   511        - name: FOCUS
   512          value: "."
   513        - name: SKIP
   514          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
   515        - name: PARALLEL
   516          value: "true"
   517        # we need privileged mode in order to do docker in docker
   518        securityContext:
   519          privileged: true
   520        resources:
   521          limits:
   522            memory: 9Gi
   523            cpu: 7
   524          requests:
   525            # these are both a bit below peak usage during build
   526            # this is mostly for building kubernetes
   527            memory: 9Gi
   528            cpu: 7
   529  
   530  - interval: 24h
   531    cluster: k8s-infra-prow-build
   532    name: ci-kubernetes-e2e-kind-beta-features
   533    annotations:
   534      testgrid-dashboards: sig-testing-kind
   535      testgrid-tab-name: kind-master-beta
   536      description: Uses kubetest to run e2e tests against a latest kubernetes master and beta features enabled cluster created with sigs.k8s.io/kind
   537      testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
   538      testgrid-num-columns-recent: '6'
   539    labels:
   540      preset-dind-enabled: "true"
   541      preset-kind-volume-mounts: "true"
   542    decorate: true
   543    decoration_config:
   544      timeout: 60m
   545    extra_refs:
   546    - org: kubernetes
   547      repo: kubernetes
   548      base_ref: master
   549      path_alias: k8s.io/kubernetes
   550    spec:
   551      containers:
   552      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   553        command:
   554        - wrapper.sh
   555        - bash
   556        - -c
   557        - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   558        env:
   559        - name: FEATURE_GATES
   560          value: '{"AllBeta":true}'
   561        - name: RUNTIME_CONFIG
   562          value: '{"api/beta":"true", "api/ga":"true"}'
   563        - name: FOCUS
   564          value: "."
   565        - name: SKIP
   566          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
   567        - name: PARALLEL
   568          value: "true"
   569        # we need privileged mode in order to do docker in docker
   570        securityContext:
   571          privileged: true
   572        resources:
   573          limits:
   574            memory: 9Gi
   575            cpu: 7
   576          requests:
   577            # these are both a bit below peak usage during build
   578            # this is mostly for building kubernetes
   579            memory: 9Gi
   580            cpu: 7
   581  
   582  - interval: 24h
   583    cluster: k8s-infra-prow-build
   584    name: ci-kubernetes-e2e-kind-alpha-beta-features
   585    annotations:
   586      testgrid-dashboards: sig-testing-kind
   587      testgrid-tab-name: kind-master-alpha-beta
   588      description: Uses kubetest to run e2e tests against a latest kubernetes master and all features enabled cluster created with sigs.k8s.io/kind
   589      testgrid-alert-email: bentheelder@google.com,antonio.ojea.garcia@gmail.com
   590      testgrid-num-columns-recent: '6'
   591    labels:
   592      preset-dind-enabled: "true"
   593      preset-kind-volume-mounts: "true"
   594    decorate: true
   595    decoration_config:
   596      timeout: 60m
   597    extra_refs:
   598    - org: kubernetes
   599      repo: kubernetes
   600      base_ref: master
   601      path_alias: k8s.io/kubernetes
   602    spec:
   603      containers:
   604      - image: gcr.io/k8s-staging-test-infra/krte:v20240515-17c6d50e24-master
   605        command:
   606        - wrapper.sh
   607        - bash
   608        - -c
   609        - curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
   610        env:
   611        - name: FEATURE_GATES
   612          value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG": false}'
   613        - name: RUNTIME_CONFIG
   614          value: '{"api/all":"true"}'
   615        - name: FOCUS
   616          value: "."
   617        - name: SKIP
   618          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
   619        - name: PARALLEL
   620          value: "true"
   621        # we need privileged mode in order to do docker in docker
   622        securityContext:
   623          privileged: true
   624        resources:
   625          limits:
   626            memory: 9Gi
   627            cpu: 7
   628          requests:
   629            # these are both a bit below peak usage during build
   630            # this is mostly for building kubernetes
   631            memory: 9Gi
   632            cpu: 7
   633  - interval: 24h
   634    cluster: k8s-infra-prow-build
   635    name: ci-kubernetes-e2e-kind-rootless
   636    annotations:
   637      testgrid-dashboards: sig-testing-kind
   638      testgrid-tab-name: kind-rootless
   639      description: Kubernetes in Rootless Docker (in GCE VM)
   640      # GitHub ID: @AkihiroSuda
   641      testgrid-alert-email: suda.kyoto@gmail.com
   642      testgrid-num-columns-recent: '6'
   643    labels:
   644      preset-service-account: "true"
   645      preset-k8s-ssh: "true"
   646    decorate: true
   647    decoration_config:
   648      timeout: 90m
   649    extra_refs:
   650    - org: kubernetes
   651      repo: kubernetes
   652      base_ref: master
   653      path_alias: k8s.io/kubernetes
   654    spec:
   655      containers:
   656      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   657        command:
   658        - runner.sh
   659        args:
   660        - /bin/bash
   661        - -c
   662        - |
   663          set -eux
   664          # kindinv: Kubernetes in (Rootless) Docker in (GCE) VM
   665          # See https://github.com/rootless-containers/kubetest2-kindinv
   666          #
   667          # GCE VM is used for setting up cgroup v2 and systemd.
   668          # (k8s-infra-prow-build lacks cgroup v2, and the kubekins-e2e container lacks systemd)
   669          (cd ; GO111MODULE=on go install github.com/rootless-containers/kubetest2-kindinv@master)
   670          mkdir -p -m 0700 ~/.ssh
   671          cp -f "${GCE_SSH_PRIVATE_KEY_FILE}" ~/.ssh/google_compute_engine
   672          cp -f "${GCE_SSH_PUBLIC_KEY_FILE}" ~/.ssh/google_compute_engine.pub
   673          exec kubetest2 kindinv \
   674            --boskos-location=http://boskos.test-pods.svc.cluster.local \
   675            --gcp-zone=us-west1-b \
   676            --instance-image=ubuntu-os-cloud/ubuntu-2204-lts \
   677            --instance-type=n2-standard-4 \
   678            --kind-rootless \
   679            --user=rootless \
   680            --build \
   681            --up \
   682            --down \
   683            --test=ginkgo \
   684            -- \
   685            --focus-regex='\[NodeConformance\]' \
   686            --skip-regex='\[Environment:NotInUserNS\]|\[Slow\]' \
   687            --parallel=8
   688        resources:
   689          limits:
   690            memory: 2Gi
   691            cpu: 2
   692          requests:
   693            memory: 2Gi
   694            cpu: 2
   695    rerun_auth_config:
   696      allow_anyone: true