<p>I can't configure a livenessProbe with attributes for a k8s Deployment, I tried apiVersion: apps/v1beta1, or apps/v1 or apps/v1beta2 or apps/v1beta3.</p>

<p>I want to add the attributes :</p>

<ul>
<li>initialDelaySeconds</li>
<li>periodSeconds</li>
<li>timeoutSeconds</li>
</ul>

<p>If I define any of these attributes I get an error </p>

<blockquote>
  <p>unknown field "periodSeconds" in io.k8s.api.core.v1.HTTPGetAction</p>
</blockquote>

<p>Yes it was the indent level thanks a lot, and it's correct on the documentation so I think this question isn't useful in general sorry</p>
