<p>After writing a skydns-svc.yml file with the IP 192.168.3.10 I recieve the following error:</p>

<pre><code>Error: The Service "kube-dns" is invalid:spec.clusterIP: Invalid value: "192.168.3.10": provided IP is not in the valid range
</code></pre>

<p>skydns-svc.yml</p>

<pre><code>apiVersion: v1
kind: Service
metadata:
  name: kube-dns
  namespace: kube-system
  labels:
    k8s-app: kube-dns
    kubernetes.io/cluster-service: "true"
    kubernetes.io/name: "KubeDNS"
spec:
  selector:
    k8s-app: kube-dns
  clusterIP:  192.168.3.10
  ports:
  - name: dns
    port: 53
    protocol: UDP
  - name: dns-tcp
    port: 53
    protocol: TCP
</code></pre>

<p>How is this not in a valid range and how could I go about resolving the error? Using V1.2</p>

<p>You need to set the clusterIP to an IP in the "SERVICE_CLUSTER_IP_RANGE", which is a CIDR range (typically a /16 or smaller) passed to the kube-apiserver process in the <code>--service-cluster-ip-range</code> flag. If you pick any address in that range you should no longer receive the above error. </p>
