<p>When trying to create a kubernetes replica set from a yaml file, then I always get this error on AKS:</p>

<blockquote>
  <p>kubectl create -f kubia-replicaset.yaml error: unable to recognize
  "kubia-replicaset.yaml": no matches for apps/, Kind=ReplicaSet</p>
</blockquote>

<p>I tried it with several different files and also the samples from the K8s documentation, but all result in this failure. Creating Pods and RCs works </p>

<p>below is the yaml file:</p>

<pre><code>apiVersion: apps/v1beta2
kind: ReplicaSet
metadata:
  name: kubia
spec:
  replicas: 3
  selector:
    matchLabels:
      app: kubia
  template:
    metadata:
      labels:
        app: kubia
    spec:
      containers:
      - name: kubia
        image: luksa/kubia
</code></pre>

<p>Change apps/v1beta2 to apps/v1 works for me.</p>
