Nimbus is a TypeScript toolkit for reusable Pulumi infrastructure across AWS, Azure, Rackspace Spot, and Kubernetes. It provides provider-aware factories for networks, clusters, DNS, secrets, platform services, observability, and application infrastructure.
npm install @reyemtech/nimbus
npx @reyemtech/nimbus install aws # or azureEach release includes an SPDX SBOM (nimbus.spdx.json) and npm provenance.
import { createNetwork, createCluster, type IClusterWithFluentOperations, type INetwork, } from "@reyemtech/nimbus"; const network = await createNetwork("prod", { cloud: "aws", cidr: "10.0.0.0/16", natStrategy: "managed", }); const cluster = createCluster( "prod", { cloud: "aws", nodePools: [{ name: "system", instanceType: "t4g.large", minNodes: 2, maxNodes: 4 }], }, network as INetwork ) as IClusterWithFluentOperations; const access = cluster.createServiceAccountAccess("ci-reader", { scope: { type: "namespace", namespace: "apps", role: "view" }, }); export const ciKubeconfig = access.kubeconfig;
For a scaffolded project, run npx @reyemtech/nimbus new my-infra aws.
Supported Nimbus-managed controllers default to a PodDisruptionBudget for voluntary evictions: single replicas require one available pod; multi-replica workloads allow one unavailable pod. Single-replica budgets can block node drains and autoscaler scale-in until a replacement is ready. Set podDisruptionBudget: { enabled: false } for planned maintenance. For multi-replica workloads, configure spreading where supported. Database operators own their database workload budgets; jobs, CronJobs, DaemonSets, and unsupported chart paths are excluded. See the PDB API and behavior reference.
Start at the documentation index. It links to provider guides, examples, cache deployments, Kubernetes access, and the API reference. AWS EKS users can also see the private Route 53 and Ingress visibility guide.
npm install
npm test
npm run typecheck
npm run lint
npm run buildSee the changelog for release history.