kubernetes set service cidr and pod cidr the same

When use kubeadm to set up a cluster of kube. There are two options to config.


--service-cidr (default ‘’)

Question is:

<ol> <li>

If I use for pod-network-cidr, do I need to save that ip range for kubernetes? What happens if we already start to use for other machines.

</li> <li>

Can I set service-cidr the pod-network-cidr the same range ?? I don't understand how service-cidr works.

</li> </ol>


To reply briefly:

    <li><ol> <li>You do have to reserve <strong>both</strong> the pod-network range and the service network range. You can't use those on your LAN (and you can't have routes to it). Both ranges are configurable so you can pick something that is not used. Use ipcalc if you are unsure.</li> </ol></li> <li><ol start="2"> <li>You have to use separate ranges.</li> </ol></li> </ul>

    Check out these slides for explanation about the different networks in play.


  • urllib error of Google App Engine & python.[Errno 11003] getaddrinfo failed
  • POST-ing to php-fpm increases disk i/o writes
  • container engine kubernetes and ssl
  • How to configure a non-default serviceAccount on a deployment
  • Deployments not visible in Kubernetes Dashboard
  • How to resolve docker host names (/etc/hosts) in containers
  • Should I be afraid to use UDP to make a client/server broadcast talk?
  • Send emails through VB6 if no email client
  • EF 4.1 DBContext AutoDetectChangesEnabled
  • conditions for accessors in Coldfusion ORM
  • How to resolve this packager error on react native Android
  • Is there a Windows socket API call / option to “block” a range of ports à la SO_EXCLUSIVEADDRUSE
  • jersey/tomcat Description The origin server did not find a current representation for the target res
  • Unable to connect to OnVif enabled camera using C#
  • Examples of how to a STS in .Net 4.5 using WCF
  • Ruby on Rails App deployed to heroku showing “We're sorry, but something went wrong”
  • Consuming a WCF service in a Java Client using wsHttpBinding
  • Salesforce Different WSDL files and when to use
  • Installing PHP 7 on digitalocean
  • Problems installing Yesod for Haskell
  • Specifying Castle WCF Integration Facility Endpoint Behavior per Endpoint
  • How can I set a binding to a Combox in a UserControl?
  • AJAX Html Editor Extender upload image appearing blank
  • Mysterious problem with floating point in LISP - time axis generation
  • Cannot resolve symbol 'MyApi'
  • Ajax Loaded meta Tags
  • Xamarin Forms - UWP Fonts
  • Why HTML5 Canvas with a larger size stretch a drawn line?
  • Spray.io: When (not) to use non-blocking route handling?
  • Is there a amazon webstore API for customers?
  • Modifying destination and filename of gulp-svg-sprite
  • How to handle AllServersUnavailable Exception
  • Arrow is showed instead of the material design version hamburger icon. Why doesn't syncState in
  • In LanguageTool, how do you create a dictionary and use it for spell checking?
  • VBA Convert delimiter text file to Excel
  • GridView Sorting works once only
  • Circular dependency while pushing http interceptor
  • Arrays break string types in Julia
  • Angular 2 constructor injection vs direct access
  • Reading document lines to the user (python)