title: Cannot use underscore inside command in kubernetes deployment?
body: <p>I need to issue a command <code>&quot;python manage.py rebuild_index&quot;</code> for rebuilding index of apache solr in my app deployment. But i get the following error:</p>
  <pre><code>The Deployment &quot;test-app&quot; is invalid: spec.template.spec.initContainers[5].name: Invalid value: &quot;rebuild_index&quot;: a DNS-1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')
  </code></pre>