Module networking/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 Ingress
class Ingress extends CustomResourceIngress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- Ingress object exists.
- Endpoint objects exist with matching names for each Ingress path (except when Service type is ExternalName).
- Ingress entry exists for ‘.status.loadBalancer.ingress’.
If the Ingress has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the ‘customTimeouts’ option on the resource.
constructor
new Ingress(name: string, args?: IngressArgs, opts?: pulumi.CustomResourceOptions)Create a Ingress 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): IngressGet an existing Ingress 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 IngressReturns true if the given object is an instance of Ingress. 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<"networking.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 kind
public kind: pulumi.Output<"Ingress">;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>;Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property spec
public spec: pulumi.Output<IngressSpec>;Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
property status
public status: pulumi.Output<IngressStatus>;Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource IngressClass
class IngressClass extends CustomResourceIngressClass represents the class of the Ingress, referenced by the Ingress Spec. The ingressclass.kubernetes.io/is-default-class annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.
constructor
new IngressClass(name: string, args?: IngressClassArgs, opts?: pulumi.CustomResourceOptions)Create a IngressClass 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): IngressClassGet an existing IngressClass 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 IngressClassReturns true if the given object is an instance of IngressClass. 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<"networking.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 kind
public kind: pulumi.Output<"IngressClass">;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>;Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property spec
public spec: pulumi.Output<IngressClassSpec>;Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource IngressClassList
class IngressClassList extends CustomResourceIngressClassList is a collection of IngressClasses.
constructor
new IngressClassList(name: string, args?: IngressClassListArgs, opts?: pulumi.CustomResourceOptions)Create a IngressClassList 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): IngressClassListGet an existing IngressClassList 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 IngressClassListReturns true if the given object is an instance of IngressClassList. 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<"networking.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<IngressClass[]>;Items is the list of IngressClasses.
property kind
public kind: pulumi.Output<"IngressClassList">;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.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource IngressList
class IngressList extends CustomResourceIngressList is a collection of Ingress.
constructor
new IngressList(name: string, args?: IngressListArgs, opts?: pulumi.CustomResourceOptions)Create a IngressList 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): IngressListGet an existing IngressList 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 IngressListReturns true if the given object is an instance of IngressList. 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<"networking.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<Ingress[]>;Items is the list of Ingress.
property kind
public kind: pulumi.Output<"IngressList">;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 object’s 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 IngressArgs
interface IngressArgsThe set of arguments for constructing a Ingress resource.
property apiVersion
apiVersion?: pulumi.Input<"networking.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 kind
kind?: pulumi.Input<"Ingress">;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>;Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property spec
spec?: pulumi.Input<IngressSpec>;Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
interface IngressClassArgs
interface IngressClassArgsThe set of arguments for constructing a IngressClass resource.
property apiVersion
apiVersion?: pulumi.Input<"networking.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 kind
kind?: pulumi.Input<"IngressClass">;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>;Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property spec
spec?: pulumi.Input<IngressClassSpec>;Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
interface IngressClassListArgs
interface IngressClassListArgsThe set of arguments for constructing a IngressClassList resource.
property apiVersion
apiVersion?: pulumi.Input<"networking.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<IngressClass>[]>;Items is the list of IngressClasses.
property kind
kind?: pulumi.Input<"IngressClassList">;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.
interface IngressListArgs
interface IngressListArgsThe set of arguments for constructing a IngressList resource.
property apiVersion
apiVersion?: pulumi.Input<"networking.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<Ingress>[]>;Items is the list of Ingress.
property kind
kind?: pulumi.Input<"IngressList">;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 object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata