<commit_before>apiVersion: apps/v1
kind: Deployment
metadata:
  name: slack-moderator-words
  labels:
    app: slack-moderator-words
spec:
  replicas: 2
  selector:
    matchLabels:
      app: slack-moderator-words
  template:
    metadata:
      labels:
        app: slack-moderator-words
    spec:
      containers:
      - name: slack-moderator-words
        image: gcr.io/k8s-staging-slack-infra/slack-moderator-words:v20210331-aa10965
        args:
          - --config-path=/etc/slack-moderator-words/config.json
          - --filter-config-path=/etc/filters/filters.yaml
        ports:
        - containerPort: 8080
          protocol: TCP
        env:
        - name: PATH_PREFIX
          value: /infra/moderator-words
        - name: PORT
          value: "8080"
        volumeMounts:
        - mountPath: /etc/slack-moderator-words
          name: config
        - mountPath: /etc/filters
          name: filters
        readinessProbe:
          httpGet:
            path: /healthz
            scheme: HTTP
            port: 8080
      volumes:
      - name: config
        secret:<commit_msg>slack-moderator-words: update image for slack-moderator-words<commit_after>apiVersion: apps/v1
kind: Deployment
metadata:
  name: slack-moderator-words
  labels:
    app: slack-moderator-words
spec:
  replicas: 2
  selector:
    matchLabels:
      app: slack-moderator-words
  template:
    metadata:
      labels:
        app: slack-moderator-words
    spec:
      containers:
      - name: slack-moderator-words
        image: gcr.io/k8s-staging-slack-infra/slack-moderator-words:v20210401-921981c
        args:
          - --config-path=/etc/slack-moderator-words/config.json
          - --filter-config-path=/etc/filters/filters.yaml
        ports:
        - containerPort: 8080
          protocol: TCP
        env:
        - name: PATH_PREFIX
          value: /infra/moderator-words
        - name: PORT
          value: "8080"
        volumeMounts:
        - mountPath: /etc/slack-moderator-words
          name: config
        - mountPath: /etc/filters
          name: filters
        readinessProbe:
          httpGet:
            path: /healthz
            scheme: HTTP
            port: 8080
      volumes:
      - name: config
        secret:
{'fraction_non_alphanumeric': 0.09521700620017715, 'fraction_numerical': 0.025243578387953942, 'mean_word_length': 1.7118847539015607, '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': '4112179', 'n_tokens_mistral': 765, 'n_tokens_neox': 710, 'n_words': 135}