<commit_before>kind: Service
apiVersion: v1
metadata:
  name: swift-proxy
  namespace: swift
  labels:
    system: openstack
    component: objectstore
{{ if .Values.enable_statsd }}
  annotations:
    prometheus.io/scrape: "true"
    prometheus.io/port: "9102"
{{ end }}

spec:
  selector:
    component: swift-proxy
  ports:
    - name: api
      port: {{.Values.proxy_public_port}}
  externalIPs:
    - {{.Values.proxy_public_ip}}<commit_msg>create a proxy server per cluster<commit_after>{{- range $index, $cluster := .Values.clusters }}
kind: Service
apiVersion: v1
metadata:
  name: swift-proxy-{{$cluster.name}}
  namespace: swift
  labels:
    system: openstack
    component: objectstore
    cluster: {{$cluster.name}}
{{ if $.Values.enable_statsd }}
  annotations:
    prometheus.io/scrape: "true"
    prometheus.io/port: "9102"
{{ end }}
spec:
  selector:
    component: swift-proxy-{{$cluster.name}}
  ports:
    - name: api
      port: {{$cluster.proxy_public_port}}
  externalIPs:
    - {{$cluster.proxy_public_ip}}
---
{{end}}
{'fraction_non_alphanumeric': 0.14505283381364073, 'fraction_numerical': 0.009606147934678195, 'mean_word_length': 3.5108225108225106, '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': '4729968', 'n_tokens_mistral': 365, 'n_tokens_neox': 351, 'n_words': 78}