<commit_before>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: fluent-vcenter
  namespace: elk
  labels:
    system: openstack
    service: logging

spec:
  replicas: 0
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 1
      maxSurge: 1
  template:
    metadata:
      labels:
        component: fluent-vcenter
      annotations:
        checksum/fluent-vcenter-configmap.yaml: {{ include  (print .Template.BasePath "/configmap.yaml") . | sha256sum }}
        checksum/fluent.conf.tpl: {{ include  (print $.Template.BasePath "/_fluent_vcenter.conf.tpl") . | sha256sum }}
        checksum/fluent-start.tpl: {{ include  (print $.Template.BasePath "/_fluent-start.tpl") . | sha256sum }}
    spec:
      nodeSelector:
        zone: farm
      volumes:
        - name: fluent-bin
          configMap:
            name: fluent-vcenter
      containers:
        - name: fluent-vcenter
          image: {{.Values.global.registry}}/fluentd-vcenter-prometheus:{{.Values.image_version}}
          imagePullPolicy: IfNotPresent
          command: ["/usr/local/bin/dumb-init", "/bin/bash", "/fluent-bin/fluent-start"]
          ports:
            - name: vclogs
              containerPort: {{.Values.vcenter_logs_in_port}}<commit_msg>[elk] fix fluent-vcenter image name<commit_after>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: fluent-vcenter
  namespace: elk
  labels:
    system: openstack
    service: logging

spec:
  replicas: 0
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 1
      maxSurge: 1
  template:
    metadata:
      labels:
        component: fluent-vcenter
      annotations:
        checksum/fluent-vcenter-configmap.yaml: {{ include  (print .Template.BasePath "/configmap.yaml") . | sha256sum }}
        checksum/fluent.conf.tpl: {{ include  (print $.Template.BasePath "/_fluent_vcenter.conf.tpl") . | sha256sum }}
        checksum/fluent-start.tpl: {{ include  (print $.Template.BasePath "/_fluent-start.tpl") . | sha256sum }}
    spec:
      nodeSelector:
        zone: farm
      volumes:
        - name: fluent-bin
          configMap:
            name: fluent-vcenter
      containers:
        - name: fluent-vcenter
          image: {{.Values.global.registry}}/elk-fluent:{{.Values.image_version}}
          imagePullPolicy: IfNotPresent
          command: ["/usr/local/bin/dumb-init", "/bin/bash", "/fluent-bin/fluent-start"]
          ports:
            - name: vclogs
              containerPort: {{.Values.vcenter_logs_in_port}}
{'fraction_non_alphanumeric': 0.11871069182389937, 'fraction_numerical': 0.0110062893081761, 'mean_word_length': 2.397863818424566, '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': '6034319', 'n_tokens_mistral': 821, 'n_tokens_neox': 804, 'n_words': 153}