<commit_before>#!/bin/sh -x

/fix-nameserver

config="./srv/kubernetes/kubelet/kubeconfig"
master="kube-apiserver.weave.local"

if [ -f $config ]
then
  args="--kubeconfig=${config} --api-servers=https://${master}:6443"
else
  args="--api-servers=http://${master}:8080"
fi

exec nsenter --target=1 --mount --wd=. -- \
  ./hyperkube kubelet ${args} \
    --docker-endpoint="unix:/weave.sock" \
    --cluster-dns="10.16.0.3" \
    --cluster-domain="kube.local" \
    --containerized="true" \
    --allow-privileged="true" \
    --logtostderr="true"<commit_msg>Remove `nsenter` hack and the `--containerized="true"` flag<commit_after>#!/bin/sh -x

/fix-nameserver

config="./srv/kubernetes/kubelet/kubeconfig"
master="kube-apiserver.weave.local"

if [ -f $config ]
then
  args="--kubeconfig=${config} --api-servers=https://${master}:6443"
else
  args="--api-servers=http://${master}:8080"
fi

./hyperkube kubelet ${args} \
  --docker-endpoint="unix:/weave.sock" \
  --cluster-dns="10.16.0.3" \
  --cluster-domain="kube.local" \
  --allow-privileged="true" \
  --logtostderr="true"
{'fraction_non_alphanumeric': 0.22562674094707522, 'fraction_numerical': 0.02692664809656453, 'mean_word_length': 3.4, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1665501', 'n_tokens_mistral': 450, 'n_tokens_neox': 426, 'n_words': 55}