Module node/v1beta1
This page documents the language specification for the kubernetes package. If you're looking for help working with the inputs, outputs, or functions of kubernetes resources in a Pulumi program, please see the resource documentation for examples and API reference.
Resources
Others
Resources
Resource RuntimeClass
class RuntimeClass extends CustomResourceRuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md
constructor
new RuntimeClass(name: string, args?: RuntimeClassArgs, opts?: pulumi.CustomResourceOptions)Create a RuntimeClass resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RuntimeClassGet an existing RuntimeClass resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is RuntimeClassReturns true if the given object is an instance of RuntimeClass. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property apiVersion
public apiVersion: pulumi.Output<"node.k8s.io/v1beta1">;APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
property handler
public handler: pulumi.Output<string>;Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called “runc” might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property kind
public kind: pulumi.Output<"RuntimeClass">;Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
property metadata
public metadata: pulumi.Output<ObjectMeta>;More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property overhead
public overhead: pulumi.Output<Overhead>;Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature.
property scheduling
public scheduling: pulumi.Output<Scheduling>;Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource RuntimeClassList
class RuntimeClassList extends CustomResourceRuntimeClassList is a list of RuntimeClass objects.
constructor
new RuntimeClassList(name: string, args?: RuntimeClassListArgs, opts?: pulumi.CustomResourceOptions)Create a RuntimeClassList resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RuntimeClassListGet an existing RuntimeClassList resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is RuntimeClassListReturns true if the given object is an instance of RuntimeClassList. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property apiVersion
public apiVersion: pulumi.Output<"node.k8s.io/v1beta1">;APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property items
public items: pulumi.Output<RuntimeClass[]>;Items is a list of schema objects.
property kind
public kind: pulumi.Output<"RuntimeClassList">;Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
property metadata
public metadata: pulumi.Output<ListMeta>;Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Others
interface RuntimeClassArgs
interface RuntimeClassArgsThe set of arguments for constructing a RuntimeClass resource.
property apiVersion
apiVersion?: pulumi.Input<"node.k8s.io/v1beta1">;APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
property handler
handler: pulumi.Input<string>;Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called “runc” might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable.
property kind
kind?: pulumi.Input<"RuntimeClass">;Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
property metadata
metadata?: pulumi.Input<ObjectMeta>;More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property overhead
overhead?: pulumi.Input<Overhead>;Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature.
property scheduling
scheduling?: pulumi.Input<Scheduling>;Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.
interface RuntimeClassListArgs
interface RuntimeClassListArgsThe set of arguments for constructing a RuntimeClassList resource.
property apiVersion
apiVersion?: pulumi.Input<"node.k8s.io/v1beta1">;APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
property items
items: pulumi.Input<pulumi.Input<RuntimeClass>[]>;Items is a list of schema objects.
property kind
kind?: pulumi.Input<"RuntimeClassList">;Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
property metadata
metadata?: pulumi.Input<ListMeta>;Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata