<p>Prepare to host TDengine on k3s.</p>
<p>With docker, i use such command to generate the machine code in docker container.</p>
<pre class="lang-sh prettyprint-override"><code>docker run --privileged -it --rm xxxx tasd -k
</code></pre>
<p>But it failed like this:</p>
<pre><code>should generate machine code under root authority!
</code></pre>
<p>What's the problem?</p>

zitsen
<p>I've added securityContext in helm chart, and it works.</p>
<pre class="lang-yaml prettyprint-override"><code>securityContext:
  privileged: true
  allowPrivilegeEscalation: true
  runAsUser: 0
  readOnlyRootFilesystem: false
</code></pre>
