Kinds of pool
Each application pool is labelled and tainted
inframan.cloud/pool-type=<pool-name>:NoSchedule, so only services that ask for the pool are scheduled on it.
Choose a pool for a service
A service names its pool withnode_pool in inframan.yaml:
inframan.yaml
A platform pool, such as
system-pool, isn’t accepted as a node_pool.
Change pools after creation
- AWS
- Google Cloud
- Open the infrastructure and select Node pools.
- Click Change pools, then add, edit or remove pools.
- Click Apply changes.
node_pool and deploy it first.Pods per node
Kubernetes limits how many pods each node can run.- Google Cloud: every pod takes an IP address from the infrastructure’s pod range, and GKE reserves twice the per-node pod limit for each node. Inframan works out the largest limit your pod range can support for your pools at their maximum size, and rounds it down to one GKE allows: 110, 64, 32, 16 or 8 pods per node. The system pool runs 110.
- AWS: every node runs up to 110 pods. The VPC CNI hands out addresses in prefixes, so the pod limit doesn’t depend on the instance size.