@k8s-ts/v1.8.0

type-safe definition of resources * type-safe interactions with apiserver * easing the upgrade path for kubernetes manifests.

Usage no npm install needed!

<script type="module">
  import k8sTsV180 from 'https://cdn.skypack.dev/@k8s-ts/v1.8.0';
</script>

README

@k8s-ts/v1.8.0

Goals

  • type-safe definition of resources
  • type-safe interactions with apiserver
  • easing the upgrade path for kubernetes manifests.
import {serialize} from "@k8s-ts/v1.8.0";
import {Service} from "@k8s-ts/v1.8.0/v1";

const service : Service = {
  // ...
};

console.log(JSON.stringify(serialize(service)));