<commit_before>version: '2'

volumes:
  etcd-data: {}

services:
  etcd:
    network_mode: host
    restart: always
    volumes:
      - etcd-data:/var/etcd/data
    image: quay.io/coreos/etcd:v${ETCD_VERSION}
    command: |
      --listen-client-urls=http://127.0.0.1:4001
      --advertise-client-urls=http://127.0.0.1:4001
      --data-dir=/var/etcd/data

  kubelet:
    privileged: true
    network_mode: host
    pid: host
    restart: always
    volumes:
      - /:/rootfs:ro
      - /sys:/sys:ro
      - /dev:/dev
      - /var/lib/docker/:/var/lib/docker:rw
      - /var/lib/kubelet/:/var/lib/kubelet:rw
      - /var/run:/var/run:rw
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      /hyperkube kubelet
        --containerized
        --hostname-override=127.0.0.1
        --address=0.0.0.0
        --api-servers=http://127.0.0.1:8080
        --cluster-dns=10.0.0.10
        --cluster-domain=cluster.local
        --allow-privileged=true
        --v=1
        --logtostderr=true

  apiserver:
    network_mode: host
    restart: always
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      /hyperkube apiserver
        --insecure-bind-address=0.0.0.0
        --insecure-port=8080
        --service-cluster-ip-range=10.0.0.1/24
        --etcd-servers=http://127.0.0.1:4001
        --min-request-timeout=300
        --allow-privileged=true
        --v=1
        --logtostderr=true

  controller-manager:
    network_mode: host
    restart: always
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      /hyperkube controller-manager
        --master=127.0.0.1:8080
        --min-resync-period=3m
        --v=1
        --logtostderr=true

  scheduler:
    network_mode: host
    restart: always
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      /hyperkube scheduler
        --master=127.0.0.1:8080
        --v=1
        --logtostderr=true

  proxy:
    network_mode: host
    restart: always
    privileged: true
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      /hyperkube proxy
        --master=127.0.0.1:8080
        --v=1
        --resource-container=""
        --logtostderr=true<commit_msg>fix issue with new version of docker<commit_after>version: '2'

volumes:
  etcd-data: {}

services:
  etcd:
    network_mode: host
    restart: always
    volumes:
      - etcd-data:/var/etcd/data
    image: quay.io/coreos/etcd:v${ETCD_VERSION}
    command: |
      --listen-client-urls=http://127.0.0.1:4001
      --advertise-client-urls=http://127.0.0.1:4001
      --data-dir=/var/etcd/data

  kubelet:
    privileged: true
    network_mode: host
    pid: host
    restart: always
    volumes:
      - /:/rootfs:ro
      - /sys:/sys:ro
      - /dev:/dev
      - /var/lib/docker/:/var/lib/docker:rw
      - /var/lib/kubelet/:/var/lib/kubelet:rw
      - /var/run:/var/run:rw
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      sh -c 'mount -o remount,rw /proc/sys && \
      /hyperkube kubelet \
        --containerized \
        --hostname-override=127.0.0.1 \
        --address=0.0.0.0 \
        --api-servers=http://127.0.0.1:8080 \
        --cluster-dns=10.0.0.10 \
        --cluster-domain=cluster.local \
        --allow-privileged=true \
        --v=1 \
        --logtostderr=true'

  apiserver:
    network_mode: host
    restart: always
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      /hyperkube apiserver
        --insecure-bind-address=0.0.0.0
        --insecure-port=8080
        --service-cluster-ip-range=10.0.0.1/24
        --etcd-servers=http://127.0.0.1:4001
        --min-request-timeout=300
        --allow-privileged=true
        --v=1
        --logtostderr=true

  controller-manager:
    network_mode: host
    restart: always
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      /hyperkube controller-manager
        --master=127.0.0.1:8080
        --min-resync-period=3m
        --v=1
        --logtostderr=true

  scheduler:
    network_mode: host
    restart: always
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      /hyperkube scheduler
        --master=127.0.0.1:8080
        --v=1
        --logtostderr=true

  proxy:
    network_mode: host
    restart: always
    privileged: true
    image: gcr.io/google_containers/hyperkube-amd64:v${K8S_VERSION}
    command: |
      sh -c 'mount -o remount,rw /proc/sys && \
      /hyperkube proxy \
        --master=127.0.0.1:8080 \
        --v=1 \
        --logtostderr=true'
{'fraction_non_alphanumeric': 0.1469771416364025, 'fraction_numerical': 0.05383465071565905, 'mean_word_length': 1.9207735495945102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 24, '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': '7442234', 'n_tokens_mistral': 1891, 'n_tokens_neox': 1787, 'n_words': 234}