Answers: <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>
  
Answers: CC BY-SA 3.0
Answers: 2017-11-12T14:34:33.230Z
Answers: 2017-11-12T14:34:33.230Z
Answers: 030
Body: <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>
  
Tags: <kubernetes><configuration>
Title: String to specify to KUBE_SERVICE_ADDRESSES (API Server configuration)
UserDisplayName: mon
ThreadText: # 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](https://github.com/kubernetes/kubernetes/issues/9040) and [this code](https://github.com/kubernetes/kubernetes/blob/96fecb2833c47b75267581cc4587a653f364268e/cluster/centos/master/scripts/apiserver.sh#L61) the `--portal_net` was renamed to `--service-cluster-ip-range` since version 0.18.
  
  > ```
  > # --service-cluster-ip-range=<nil>: 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}"
  >
  > ```
  
  
  ---
  
  