package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Node_spec describes the attributes that a node is created with.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?unschedulable:bool -> ?taints:Kubernetes.Definitions.Api.Core.V1.Taint.t list -> ?provider_id:string -> ?pod_cidr:string -> ?external_id:string -> ?config_source:Kubernetes.Definitions.Api.Core.V1.Node_config_source.t -> unit -> t

If specified, the source to get node configuration from The Dynamic_kubelet_config feature gate must be enabled for the Kubelet to use this field

val external_id : t -> string option

External Id of the node assigned by some machine database (e.g. a cloud provider). Deprecated.

val pod_cidr : t -> string option

Pod_cidr represents the pod Ip range assigned to the node.

val provider_id : t -> string option

Id of the node assigned by the cloud provider in the format: <provider_name>://<provider_specific_node_id>

val taints : t -> Kubernetes.Definitions.Api.Core.V1.Taint.t list option

If specified, the node's taints.

val unschedulable : t -> bool option

Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

module Object : Object.S with type value := t
OCaml

Innovation. Community. Security.