@kubernetes-models/jaeger-operator
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

@kubernetes-models/jaeger-operator

Jaeger operator models.

Installation

Install with npm.

npm install @kubernetes-models/jaeger-operator

Usage

import { Jaeger } from "@kubernetes-models/jaeger-operator/jaegertracing.io/v1/Jaeger";

// Create a new Jaeger
const jaeger = new Jaeger({
  metadata: { name: "hello" },
  spec: {
    strategy: "production",
    collector: {
      maxReplicas: 5,
      resources: {
        limits: {
          cpu: "100m",
          memory: "128Mi"
        }
      }
    },
    storage: {
      type: "elasticsearch",
      options: {
        es: {
          "server-urls": "http://elasticsearch:9200"
        }
      }
    }
  }
});

// Validate against JSON schema
jaeger.validate();

License

See LICENSE

Package Sidebar

Install

npm i @kubernetes-models/jaeger-operator

Weekly Downloads

2

Version

2.3.0

License

MIT

Unpacked Size

667 kB

Total Files

17

Last publish

Collaborators

  • tommy351