k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-network/ingress-gce-e2e.yaml (about) 1 presets: 2 - labels: 3 preset-ingress-master-yaml: "true" 4 env: 5 - name: CUSTOM_INGRESS_YAML 6 # we want to keep extra spaces for the yaml file. 7 value: |2+ 8 apiVersion: v1 9 kind: Pod 10 metadata: 11 name: l7-lb-controller 12 namespace: kube-system 13 annotations: 14 scheduler.alpha.kubernetes.io/critical-pod: "" 15 seccomp.security.alpha.kubernetes.io/pod: "docker/default" 16 labels: 17 k8s-app: gcp-lb-controller 18 kubernetes.io/name: "GLBC" 19 spec: 20 terminationGracePeriodSeconds: 600 21 hostNetwork: true 22 containers: 23 # HEAD is used unless otherwised specified by each individual job. 24 - image: gcr.io/k8s-ingress-image-push/ingress-gce-glbc-amd64:nightly 25 livenessProbe: 26 httpGet: 27 path: /healthz 28 port: 8086 29 scheme: HTTP 30 initialDelaySeconds: 30 31 # healthz reaches out to GCE 32 periodSeconds: 30 33 timeoutSeconds: 15 34 successThreshold: 1 35 failureThreshold: 5 36 name: l7-lb-controller 37 volumeMounts: 38 - mountPath: /etc/gce.conf 39 name: cloudconfig 40 readOnly: true 41 - mountPath: /var/log/glbc.log 42 name: logfile 43 readOnly: false 44 - mountPath: /etc/srv/kubernetes/l7-lb-controller 45 name: srvkube 46 readOnly: true 47 resources: 48 requests: 49 cpu: 10m 50 memory: 50Mi 51 args: 52 - --v=3 53 - --logtostderr=false 54 - --log_file=/var/log/glbc.log 55 - --enable-finalizer-add 56 - --enable-finalizer-remove 57 - --default-backend-service=kube-system/default-http-backend 58 - --kubeconfig=/etc/srv/kubernetes/l7-lb-controller/kubeconfig 59 - --sync-period=600s 60 - --running-in-cluster=false 61 - --config-file-path=/etc/gce.conf 62 - --healthz-port=8086 63 - --gce-ratelimit=ga.Operations.Get,qps,10,100 64 - --gce-ratelimit=alpha.Operations.Get,qps,10,100 65 - --gce-ratelimit=ga.BackendServices.Get,qps,1.8,1 66 - --gce-ratelimit=ga.HealthChecks.Get,qps,1.8,1 67 - --gce-ratelimit=alpha.HealthChecks.Get,qps,1.8,1 68 - --gce-ratelimit=beta.NetworkEndpointGroups.Get,qps,1.8,1 69 - --gce-ratelimit=beta.NetworkEndpointGroups.AttachNetworkEndpoints,qps,1.8,1 70 - --gce-ratelimit=beta.NetworkEndpointGroups.DetachNetworkEndpoints,qps,1.8,1 71 - --gce-ratelimit=beta.NetworkEndpointGroups.ListNetworkEndpoints,qps,1.8,1 72 volumes: 73 - hostPath: 74 path: /etc/gce.conf 75 type: FileOrCreate 76 name: cloudconfig 77 - hostPath: 78 path: /var/log/glbc.log 79 type: FileOrCreate 80 name: logfile 81 - name: srvkube 82 hostPath: 83 path: /etc/srv/kubernetes/l7-lb-controller 84 85 presubmits: 86 kubernetes/ingress-gce: 87 - name: pull-ingress-gce-test 88 cluster: k8s-infra-prow-build 89 always_run: true 90 decorate: true 91 labels: 92 preset-service-account: "true" 93 preset-k8s-ssh: "true" 94 preset-dind-enabled: "true" 95 spec: 96 containers: 97 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master 98 command: 99 - runner.sh 100 - make 101 - test 102 # docker-in-docker needs privileged mode 103 securityContext: 104 privileged: true 105 resources: 106 limits: 107 cpu: 4 108 memory: 8Gi 109 requests: 110 cpu: 4 111 memory: 8Gi 112 annotations: 113 testgrid-dashboards: sig-network-ingress-gce-e2e 114 testgrid-tab-name: pull-ingress-gce-test 115 116 - name: pull-ingress-gce-verify 117 cluster: k8s-infra-prow-build 118 always_run: true 119 decorate: true 120 branches: 121 - master 122 labels: 123 preset-service-account: "true" 124 preset-k8s-ssh: "true" 125 preset-dind-enabled: "true" 126 spec: 127 containers: 128 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master 129 command: 130 - runner.sh 131 - make 132 - verify 133 # docker-in-docker needs privileged mode 134 securityContext: 135 privileged: true 136 resources: 137 limits: 138 cpu: 4 139 memory: 8Gi 140 requests: 141 cpu: 4 142 memory: 8Gi 143 annotations: 144 testgrid-dashboards: sig-network-ingress-gce-e2e 145 testgrid-tab-name: pull-ingress-gce-verify 146 147 - name: pull-ingress-gce-e2e 148 cluster: k8s-infra-prow-build 149 always_run: true 150 optional: false 151 decorate: true 152 branches: 153 - master 154 labels: 155 preset-service-account: "true" 156 preset-k8s-ssh: "true" 157 preset-dind-enabled: "true" 158 spec: 159 containers: 160 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master 161 resources: 162 limits: 163 cpu: 4 164 memory: 8Gi 165 requests: 166 cpu: 4 167 memory: 8Gi 168 # we need privileged mode in order to do docker in docker 169 securityContext: 170 privileged: true 171 command: 172 - runner.sh 173 - hack/run-e2e-gce.sh 174 annotations: 175 testgrid-dashboards: sig-network-ingress-gce-e2e 176 testgrid-tab-name: pull-ingress-gce-e2e 177 178 periodics: 179 - name: ci-ingress-gce-e2e 180 cluster: k8s-infra-prow-build 181 interval: 6h 182 labels: 183 preset-service-account: "true" 184 preset-k8s-ssh: "true" 185 preset-ingress-master-yaml: "true" 186 decorate: true 187 decoration_config: 188 timeout: 340m 189 spec: 190 containers: 191 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master 192 command: 193 - runner.sh 194 - /workspace/scenarios/kubernetes_e2e.py 195 args: 196 - --check-leaked-resources 197 - --cluster= 198 - --env=GCE_GLBC_IMAGE=gcr.io/k8s-ingress-image-push/ingress-gce-glbc-amd64:nightly 199 - --env=GCE_ALPHA_FEATURES=NetworkEndpointGroup 200 - --env=KUBE_GCE_ENABLE_IP_ALIASES=true 201 - --extract=ci/latest 202 - --gcp-zone=us-west1-b 203 - --ginkgo-parallel=1 204 - --provider=gce 205 - --test_args=--ginkgo.focus=\[Feature:Ingress\]|\[Feature:NEG\] 206 - --timeout=320m 207 resources: 208 limits: 209 cpu: 2 210 memory: "6Gi" 211 requests: 212 cpu: 2 213 memory: "6Gi" 214 annotations: 215 testgrid-dashboards: sig-network-ingress-gce-e2e 216 testgrid-tab-name: ingress-gce-e2e 217 testgrid-alert-email: kubernetes-sig-network-test-failures@googlegroups.com