Kops supports a number of pre defined network topologies. They are separated into commonly used scenarios, or topologies.
Each of the supported topologies are listed below, with an example on how to deploy them.
Kops supports the following topologies on AWS
Topology | Value | Description |
---|---|---|
Public Cluster | public | All masters/nodes will be launched in a public subnet in the VPC |
Private Cluster | private | All masters/nodes will be launched in a private subnet in the VPC |
More information on Public and Private subnets in AWS
Notes on subnets
If a subnet's traffic is routed to an Internet gateway, the subnet is known as a public subnet.
If a subnet doesn't have a route to the Internet gateway, the subnet is known as a private subnet.
Private topologies will have public access via the Kubernetes API and an (optional) SSH bastion instance.
To specify a topology use the --topology
or -t
flag as in :
kops create cluster ... --topology public|private
In the case of a private cluster you must also set a networking option other
than kubenet
. Currently the supported options are:
- kopeio-vxlan
- weave
- calico
- cni
More information about networking options can be found in our documentation.