{"library":"kubernetes-types","type":"library","category":null,"description":"The `kubernetes-types` package provides comprehensive TypeScript definitions for Kubernetes API resources. It generates these definitions directly from the official Kubernetes OpenAPI specifications, ensuring accuracy and up-to-date type information. The current stable version is 1.30.0, aligning with Kubernetes API version 1.30.x. This package adheres to a strict versioning policy: its major and minor versions directly correspond to the target Kubernetes API version, while the patch version is reserved for updates to the generated types themselves. This approach ensures developers can reliably match their type definitions to their Kubernetes cluster's API version, preventing common runtime errors related to schema mismatches. It is a critical tool for building type-safe Kubernetes clients, controllers, and automation scripts in TypeScript, distinguishing itself by its direct generation from the official OpenAPI specs and strict version adherence rather than manual maintenance.","language":"javascript","status":"active","version":"1.30.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install kubernetes-types","imports":["import { Pod } from 'kubernetes-types/core/v1'","import { Deployment } from 'kubernetes-types/apps/v1'","import { ObjectMeta } from 'kubernetes-types/meta/v1'"]},{"cmd":"yarn add kubernetes-types","imports":[]},{"cmd":"pnpm add kubernetes-types","imports":[]}],"homepage":null,"github":"https://github.com/silverlyra/kubernetes-types","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/kubernetes-types","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/kubernetes-types/compatibility"}}