<p>I am new to ArgoCD and I get the following error:</p>
<pre><code>error: unable to recognize &quot;rollout.yaml&quot;: no matches for kind &quot;Rollout&quot; in version &quot;argoproj.io/v1alpha1&quot;
</code></pre>
<p>The contents of my rollout.yaml file:</p>
<pre><code>apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: istio-rollout
  namespace: imo
spec:
  revisionHistoryLimit: 2
  selector:
    matchLabels:
      app: details
  template:
    metadata:
      annotations:
        sidecar.istio.io/inject: &quot;true&quot;
      labels:
        app: details
    spec:
      containers:
      - name: istio-rollout
        image: imo/employee:23
        ports:
        - name: http
          containerPort: 80
          protocol: TCP
  strategy:
    canary:
      canaryService: istio-rollout-canary
      stableService: istio-rollout-stable
      trafficRouting:
        istio:
          virtualService:
            name: customerinfo
            routes:
            - primary
      steps:
      - setWeight: 10
      - pause: {}
      - setWeight: 20
      - pause: {duration: 20s}
      - setWeight: 30
      - pause: {duration: 20s}
      - setWeight: 40
      - pause: {duration: 20s}
      - setWeight: 50
      - pause: {duration: 20s}
      - setWeight: 60
      - pause: {duration: 20s}
      - setWeight: 70
      - pause: {duration: 20s}
      - setWeight: 80
      - pause: {duration: 20s}
      - setWeight: 90
      - pause: {duration: 20s}
</code></pre>
<p>When I do a <code>kubectl apply -f rollout.yaml</code> or deploy it using 'ArgoCD UI' I get this error.
<a href="https://i.stack.imgur.com/qe18E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qe18E.png" alt="enter image description here" /></a></p>
<p>Istio and ArgoCD pods are running in my cluster setup.</p>
<p>K8's Version: 1.20</p>
<p>Docker: 20.10.5</p>
<p>Cluster Setup: Kubeadm</p>

<p>Argo Rollouts is an own project and not part of Argo CD.
See <a href="https://argoproj.github.io/argo-rollouts/FAQ/" rel="nofollow noreferrer">https://argoproj.github.io/argo-rollouts/FAQ/</a></p>
