DigitalOcean Kubernetes (DOKS) is a managed Kubernetes service that lets you deploy Kubernetes clusters without the complexities of handling the control plane and containerized infrastructure. Clusters are compatible with standard Kubernetes toolchains and integrate natively with DigitalOcean Load Balancers and block storage volumes.
Billing for DOKS clusters is calculated based on the configuration and usage of its node pools during the month.
The control plane is fully managed by DigitalOcean and included at no cost. High availability (HA) for the control plane costs $40 per month, prorated hourly.
Surge upgrades are available at no additional cost, meaning there is no additional cost for the duplicate nodes created during surge upgrades.
The per-hour price of the worker node is capped at 28 days (672 hours). If a node pool remains active for more than 672 hours in a month, you are only billed for 672 hours.
If a worker node costs $100/month, its hourly price is $100 / 672 = $0.1488/hour.
If a cluster with three of these worker nodes and no autoscaling runs for 27 days (648 hours), the total cost is $0.1488 * 648 * 3 = $289.2672.
If the cluster runs for 29 days (696 hours), it is still only billed for 28 days (672 hours).
A node pool’s monthly bill is calculated based on the highest usage within the 28-day window. If a node pool remains active for more than 672 hours in a month, you are billed for the highest 672 hours of usage.
In a 30-day month, if a cluster runs with six nodes for 15 days and three nodes for 15 days, the 28-day window for the bill will include 15 days at the six node rate and 13 days at the three node rate for a total of 28 days.
In a 30-day month, if a cluster runs with six nodes for 2 days and three nodes for 2 days, the 28-day window for the bill will include 2 days at the six node rate and 26 days at the three node rate for a total of 28 days.
Billing starts when the node in the node pool is ready, even if it is unhealthy. However, you are not charged for created nodes that do not join the cluster.
Node pools have per-second billing. If a node lasts less than a minute, then you will be billed at least 1 minute for that span.
Outbound data transfer is shared between all Droplets, including Kubernetes worker nodes, so bandwidth for Kubernetes cluster worker nodes is charged at the same rate as Droplet bandwidth pricing.
You can view your accumulated monthly transfer allowance on your account’s billing page in the Droplet transfer section. For an in-depth description of how data transfer accrual works, read our detailed bandwidth billing page.
For every hour the node pool exists during the month, it will earn 1/672 of its total bandwidth allowance up to that limit. Once it has been active for 672 hours, it has reached its full bandwidth allowance. DOKS clusters accrue free bandwidth based on the highest usage in each 28 day (672 hour) window.