# Kubernetes Deployment Examples

Deploy production-ready Kubernetes clusters with the Provisioning platform.

## Basic Kubernetes Cluster

3-node cluster with Cilium CNI:

```nickel
{
  task_services = [
    {
      name = "kubernetes",
      config = {
        control_plane = {nodes = 3, plan = 'medium},
        workers = [{name = "default", nodes = 3, plan = 'large}],
        networking = {
          cni = 'cilium,
          pod_cidr = "10.42.0.0/16",
          service_cidr = "10.43.0.0/16"
        }
      }
    }
  ]
}
```

## Production Cluster with Storage

Kubernetes with Rook-Ceph storage:

```nickel
{
  task_services = [
    {
      name = "kubernetes",
      config = {
        control_plane = {nodes = 3, plan = 'medium},
        workers = [
          {name = "general", nodes = 5, plan = 'large},
          {name = "storage", nodes = 3, plan = 'xlarge,
           storage = [{size_gb = 500, type = 'ssd}]}
        ],
        networking = {cni = 'cilium}
      }
    },
    {
      name = "rook-ceph",
      config = {
        storage_nodes = ["storage-0", "storage-1", "storage-2"],
        osd_per_device = 1
      }
    }
  ]
}
```

## References

- [Task Services](../infrastructure/task-services.md)
- [Clusters](../infrastructure/clusters.md)
