<p>Is it possible to create resource:</p>
<pre class="lang-yaml prettyprint-override"><code>apiVersion: projectcalico.org/v3
kind: HostEndpoint
</code></pre>
<p>using calico operator?
I want to get rid of <code>calicoctl</code>.</p>

<p>It is possible only with <code>calicoctl</code> to create a host endpoint resource.</p>
<p>As mentioned in the <a href="https://projectcalico.docs.tigera.io/reference/host-endpoints/objects" rel="nofollow noreferrer">document</a>:</p>
<blockquote>
<p>For each host endpoint that you want Calico to secure, you’ll need to
create a host endpoint object in etcd. Use the <code>calicoctl create</code>
command to create a host endpoint resource (HostEndpoint).</p>
</blockquote>
<p>There are two ways to specify the interface that a host endpoint should refer to. You can either specify the name of the interface or its expected IP address. In either case, you’ll also need to know the name given to the Calico node running on the host that owns the interface; in most cases this will be the same as the hostname of the host.</p>
