<p>my goal is to make cluster running on raspberry pi 4b.
Currently i'm trying/testing/playing with kubernetes in vagrant.
My project is here:
<a href="https://github.com/kentahikaru/vagranttraining/tree/master/kubernetes_testing" rel="nofollow noreferrer">https://github.com/kentahikaru/vagranttraining/tree/master/kubernetes_testing</a></p>
<p>I am able to initialize master and connect node to the cluster.</p>
<p>However i'm having trouble deploying boinc client, the way i want it.
The deployment i am using is here:
<a href="https://github.com/kentahikaru/vagranttraining/blob/master/kubernetes_testing/Testing/boinc/boinc_client_deploy.yaml" rel="nofollow noreferrer">https://github.com/kentahikaru/vagranttraining/blob/master/kubernetes_testing/Testing/boinc/boinc_client_deploy.yaml</a>
The way it is uploaded on github, it is working. I can deploy it and it will switch into Running state.
However when i uncomment &quot;command&quot; and &quot;args&quot; (because i want it automatically connect to my accounts) it will crash and i can't figure out why:</p>
<pre><code>vagrant@master:~$ kubectl get pods -o wide
NAME                           READY   STATUS             RESTARTS   AGE   IP            NODE    NOMINATED NODE   READINESS GATES
boincclient-69cdf887dc-7phr2   0/1     CrashLoopBackOff   1          12s   10.244.2.69   node2   &lt;none&gt;           &lt;none&gt;
</code></pre>
<p>From the docker log on node (/var/log/containers) :</p>
<pre><code>{&quot;log&quot;:&quot;can't connect to local host\n&quot;,&quot;stream&quot;:&quot;stderr&quot;,&quot;time&quot;:&quot;2020-11-11T22:27:35.708789661Z&quot;}
{&quot;log&quot;:&quot;can't connect to local host\n&quot;,&quot;stream&quot;:&quot;stderr&quot;,&quot;time&quot;:&quot;2020-11-11T22:27:35.711018367Z&quot;}
{&quot;log&quot;:&quot;can't connect to local host\n&quot;,&quot;stream&quot;:&quot;stderr&quot;,&quot;time&quot;:&quot;2020-11-11T22:27:35.714129251Z&quot;}
{&quot;log&quot;:&quot;can't connect to local host\n&quot;,&quot;stream&quot;:&quot;stderr&quot;,&quot;time&quot;:&quot;2020-11-11T22:27:35.714160084Z&quot;}
</code></pre>
<p>I can't also figure out why &quot;kubectl logs&quot; is not working:</p>
<pre><code>vagrant@master:~$ kubectl -v=8 logs boincclient-69cdf887dc-7phr2
I1111 22:30:27.452750   31588 loader.go:375] Config loaded from file:  /home/vagrant/.kube/config
I1111 22:30:27.464024   31588 round_trippers.go:420] GET https://172.16.0.21:6443/api/v1/namespaces/default/pods/boincclient-69cdf887dc-7phr2
I1111 22:30:27.464082   31588 round_trippers.go:427] Request Headers:
I1111 22:30:27.464095   31588 round_trippers.go:431]     Accept: application/json, */*
I1111 22:30:27.464105   31588 round_trippers.go:431]     User-Agent: kubectl/v1.19.3 (linux/amd64) kubernetes/1e11e4a
I1111 22:30:27.483934   31588 round_trippers.go:446] Response Status: 200 OK in 19 milliseconds
I1111 22:30:27.484300   31588 round_trippers.go:449] Response Headers:
I1111 22:30:27.484514   31588 round_trippers.go:452]     Cache-Control: no-cache, private
I1111 22:30:27.485035   31588 round_trippers.go:452]     Content-Type: application/json
I1111 22:30:27.485382   31588 round_trippers.go:452]     Date: Wed, 11 Nov 2020 22:30:27 GMT
I1111 22:30:27.486128   31588 request.go:1097] Response Body: {&quot;kind&quot;:&quot;Pod&quot;,&quot;apiVersion&quot;:&quot;v1&quot;,&quot;metadata&quot;:{&quot;name&quot;:&quot;boincclient-69cdf887dc-7phr2&quot;,&quot;generateName&quot;:&quot;boincclient-69cdf887dc-&quot;,&quot;namespace&quot;:&quot;default&quot;,&quot;selfLink&quot;:&quot;/api/v1/namespaces/default/pods/boincclient-69cdf887dc-7phr2&quot;,&quot;uid&quot;:&quot;1f7ae333-07e5-429c-bb37-3430cc648170&quot;,&quot;resourceVersion&quot;:&quot;683632&quot;,&quot;creationTimestamp&quot;:&quot;2020-11-11T22:25:43Z&quot;,&quot;labels&quot;:{&quot;app&quot;:&quot;boincclient&quot;,&quot;pod-template-hash&quot;:&quot;69cdf887dc&quot;},&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;apps/v1&quot;,&quot;kind&quot;:&quot;ReplicaSet&quot;,&quot;name&quot;:&quot;boincclient-69cdf887dc&quot;,&quot;uid&quot;:&quot;b6e765bf-f38a-4c55-92a2-68ae87d8adef&quot;,&quot;controller&quot;:true,&quot;blockOwnerDeletion&quot;:true}],&quot;managedFields&quot;:[{&quot;manager&quot;:&quot;kube-controller-manager&quot;,&quot;operation&quot;:&quot;Update&quot;,&quot;apiVersion&quot;:&quot;v1&quot;,&quot;time&quot;:&quot;2020-11-11T22:25:43Z&quot;,&quot;fieldsType&quot;:&quot;FieldsV1&quot;,&quot;fieldsV1&quot;:{&quot;f:metadata&quot;:{&quot;f:generateName&quot;:{},&quot;f:labels&quot;:{&quot;.&quot;:{},&quot;f:app&quot;:{},&quot;f:pod-template-hash&quot;:{}},&quot;f:ownerReferences&quot;:{&quot;.&quot;:{},&quot;k:{\&quot;uid\&quot;:\&quot;b6e765bf-f38a-4c55-92a2-68ae87d8adef\&quot;}&quot;:{&quot;.&quot;:{},&quot;f:apiVersion&quot;:{},&quot;f:blockOwnerDeletion&quot;:{},&quot;f:controller&quot;:{},&quot;f:kind&quot;:{},&quot;f:name&quot;:{},&quot;f:uid&quot;:{}}}}, [truncated 4851 chars]
I1111 22:30:27.501641   31588 round_trippers.go:420] GET https://172.16.0.21:6443/api/v1/namespaces/default/pods/boincclient-69cdf887dc-7phr2/log
I1111 22:30:27.501978   31588 round_trippers.go:427] Request Headers:
I1111 22:30:27.502183   31588 round_trippers.go:431]     Accept: application/json, */*
I1111 22:30:27.502463   31588 round_trippers.go:431]     User-Agent: kubectl/v1.19.3 (linux/amd64) kubernetes/1e11e4a
I1111 22:30:27.508414   31588 round_trippers.go:446] Response Status: 404 Not Found in 5 milliseconds
I1111 22:30:27.508462   31588 round_trippers.go:449] Response Headers:
I1111 22:30:27.508473   31588 round_trippers.go:452]     Cache-Control: no-cache, private
I1111 22:30:27.508501   31588 round_trippers.go:452]     Content-Type: application/json
I1111 22:30:27.508525   31588 round_trippers.go:452]     Content-Length: 270
I1111 22:30:27.508546   31588 round_trippers.go:452]     Date: Wed, 11 Nov 2020 22:30:27 GMT
I1111 22:30:27.508587   31588 request.go:1097] Response Body: {&quot;kind&quot;:&quot;Status&quot;,&quot;apiVersion&quot;:&quot;v1&quot;,&quot;metadata&quot;:{},&quot;status&quot;:&quot;Failure&quot;,&quot;message&quot;:&quot;the server could not find the requested resource ( pods/log boincclient-69cdf887dc-7phr2)&quot;,&quot;reason&quot;:&quot;NotFound&quot;,&quot;details&quot;:{&quot;name&quot;:&quot;boincclient-69cdf887dc-7phr2&quot;,&quot;kind&quot;:&quot;pods/log&quot;},&quot;code&quot;:404}
I1111 22:30:27.509597   31588 helpers.go:216] server response object: [{
  &quot;metadata&quot;: {},
  &quot;status&quot;: &quot;Failure&quot;,
  &quot;message&quot;: &quot;the server could not find the requested resource ( pods/log boincclient-69cdf887dc-7phr2)&quot;,
  &quot;reason&quot;: &quot;NotFound&quot;,
  &quot;details&quot;: {
    &quot;name&quot;: &quot;boincclient-69cdf887dc-7phr2&quot;,
    &quot;kind&quot;: &quot;pods/log&quot;
  },
  &quot;code&quot;: 404
}]
F1111 22:30:27.509663   31588 helpers.go:115] Error from server (NotFound): the server could not find the requested resource ( pods/log boincclient-69cdf887dc-7phr2)
</code></pre>
<p>Thanks for any help.</p>

Hikaru
<p>So the solution was to call entry point command from dockerfile.</p>
