<commit_before># Contiv-VPP default deployment YAML file

kind: DaemonSet
apiVersion: extensions/v1beta1
metadata:
  name: contiv-vpp
  namespace: kube-system
  labels:
    k8s-app: contiv-vpp
spec:
  selector:
    matchLabels:
      k8s-app: contiv-vpp
  template:
    metadata:
      labels:
        k8s-app: contiv-vpp
      annotations:
        scheduler.alpha.kubernetes.io/critical-pod: ''
        scheduler.alpha.kubernetes.io/tolerations: |
          [{"key": "dedicated", "value": "master", "effect": "NoSchedule" },
           {"key":"CriticalAddonsOnly", "operator":"Exists"}]
    spec:
      hostNetwork: true
      containers:
        # Runs contiv-agent container on each Kubernetes node.
        # It contains the vSwitch VPP and its management agent.
        - name: contiv-agent
          image: contivvpp/contiv-agent
          securityContext:
            privileged: true
        # This container installs the Contiv CNI binaries
        # and CNI network config file on each node.
        - name: contiv-cni
          image: contivvpp/contiv-cni
          volumeMounts:
            - mountPath: /opt/cni/bin
              name: cni-bin-dir
            - mountPath: /etc/cni/net.d
              name: cni-net-dir
      volumes:
        # Used to install CNI.
        - name: cni-bin-dir
          hostPath:
            path: /opt/cni/bin
        - name: cni-net-dir
          hostPath:
            path: /etc/cni/net.d
<commit_msg>added hostPID to the vswitch container<commit_after># Contiv-VPP default deployment YAML file

kind: DaemonSet
apiVersion: extensions/v1beta1
metadata:
  name: contiv-vpp
  namespace: kube-system
  labels:
    k8s-app: contiv-vpp
spec:
  selector:
    matchLabels:
      k8s-app: contiv-vpp
  template:
    metadata:
      labels:
        k8s-app: contiv-vpp
      annotations:
        scheduler.alpha.kubernetes.io/critical-pod: ''
        scheduler.alpha.kubernetes.io/tolerations: |
          [{"key": "dedicated", "value": "master", "effect": "NoSchedule" },
           {"key":"CriticalAddonsOnly", "operator":"Exists"}]
    spec:
      hostNetwork: true
      hostPID: true
      containers:
        # Runs contiv-agent container on each Kubernetes node.
        # It contains the vSwitch VPP and its management agent.
        - name: contiv-agent
          image: contivvpp/contiv-agent
          securityContext:
            privileged: true
        # This container installs the Contiv CNI binaries
        # and CNI network config file on each node.
        - name: contiv-cni
          image: contivvpp/contiv-cni
          volumeMounts:
            - mountPath: /opt/cni/bin
              name: cni-bin-dir
            - mountPath: /etc/cni/net.d
              name: cni-net-dir
      volumes:
        # Used to install CNI.
        - name: cni-bin-dir
          hostPath:
            path: /opt/cni/bin
        - name: cni-net-dir
          hostPath:
            path: /etc/cni/net.d

{'fraction_non_alphanumeric': 0.09806582965727859, 'fraction_numerical': 0.0033932813030200203, 'mean_word_length': 1.8565891472868217, 'pattern_counts': {'":': 10, '<': 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': '2534323', 'n_tokens_mistral': 934, 'n_tokens_neox': 919, 'n_words': 225}