<commit_before>presets:
- labels:
    preset-ingress-master-yaml: "true"
  env:
  - name: CUSTOM_INGRESS_YAML
    # we want to keep extra spaces for the yaml file.
    value: |2+
        apiVersion: v1
        kind: Pod
        metadata:
          name: l7-lb-controller
          namespace: kube-system
          annotations:
            scheduler.alpha.kubernetes.io/critical-pod: ""
            seccomp.security.alpha.kubernetes.io/pod: "docker/default"
          labels:
            k8s-app: gcp-lb-controller
            kubernetes.io/name: "GLBC"
        spec:
          terminationGracePeriodSeconds: 600
          hostNetwork: true
          containers:
            # HEAD is used unless otherwised specified by each individual job.
          - image: k8s.gcr.io/ingress-gce-glbc-amd64:master
            livenessProbe:
              httpGet:
                path: /healthz
                port: 8086
                scheme: HTTP
              initialDelaySeconds: 30
              # healthz reaches out to GCE
              periodSeconds: 30
              timeoutSeconds: 15
              successThreshold: 1
              failureThreshold: 5
            name: l7-lb-controller
            volumeMounts:
            - mountPath: /etc/gce.conf
              name: cloudconfig
              readOnly: true
            - mountPath: /var/log/glbc.log
              name: logfile
              readOnly: false
            - mountPath: /etc/srv/kubernetes/l7-lb-controller
              name: srvkube
              readOnly: true
            resources:
              requests:
                cpu: 10m
                memory: 50Mi
            args:
            - --v=3
            - --logtostderr=false
            - --log_file=/var/log/glbc.log
            - --enable-finalizer-remove
            - --default-backend-service=kube-system/default-http-backend
            - --kubeconfig=/etc/srv/kubernetes/l7-lb-controller/kubeconfig
            - --sync-period=600s
            - --running-in-cluster=false
            - --config-file-path=/etc/gce.conf
            - --healthz-port=8086
            - --gce-ratelimit=ga.Operations.Get,qps,10,100
            - --gce-ratelimit=alpha.Operations.Get,qps,10,100
            - --gce-ratelimit=ga.BackendServices.Get,qps,1.8,1
            - --gce-ratelimit=ga.HealthChecks.Get,qps,1.8,1
            - --gce-ratelimit=alpha.HealthChecks.Get,qps,1.8,1
            - --gce-ratelimit=beta.NetworkEndpointGroups.Get,qps,1.8,1
            - --gce-ratelimit=beta.NetworkEndpointGroups.AttachNetworkEndpoints,qps,1.8,1
            - --gce-ratelimit=beta.NetworkEndpointGroups.DetachNetworkEndpoints,qps,1.8,1
            - --gce-ratelimit=beta.NetworkEndpointGroups.ListNetworkEndpoints,qps,1.8,1
          volumes:<commit_msg>Enable finalizer on glbc for ingress e2e test<commit_after>presets:
- labels:
    preset-ingress-master-yaml: "true"
  env:
  - name: CUSTOM_INGRESS_YAML
    # we want to keep extra spaces for the yaml file.
    value: |2+
        apiVersion: v1
        kind: Pod
        metadata:
          name: l7-lb-controller
          namespace: kube-system
          annotations:
            scheduler.alpha.kubernetes.io/critical-pod: ""
            seccomp.security.alpha.kubernetes.io/pod: "docker/default"
          labels:
            k8s-app: gcp-lb-controller
            kubernetes.io/name: "GLBC"
        spec:
          terminationGracePeriodSeconds: 600
          hostNetwork: true
          containers:
            # HEAD is used unless otherwised specified by each individual job.
          - image: k8s.gcr.io/ingress-gce-glbc-amd64:master
            livenessProbe:
              httpGet:
                path: /healthz
                port: 8086
                scheme: HTTP
              initialDelaySeconds: 30
              # healthz reaches out to GCE
              periodSeconds: 30
              timeoutSeconds: 15
              successThreshold: 1
              failureThreshold: 5
            name: l7-lb-controller
            volumeMounts:
            - mountPath: /etc/gce.conf
              name: cloudconfig
              readOnly: true
            - mountPath: /var/log/glbc.log
              name: logfile
              readOnly: false
            - mountPath: /etc/srv/kubernetes/l7-lb-controller
              name: srvkube
              readOnly: true
            resources:
              requests:
                cpu: 10m
                memory: 50Mi
            args:
            - --v=3
            - --logtostderr=false
            - --log_file=/var/log/glbc.log
            - --enable-finalizer-add
            - --enable-finalizer-remove
            - --default-backend-service=kube-system/default-http-backend
            - --kubeconfig=/etc/srv/kubernetes/l7-lb-controller/kubeconfig
            - --sync-period=600s
            - --running-in-cluster=false
            - --config-file-path=/etc/gce.conf
            - --healthz-port=8086
            - --gce-ratelimit=ga.Operations.Get,qps,10,100
            - --gce-ratelimit=alpha.Operations.Get,qps,10,100
            - --gce-ratelimit=ga.BackendServices.Get,qps,1.8,1
            - --gce-ratelimit=ga.HealthChecks.Get,qps,1.8,1
            - --gce-ratelimit=alpha.HealthChecks.Get,qps,1.8,1
            - --gce-ratelimit=beta.NetworkEndpointGroups.Get,qps,1.8,1
            - --gce-ratelimit=beta.NetworkEndpointGroups.AttachNetworkEndpoints,qps,1.8,1
            - --gce-ratelimit=beta.NetworkEndpointGroups.DetachNetworkEndpoints,qps,1.8,1
            - --gce-ratelimit=beta.NetworkEndpointGroups.ListNetworkEndpoints,qps,1.8,1
          volumes:
{'fraction_non_alphanumeric': 0.1015165031222123, 'fraction_numerical': 0.024442462087421946, 'mean_word_length': 1.4663440387153541, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6983487', 'n_tokens_mistral': 1769, 'n_tokens_neox': 1678, 'n_words': 259}