<p>The <code>--service-cluster-ip-range</code> will define the range of IP address that Kubernetes will assign when you create a <code>ClusterIP</code> Service. It's different from your VPC CIDR which correspond to your nodes (EC2) IPs. You can let the default <code>10.32.0.0/24</code> as is or change it but make sure that it does not overlap with your VPC CIDR.</p>

CC BY-SA 4.0
2019-11-27T10:18:01.253Z
2019-11-27T10:18:01.253Z
Hedi Nasr
<p>i was going through the kubernetes the hard way(kelsey), i see in the API server unit file with a cluster ip range as 
 --service-cluster-ip-range=10.32.0.0/24 \
 is it a default ip range ?
my VPC CIDR is 172.31.0.0/16 this so should i need to provide this ip instead of default one ?</p>

CC BY-SA 4.0
2019-11-27T09:57:53.297Z
any help would really appreciated ..
Jithin Kumar S
<kubernetes><amazon-ec2><aws-cli><kubectl>
Kubernetes api service unit file
Jithin Kumar S
# Kubernetes api service unit file

(Asked by: username_0 on 2019-11-27)

i was going through the kubernetes the hard way(kelsey), i see in the API server unit file with a cluster ip range as
--service-cluster-ip-range=10.32.0.0/24 \
is it a default ip range ?
my VPC CIDR is 172.31.0.0/16 this so should i need to provide this ip instead of default one ?

**Tags:** kubernetes, amazon-ec2, aws-cli, kubectl

> **Comments:**
> **username_0**: any help would really appreciated ..  

---

## 1 answers

### Answer by username_1 on 2019-11-27. Score: 1

The `--service-cluster-ip-range` will define the range of IP address that Kubernetes will assign when you create a `ClusterIP` Service. It's different from your VPC CIDR which correspond to your nodes (EC2) IPs. You can let the default `10.32.0.0/24` as is or change it but make sure that it does not overlap with your VPC CIDR.


---

