<commit_before># In order for the Ingress resource to work, the cluster must have an Ingress controller running.
# You need to choose the ingress controller implementation that is the best fit for your cluster.
# More docs can be found here:
#  https://kubernetes.io/docs/concepts/services-networking/ingress

#  The Google k8s nginx controller is being refactored (https://github.com/kubernetes/ingress/tree/master/controllers/nginx), so using
#  the NGINX-provided controller:
#
#     https://github.com/nginxinc/kubernetes-ingress/blob/master/examples/complete-example/nginx-ingress-rc.yaml
#
#  which is more complete.
#
#  Customizations:
#      https://github.com/nginxinc/kubernetes-ingress/blob/master/examples/customization/README.md



# NGINX config based on: https://github.com/nginxinc/kubernetes-ingress/blob/master/examples/customization/README.md

---
kind: ConfigMap
apiVersion: v1
metadata:
  name: nginx-config
data:
  hsts: "true"

---
kind: ReplicationController
apiVersion: v1
metadata:
  name: nginx
  labels:
    name: nginx
    deployment: {{ DEPLOY_TO }}
spec:
  replicas: 1
  selector:
    name: nginx
  template:
    metadata:
      labels:
        name: nginx
        deployment: {{ DEPLOY_TO }}
    spec:
      containers:
      - image: nginxdemos/nginx-ingress:0.8.0
        imagePullPolicy: Always
        name: nginx-pod
        ports:<commit_msg>increase request body size limit<commit_after># In order for the Ingress resource to work, the cluster must have an Ingress controller running.
# You need to choose the ingress controller implementation that is the best fit for your cluster.
# More docs can be found here:
#  https://kubernetes.io/docs/concepts/services-networking/ingress

#  The Google k8s nginx controller is being refactored (https://github.com/kubernetes/ingress/tree/master/controllers/nginx), so using
#  the NGINX-provided controller:
#
#     https://github.com/nginxinc/kubernetes-ingress/blob/master/examples/complete-example/nginx-ingress-rc.yaml
#
#  which is more complete.
#
#  Customizations:
#      https://github.com/nginxinc/kubernetes-ingress/blob/master/examples/customization/README.md



# NGINX config based on: https://github.com/nginxinc/kubernetes-ingress/blob/master/examples/customization/README.md

---
kind: ConfigMap
apiVersion: v1
metadata:
  name: nginx-config
data:
  hsts: "true"
  client-max-body-size: "8192m"

---
kind: ReplicationController
apiVersion: v1
metadata:
  name: nginx
  labels:
    name: nginx
    deployment: {{ DEPLOY_TO }}
spec:
  replicas: 1
  selector:
    name: nginx
  template:
    metadata:
      labels:
        name: nginx
        deployment: {{ DEPLOY_TO }}
    spec:
      containers:
      - image: nginxdemos/nginx-ingress:0.8.0
        imagePullPolicy: Always
        name: nginx-pod
        ports:
{'fraction_non_alphanumeric': 0.10309278350515463, 'fraction_numerical': 0.006398862424457874, 'mean_word_length': 3.396875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '6430148', 'n_tokens_mistral': 944, 'n_tokens_neox': 896, 'n_words': 225}