<p>According to <a href="https://github.com/kubernetes/kubernetes/issues/9040" rel="nofollow noreferrer">this Q&amp;A</a> and <a href="https://github.com/kubernetes/kubernetes/blob/96fecb2833c47b75267581cc4587a653f364268e/cluster/centos/master/scripts/apiserver.sh#L61" rel="nofollow noreferrer">this code</a> the <code>--portal_net</code> was renamed to <code>--service-cluster-ip-range</code> since version 0.18.</p>

<blockquote>
<pre><code># --service-cluster-ip-range=&lt;nil&gt;: A CIDR notation IP range from which to assign service cluster IPs.
# This must not overlap with any IP ranges assigned to nodes for pods.
KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=${SERVICE_CLUSTER_IP_RANGE}"
</code></pre>
</blockquote>

CC BY-SA 3.0
2017-11-12T14:34:33.230Z
2017-11-12T14:34:33.230Z
030
<p>What are the strings to set to <code>KUBE_SERVICE_ADDRESSES</code> and their meanings? Which documentation or GitHub repo to look into to understand?</p>

<p>Background: I have seen a few strings but not sure what these strings mean. Such as:</p>

<pre><code>KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16"
KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=10.254.0.0/16"
</code></pre>

<kubernetes><configuration>
String to specify to KUBE_SERVICE_ADDRESSES (API Server configuration)
mon
# String to specify to KUBE_SERVICE_ADDRESSES (API Server configuration)

(Asked by: username_0 on 2017-11-09)

What are the strings to set to KUBE_SERVICE_ADDRESSES and their meanings? Which documentation or GitHub repo to look into to understand?
Background: I have seen a few strings but not sure what these strings mean. Such as:
KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16"
KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=10.254.0.0/16"

**Tags:** kubernetes, configuration


---

## 1 answers

### Answer by username_1 on 2017-11-12. Score: 1 | Accepted answer

According to this Q&A and this code the --portal_net was renamed to --service-cluster-ip-range since version 0.18.

# --service-cluster-ip-range=: A CIDR notation IP range from which to assign service cluster IPs.
# This must not overlap with any IP ranges assigned to nodes for pods.
KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=${SERVICE_CLUSTER_IP_RANGE}"


---

