Documentation ¶
Index ¶
- Constants
- type Cluster
- type ClusterArrayOutput
- type ClusterOutput
- func (o ClusterOutput) CertificateAuthorityData() pulumi.StringOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) Server() pulumi.StringOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- type Context
- type ContextArrayOutput
- type ContextOutput
- type GetKubeVipManifestArgs
- type GetKubeVipManifestOutputArgs
- type GetKubeVipManifestResult
- type GetKubeVipManifestResultOutput
- func (GetKubeVipManifestResultOutput) ElementType() reflect.Type
- func (o GetKubeVipManifestResultOutput) Result() PodManifestOutput
- func (o GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutput() GetKubeVipManifestResultOutput
- func (o GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutputWithContext(ctx context.Context) GetKubeVipManifestResultOutput
- type GetKubeconfigArgs
- type GetKubeconfigOutputArgs
- type GetKubeconfigResult
- type GetKubeconfigResultOutput
- func (GetKubeconfigResultOutput) ElementType() reflect.Type
- func (o GetKubeconfigResultOutput) Result() KubeconfigOutput
- func (o GetKubeconfigResultOutput) ToGetKubeconfigResultOutput() GetKubeconfigResultOutput
- func (o GetKubeconfigResultOutput) ToGetKubeconfigResultOutputWithContext(ctx context.Context) GetKubeconfigResultOutput
- type KubeVipManifest
- type KubeVipManifestArgs
- type KubeVipManifestArray
- type KubeVipManifestArrayInput
- type KubeVipManifestArrayOutput
- func (KubeVipManifestArrayOutput) ElementType() reflect.Type
- func (o KubeVipManifestArrayOutput) Index(i pulumi.IntInput) KubeVipManifestOutput
- func (o KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutput() KubeVipManifestArrayOutput
- func (o KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutputWithContext(ctx context.Context) KubeVipManifestArrayOutput
- type KubeVipManifestInput
- type KubeVipManifestMap
- type KubeVipManifestMapInput
- type KubeVipManifestMapOutput
- func (KubeVipManifestMapOutput) ElementType() reflect.Type
- func (o KubeVipManifestMapOutput) MapIndex(k pulumi.StringInput) KubeVipManifestOutput
- func (o KubeVipManifestMapOutput) ToKubeVipManifestMapOutput() KubeVipManifestMapOutput
- func (o KubeVipManifestMapOutput) ToKubeVipManifestMapOutputWithContext(ctx context.Context) KubeVipManifestMapOutput
- type KubeVipManifestOutput
- func (KubeVipManifestOutput) ElementType() reflect.Type
- func (o KubeVipManifestOutput) Result() PodManifestOutput
- func (o KubeVipManifestOutput) ToKubeVipManifestOutput() KubeVipManifestOutput
- func (o KubeVipManifestOutput) ToKubeVipManifestOutputWithContext(ctx context.Context) KubeVipManifestOutput
- func (o KubeVipManifestOutput) Yaml() pulumi.StringOutput
- type Kubeconfig
- type KubeconfigAdminOptions
- type KubeconfigAdminOptionsArgs
- type KubeconfigAdminOptionsInput
- type KubeconfigAdminOptionsOutput
- func (KubeconfigAdminOptionsOutput) ElementType() reflect.Type
- func (o KubeconfigAdminOptionsOutput) PublicIp() pulumi.StringPtrOutput
- func (o KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutput() KubeconfigAdminOptionsOutput
- func (o KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutputWithContext(ctx context.Context) KubeconfigAdminOptionsOutput
- func (o KubeconfigAdminOptionsOutput) Type() pulumi.StringOutput
- type KubeconfigCluster
- type KubeconfigContext
- type KubeconfigKubeControllerManagerOptions
- type KubeconfigKubeControllerManagerOptionsArgs
- func (KubeconfigKubeControllerManagerOptionsArgs) ElementType() reflect.Type
- func (i KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutput() KubeconfigKubeControllerManagerOptionsOutput
- func (i KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeControllerManagerOptionsOutput
- type KubeconfigKubeControllerManagerOptionsInput
- type KubeconfigKubeControllerManagerOptionsOutput
- func (KubeconfigKubeControllerManagerOptionsOutput) ElementType() reflect.Type
- func (o KubeconfigKubeControllerManagerOptionsOutput) PublicIp() pulumi.StringPtrOutput
- func (o KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutput() KubeconfigKubeControllerManagerOptionsOutput
- func (o KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeControllerManagerOptionsOutput
- func (o KubeconfigKubeControllerManagerOptionsOutput) Type() pulumi.StringOutput
- type KubeconfigKubeProxyOptions
- type KubeconfigKubeProxyOptionsArgs
- func (KubeconfigKubeProxyOptionsArgs) ElementType() reflect.Type
- func (i KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutput() KubeconfigKubeProxyOptionsOutput
- func (i KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutputWithContext(ctx context.Context) KubeconfigKubeProxyOptionsOutput
- type KubeconfigKubeProxyOptionsInput
- type KubeconfigKubeProxyOptionsOutput
- func (KubeconfigKubeProxyOptionsOutput) ElementType() reflect.Type
- func (o KubeconfigKubeProxyOptionsOutput) PublicIp() pulumi.StringPtrOutput
- func (o KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutput() KubeconfigKubeProxyOptionsOutput
- func (o KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutputWithContext(ctx context.Context) KubeconfigKubeProxyOptionsOutput
- func (o KubeconfigKubeProxyOptionsOutput) Type() pulumi.StringOutput
- type KubeconfigKubeSchedulerOptions
- type KubeconfigKubeSchedulerOptionsArgs
- func (KubeconfigKubeSchedulerOptionsArgs) ElementType() reflect.Type
- func (i KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutput() KubeconfigKubeSchedulerOptionsOutput
- func (i KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeSchedulerOptionsOutput
- type KubeconfigKubeSchedulerOptionsInput
- type KubeconfigKubeSchedulerOptionsOutput
- func (KubeconfigKubeSchedulerOptionsOutput) ElementType() reflect.Type
- func (o KubeconfigKubeSchedulerOptionsOutput) PublicIp() pulumi.StringPtrOutput
- func (o KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutput() KubeconfigKubeSchedulerOptionsOutput
- func (o KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeSchedulerOptionsOutput
- func (o KubeconfigKubeSchedulerOptionsOutput) Type() pulumi.StringOutput
- type KubeconfigOutput
- func (o KubeconfigOutput) Clusters() ClusterArrayOutput
- func (o KubeconfigOutput) Contexts() ContextArrayOutput
- func (KubeconfigOutput) ElementType() reflect.Type
- func (o KubeconfigOutput) ToKubeconfigOutput() KubeconfigOutput
- func (o KubeconfigOutput) ToKubeconfigOutputWithContext(ctx context.Context) KubeconfigOutput
- func (o KubeconfigOutput) Users() UserArrayOutput
- type KubeconfigType
- type KubeconfigUser
- type KubeconfigWorkerOptions
- type KubeconfigWorkerOptionsArgs
- type KubeconfigWorkerOptionsInput
- type KubeconfigWorkerOptionsOutput
- func (KubeconfigWorkerOptionsOutput) ElementType() reflect.Type
- func (o KubeconfigWorkerOptionsOutput) Name() pulumi.StringOutput
- func (o KubeconfigWorkerOptionsOutput) PublicIp() pulumi.StringOutput
- func (o KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutput() KubeconfigWorkerOptionsOutput
- func (o KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutputWithContext(ctx context.Context) KubeconfigWorkerOptionsOutput
- func (o KubeconfigWorkerOptionsOutput) Type() pulumi.StringPtrOutput
- type PodManifest
- type PodManifestArgs
- type PodManifestInput
- type PodManifestOutput
- func (o PodManifestOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodManifestOutput) ElementType() reflect.Type
- func (o PodManifestOutput) Kind() pulumi.StringPtrOutput
- func (o PodManifestOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o PodManifestOutput) Spec() corev1.PodSpecPtrOutput
- func (o PodManifestOutput) Status() corev1.PodStatusPtrOutput
- func (o PodManifestOutput) ToPodManifestOutput() PodManifestOutput
- func (o PodManifestOutput) ToPodManifestOutputWithContext(ctx context.Context) PodManifestOutput
- type User
- type UserArrayOutput
- type UserOutput
Constants ¶
const ( KubeconfigTypeWorker = KubeconfigType("worker") KubeconfigType_Kube_Proxy = KubeconfigType("kube-proxy") KubeconfigType_Kube_Controller_Manager = KubeconfigType("kube-controller-manager") KubeconfigType_Kube_Scheduler = KubeconfigType("kube-scheduler") KubeconfigTypeAdmin = KubeconfigType("admin") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterArrayOutput ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) CertificateAuthorityData ¶
func (o ClusterOutput) CertificateAuthorityData() pulumi.StringOutput
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) Server ¶
func (o ClusterOutput) Server() pulumi.StringOutput
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ContextArrayOutput ¶
type ContextArrayOutput struct{ *pulumi.OutputState }
func (ContextArrayOutput) ElementType ¶
func (ContextArrayOutput) ElementType() reflect.Type
func (ContextArrayOutput) Index ¶
func (o ContextArrayOutput) Index(i pulumi.IntInput) ContextOutput
func (ContextArrayOutput) ToContextArrayOutput ¶
func (o ContextArrayOutput) ToContextArrayOutput() ContextArrayOutput
func (ContextArrayOutput) ToContextArrayOutputWithContext ¶
func (o ContextArrayOutput) ToContextArrayOutputWithContext(ctx context.Context) ContextArrayOutput
type ContextOutput ¶
type ContextOutput struct{ *pulumi.OutputState }
func (ContextOutput) Cluster ¶
func (o ContextOutput) Cluster() pulumi.StringOutput
func (ContextOutput) ElementType ¶
func (ContextOutput) ElementType() reflect.Type
func (ContextOutput) ToContextOutput ¶
func (o ContextOutput) ToContextOutput() ContextOutput
func (ContextOutput) ToContextOutputWithContext ¶
func (o ContextOutput) ToContextOutputWithContext(ctx context.Context) ContextOutput
func (ContextOutput) User ¶
func (o ContextOutput) User() pulumi.StringOutput
type GetKubeVipManifestArgs ¶
type GetKubeVipManifestArgs struct { // TODO Address string `pulumi:"address"` // TODO BgpAs *int `pulumi:"bgpAs"` // TODO BgpEnable *bool `pulumi:"bgpEnable"` // TODO BgpPeerAddress *string `pulumi:"bgpPeerAddress"` // TODO BgpPeerAs *int `pulumi:"bgpPeerAs"` // TODO BgpPeerPass *string `pulumi:"bgpPeerPass"` // TODO BgpPeers *string `pulumi:"bgpPeers"` // TODO BgpRouterId *string `pulumi:"bgpRouterId"` // TODO CpEnable *bool `pulumi:"cpEnable"` // TODO CpNamespace *string `pulumi:"cpNamespace"` // Override the kube-vip image. Image *string `pulumi:"image"` // Path to the kubeconfig on the remote host. KubeconfigPath string `pulumi:"kubeconfigPath"` // Name of the static pod. Defaults to kube-vip. Name *string `pulumi:"name"` // Namespace for the static pod. Defaults to kube-system. Namespace *string `pulumi:"namespace"` // TODO Port *int `pulumi:"port"` // TODO SvcEnable *bool `pulumi:"svcEnable"` // Version of kube-vip to use. Version *string `pulumi:"version"` // TODO VipArp *bool `pulumi:"vipArp"` // TODO VipCidr int `pulumi:"vipCidr"` // TODO VipDdns *bool `pulumi:"vipDdns"` // TODO VipInterface *string `pulumi:"vipInterface"` // TODO VipLeaderElection *bool `pulumi:"vipLeaderElection"` // TODO VipLeaseDuration *int `pulumi:"vipLeaseDuration"` // TODO VipRenewDeadline *int `pulumi:"vipRenewDeadline"` // TODO VipRetryPeriod *int `pulumi:"vipRetryPeriod"` }
func (*GetKubeVipManifestArgs) Defaults ¶
func (val *GetKubeVipManifestArgs) Defaults() *GetKubeVipManifestArgs
Defaults sets the appropriate defaults for GetKubeVipManifestArgs
type GetKubeVipManifestOutputArgs ¶
type GetKubeVipManifestOutputArgs struct { // TODO Address pulumi.StringInput `pulumi:"address"` // TODO BgpAs pulumi.IntPtrInput `pulumi:"bgpAs"` // TODO BgpEnable pulumi.BoolPtrInput `pulumi:"bgpEnable"` // TODO BgpPeerAddress pulumi.StringPtrInput `pulumi:"bgpPeerAddress"` // TODO BgpPeerAs pulumi.IntPtrInput `pulumi:"bgpPeerAs"` // TODO BgpPeerPass pulumi.StringPtrInput `pulumi:"bgpPeerPass"` // TODO BgpPeers pulumi.StringPtrInput `pulumi:"bgpPeers"` // TODO BgpRouterId pulumi.StringPtrInput `pulumi:"bgpRouterId"` // TODO CpEnable pulumi.BoolPtrInput `pulumi:"cpEnable"` // TODO CpNamespace pulumi.StringPtrInput `pulumi:"cpNamespace"` // Override the kube-vip image. Image pulumi.StringPtrInput `pulumi:"image"` // Path to the kubeconfig on the remote host. KubeconfigPath pulumi.StringInput `pulumi:"kubeconfigPath"` // Name of the static pod. Defaults to kube-vip. Name pulumi.StringPtrInput `pulumi:"name"` // Namespace for the static pod. Defaults to kube-system. Namespace pulumi.StringPtrInput `pulumi:"namespace"` // TODO Port pulumi.IntPtrInput `pulumi:"port"` // TODO SvcEnable pulumi.BoolPtrInput `pulumi:"svcEnable"` // Version of kube-vip to use. Version pulumi.StringPtrInput `pulumi:"version"` // TODO VipArp pulumi.BoolPtrInput `pulumi:"vipArp"` // TODO VipCidr pulumi.IntInput `pulumi:"vipCidr"` // TODO VipDdns pulumi.BoolPtrInput `pulumi:"vipDdns"` // TODO VipInterface pulumi.StringPtrInput `pulumi:"vipInterface"` // TODO VipLeaderElection pulumi.BoolPtrInput `pulumi:"vipLeaderElection"` // TODO VipLeaseDuration pulumi.IntPtrInput `pulumi:"vipLeaseDuration"` // TODO VipRenewDeadline pulumi.IntPtrInput `pulumi:"vipRenewDeadline"` // TODO VipRetryPeriod pulumi.IntPtrInput `pulumi:"vipRetryPeriod"` }
func (GetKubeVipManifestOutputArgs) ElementType ¶
func (GetKubeVipManifestOutputArgs) ElementType() reflect.Type
type GetKubeVipManifestResult ¶
type GetKubeVipManifestResult struct {
Result PodManifest `pulumi:"result"`
}
func GetKubeVipManifest ¶
func GetKubeVipManifest(ctx *pulumi.Context, args *GetKubeVipManifestArgs, opts ...pulumi.InvokeOption) (*GetKubeVipManifestResult, error)
Gets the static pod manifests for KubeVip.
type GetKubeVipManifestResultOutput ¶
type GetKubeVipManifestResultOutput struct{ *pulumi.OutputState }
func GetKubeVipManifestOutput ¶
func GetKubeVipManifestOutput(ctx *pulumi.Context, args GetKubeVipManifestOutputArgs, opts ...pulumi.InvokeOption) GetKubeVipManifestResultOutput
func (GetKubeVipManifestResultOutput) ElementType ¶
func (GetKubeVipManifestResultOutput) ElementType() reflect.Type
func (GetKubeVipManifestResultOutput) Result ¶
func (o GetKubeVipManifestResultOutput) Result() PodManifestOutput
func (GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutput ¶
func (o GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutput() GetKubeVipManifestResultOutput
func (GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutputWithContext ¶
func (o GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutputWithContext(ctx context.Context) GetKubeVipManifestResultOutput
type GetKubeconfigArgs ¶
type GetKubeconfigArgs struct { // Certificate authority data. CaPem string `pulumi:"caPem"` // Options for creating the kubeconfig. Options interface{} `pulumi:"options"` }
type GetKubeconfigOutputArgs ¶
type GetKubeconfigOutputArgs struct { // Certificate authority data. CaPem pulumi.StringInput `pulumi:"caPem"` // Options for creating the kubeconfig. Options interface{} `pulumi:"options"` }
func (GetKubeconfigOutputArgs) ElementType ¶
func (GetKubeconfigOutputArgs) ElementType() reflect.Type
type GetKubeconfigResult ¶
type GetKubeconfigResult struct {
Result Kubeconfig `pulumi:"result"`
}
func GetKubeconfig ¶
func GetKubeconfig(ctx *pulumi.Context, args *GetKubeconfigArgs, opts ...pulumi.InvokeOption) (*GetKubeconfigResult, error)
type GetKubeconfigResultOutput ¶
type GetKubeconfigResultOutput struct{ *pulumi.OutputState }
func GetKubeconfigOutput ¶
func GetKubeconfigOutput(ctx *pulumi.Context, args GetKubeconfigOutputArgs, opts ...pulumi.InvokeOption) GetKubeconfigResultOutput
func (GetKubeconfigResultOutput) ElementType ¶
func (GetKubeconfigResultOutput) ElementType() reflect.Type
func (GetKubeconfigResultOutput) Result ¶
func (o GetKubeconfigResultOutput) Result() KubeconfigOutput
func (GetKubeconfigResultOutput) ToGetKubeconfigResultOutput ¶
func (o GetKubeconfigResultOutput) ToGetKubeconfigResultOutput() GetKubeconfigResultOutput
func (GetKubeconfigResultOutput) ToGetKubeconfigResultOutputWithContext ¶
func (o GetKubeconfigResultOutput) ToGetKubeconfigResultOutputWithContext(ctx context.Context) GetKubeconfigResultOutput
type KubeVipManifest ¶
type KubeVipManifest struct { pulumi.ResourceState Result PodManifestOutput `pulumi:"result"` // The yaml representation of the manifest Yaml pulumi.StringOutput `pulumi:"yaml"` }
Pseudo resource for generating the kube-vip manifest.
func NewKubeVipManifest ¶
func NewKubeVipManifest(ctx *pulumi.Context, name string, args *KubeVipManifestArgs, opts ...pulumi.ResourceOption) (*KubeVipManifest, error)
NewKubeVipManifest registers a new resource with the given unique name, arguments, and options.
func (*KubeVipManifest) ElementType ¶
func (*KubeVipManifest) ElementType() reflect.Type
func (*KubeVipManifest) ToKubeVipManifestOutput ¶
func (i *KubeVipManifest) ToKubeVipManifestOutput() KubeVipManifestOutput
func (*KubeVipManifest) ToKubeVipManifestOutputWithContext ¶
func (i *KubeVipManifest) ToKubeVipManifestOutputWithContext(ctx context.Context) KubeVipManifestOutput
type KubeVipManifestArgs ¶
type KubeVipManifestArgs struct { // TODO Address pulumi.StringInput // TODO BgpAs pulumi.IntPtrInput // TODO BgpEnable pulumi.BoolPtrInput // TODO BgpPeerAddress pulumi.StringPtrInput // TODO BgpPeerAs pulumi.IntPtrInput // TODO BgpPeerPass pulumi.StringPtrInput // TODO BgpPeers pulumi.StringPtrInput // TODO BgpRouterId pulumi.StringPtrInput // TODO CpEnable pulumi.BoolPtrInput // TODO CpNamespace pulumi.StringPtrInput // Override the kube-vip image. Image pulumi.StringPtrInput // Path to the kubeconfig on the remote host. KubeconfigPath pulumi.StringInput // Name of the static pod. Defaults to kube-vip. Name pulumi.StringPtrInput // Namespace for the static pod. Defaults to kube-system. Namespace pulumi.StringPtrInput // TODO Port pulumi.IntPtrInput // TODO SvcEnable pulumi.BoolPtrInput // Version of kube-vip to use. Version pulumi.StringPtrInput // TODO VipArp pulumi.BoolPtrInput // TODO VipCidr pulumi.IntInput // TODO VipDdns pulumi.BoolPtrInput // TODO VipInterface pulumi.StringPtrInput // TODO VipLeaderElection pulumi.BoolPtrInput // TODO VipLeaseDuration pulumi.IntPtrInput // TODO VipRenewDeadline pulumi.IntPtrInput // TODO VipRetryPeriod pulumi.IntPtrInput }
The set of arguments for constructing a KubeVipManifest resource.
func (KubeVipManifestArgs) ElementType ¶
func (KubeVipManifestArgs) ElementType() reflect.Type
type KubeVipManifestArray ¶
type KubeVipManifestArray []KubeVipManifestInput
func (KubeVipManifestArray) ElementType ¶
func (KubeVipManifestArray) ElementType() reflect.Type
func (KubeVipManifestArray) ToKubeVipManifestArrayOutput ¶
func (i KubeVipManifestArray) ToKubeVipManifestArrayOutput() KubeVipManifestArrayOutput
func (KubeVipManifestArray) ToKubeVipManifestArrayOutputWithContext ¶
func (i KubeVipManifestArray) ToKubeVipManifestArrayOutputWithContext(ctx context.Context) KubeVipManifestArrayOutput
type KubeVipManifestArrayInput ¶
type KubeVipManifestArrayInput interface { pulumi.Input ToKubeVipManifestArrayOutput() KubeVipManifestArrayOutput ToKubeVipManifestArrayOutputWithContext(context.Context) KubeVipManifestArrayOutput }
KubeVipManifestArrayInput is an input type that accepts KubeVipManifestArray and KubeVipManifestArrayOutput values. You can construct a concrete instance of `KubeVipManifestArrayInput` via:
KubeVipManifestArray{ KubeVipManifestArgs{...} }
type KubeVipManifestArrayOutput ¶
type KubeVipManifestArrayOutput struct{ *pulumi.OutputState }
func (KubeVipManifestArrayOutput) ElementType ¶
func (KubeVipManifestArrayOutput) ElementType() reflect.Type
func (KubeVipManifestArrayOutput) Index ¶
func (o KubeVipManifestArrayOutput) Index(i pulumi.IntInput) KubeVipManifestOutput
func (KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutput ¶
func (o KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutput() KubeVipManifestArrayOutput
func (KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutputWithContext ¶
func (o KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutputWithContext(ctx context.Context) KubeVipManifestArrayOutput
type KubeVipManifestInput ¶
type KubeVipManifestInput interface { pulumi.Input ToKubeVipManifestOutput() KubeVipManifestOutput ToKubeVipManifestOutputWithContext(ctx context.Context) KubeVipManifestOutput }
type KubeVipManifestMap ¶
type KubeVipManifestMap map[string]KubeVipManifestInput
func (KubeVipManifestMap) ElementType ¶
func (KubeVipManifestMap) ElementType() reflect.Type
func (KubeVipManifestMap) ToKubeVipManifestMapOutput ¶
func (i KubeVipManifestMap) ToKubeVipManifestMapOutput() KubeVipManifestMapOutput
func (KubeVipManifestMap) ToKubeVipManifestMapOutputWithContext ¶
func (i KubeVipManifestMap) ToKubeVipManifestMapOutputWithContext(ctx context.Context) KubeVipManifestMapOutput
type KubeVipManifestMapInput ¶
type KubeVipManifestMapInput interface { pulumi.Input ToKubeVipManifestMapOutput() KubeVipManifestMapOutput ToKubeVipManifestMapOutputWithContext(context.Context) KubeVipManifestMapOutput }
KubeVipManifestMapInput is an input type that accepts KubeVipManifestMap and KubeVipManifestMapOutput values. You can construct a concrete instance of `KubeVipManifestMapInput` via:
KubeVipManifestMap{ "key": KubeVipManifestArgs{...} }
type KubeVipManifestMapOutput ¶
type KubeVipManifestMapOutput struct{ *pulumi.OutputState }
func (KubeVipManifestMapOutput) ElementType ¶
func (KubeVipManifestMapOutput) ElementType() reflect.Type
func (KubeVipManifestMapOutput) MapIndex ¶
func (o KubeVipManifestMapOutput) MapIndex(k pulumi.StringInput) KubeVipManifestOutput
func (KubeVipManifestMapOutput) ToKubeVipManifestMapOutput ¶
func (o KubeVipManifestMapOutput) ToKubeVipManifestMapOutput() KubeVipManifestMapOutput
func (KubeVipManifestMapOutput) ToKubeVipManifestMapOutputWithContext ¶
func (o KubeVipManifestMapOutput) ToKubeVipManifestMapOutputWithContext(ctx context.Context) KubeVipManifestMapOutput
type KubeVipManifestOutput ¶
type KubeVipManifestOutput struct{ *pulumi.OutputState }
func (KubeVipManifestOutput) ElementType ¶
func (KubeVipManifestOutput) ElementType() reflect.Type
func (KubeVipManifestOutput) Result ¶
func (o KubeVipManifestOutput) Result() PodManifestOutput
func (KubeVipManifestOutput) ToKubeVipManifestOutput ¶
func (o KubeVipManifestOutput) ToKubeVipManifestOutput() KubeVipManifestOutput
func (KubeVipManifestOutput) ToKubeVipManifestOutputWithContext ¶
func (o KubeVipManifestOutput) ToKubeVipManifestOutputWithContext(ctx context.Context) KubeVipManifestOutput
func (KubeVipManifestOutput) Yaml ¶
func (o KubeVipManifestOutput) Yaml() pulumi.StringOutput
The yaml representation of the manifest
type Kubeconfig ¶
type KubeconfigAdminOptions ¶
type KubeconfigAdminOptionsArgs ¶
type KubeconfigAdminOptionsArgs struct { PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` Type string `pulumi:"type"` }
func (KubeconfigAdminOptionsArgs) ElementType ¶
func (KubeconfigAdminOptionsArgs) ElementType() reflect.Type
func (KubeconfigAdminOptionsArgs) ToKubeconfigAdminOptionsOutput ¶
func (i KubeconfigAdminOptionsArgs) ToKubeconfigAdminOptionsOutput() KubeconfigAdminOptionsOutput
func (KubeconfigAdminOptionsArgs) ToKubeconfigAdminOptionsOutputWithContext ¶
func (i KubeconfigAdminOptionsArgs) ToKubeconfigAdminOptionsOutputWithContext(ctx context.Context) KubeconfigAdminOptionsOutput
type KubeconfigAdminOptionsInput ¶
type KubeconfigAdminOptionsInput interface { pulumi.Input ToKubeconfigAdminOptionsOutput() KubeconfigAdminOptionsOutput ToKubeconfigAdminOptionsOutputWithContext(context.Context) KubeconfigAdminOptionsOutput }
KubeconfigAdminOptionsInput is an input type that accepts KubeconfigAdminOptionsArgs and KubeconfigAdminOptionsOutput values. You can construct a concrete instance of `KubeconfigAdminOptionsInput` via:
KubeconfigAdminOptionsArgs{...}
type KubeconfigAdminOptionsOutput ¶
type KubeconfigAdminOptionsOutput struct{ *pulumi.OutputState }
func (KubeconfigAdminOptionsOutput) ElementType ¶
func (KubeconfigAdminOptionsOutput) ElementType() reflect.Type
func (KubeconfigAdminOptionsOutput) PublicIp ¶
func (o KubeconfigAdminOptionsOutput) PublicIp() pulumi.StringPtrOutput
func (KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutput ¶
func (o KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutput() KubeconfigAdminOptionsOutput
func (KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutputWithContext ¶
func (o KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutputWithContext(ctx context.Context) KubeconfigAdminOptionsOutput
func (KubeconfigAdminOptionsOutput) Type ¶
func (o KubeconfigAdminOptionsOutput) Type() pulumi.StringOutput
type KubeconfigCluster ¶
type KubeconfigContext ¶
type KubeconfigKubeControllerManagerOptionsArgs ¶
type KubeconfigKubeControllerManagerOptionsArgs struct { PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` Type string `pulumi:"type"` }
func (KubeconfigKubeControllerManagerOptionsArgs) ElementType ¶
func (KubeconfigKubeControllerManagerOptionsArgs) ElementType() reflect.Type
func (KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutput ¶
func (i KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutput() KubeconfigKubeControllerManagerOptionsOutput
func (KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutputWithContext ¶
func (i KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeControllerManagerOptionsOutput
type KubeconfigKubeControllerManagerOptionsInput ¶
type KubeconfigKubeControllerManagerOptionsInput interface { pulumi.Input ToKubeconfigKubeControllerManagerOptionsOutput() KubeconfigKubeControllerManagerOptionsOutput ToKubeconfigKubeControllerManagerOptionsOutputWithContext(context.Context) KubeconfigKubeControllerManagerOptionsOutput }
KubeconfigKubeControllerManagerOptionsInput is an input type that accepts KubeconfigKubeControllerManagerOptionsArgs and KubeconfigKubeControllerManagerOptionsOutput values. You can construct a concrete instance of `KubeconfigKubeControllerManagerOptionsInput` via:
KubeconfigKubeControllerManagerOptionsArgs{...}
type KubeconfigKubeControllerManagerOptionsOutput ¶
type KubeconfigKubeControllerManagerOptionsOutput struct{ *pulumi.OutputState }
func (KubeconfigKubeControllerManagerOptionsOutput) ElementType ¶
func (KubeconfigKubeControllerManagerOptionsOutput) ElementType() reflect.Type
func (KubeconfigKubeControllerManagerOptionsOutput) PublicIp ¶
func (o KubeconfigKubeControllerManagerOptionsOutput) PublicIp() pulumi.StringPtrOutput
func (KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutput ¶
func (o KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutput() KubeconfigKubeControllerManagerOptionsOutput
func (KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutputWithContext ¶
func (o KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeControllerManagerOptionsOutput
func (KubeconfigKubeControllerManagerOptionsOutput) Type ¶
func (o KubeconfigKubeControllerManagerOptionsOutput) Type() pulumi.StringOutput
type KubeconfigKubeProxyOptionsArgs ¶
type KubeconfigKubeProxyOptionsArgs struct { PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` Type string `pulumi:"type"` }
func (KubeconfigKubeProxyOptionsArgs) ElementType ¶
func (KubeconfigKubeProxyOptionsArgs) ElementType() reflect.Type
func (KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutput ¶
func (i KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutput() KubeconfigKubeProxyOptionsOutput
func (KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutputWithContext ¶
func (i KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutputWithContext(ctx context.Context) KubeconfigKubeProxyOptionsOutput
type KubeconfigKubeProxyOptionsInput ¶
type KubeconfigKubeProxyOptionsInput interface { pulumi.Input ToKubeconfigKubeProxyOptionsOutput() KubeconfigKubeProxyOptionsOutput ToKubeconfigKubeProxyOptionsOutputWithContext(context.Context) KubeconfigKubeProxyOptionsOutput }
KubeconfigKubeProxyOptionsInput is an input type that accepts KubeconfigKubeProxyOptionsArgs and KubeconfigKubeProxyOptionsOutput values. You can construct a concrete instance of `KubeconfigKubeProxyOptionsInput` via:
KubeconfigKubeProxyOptionsArgs{...}
type KubeconfigKubeProxyOptionsOutput ¶
type KubeconfigKubeProxyOptionsOutput struct{ *pulumi.OutputState }
func (KubeconfigKubeProxyOptionsOutput) ElementType ¶
func (KubeconfigKubeProxyOptionsOutput) ElementType() reflect.Type
func (KubeconfigKubeProxyOptionsOutput) PublicIp ¶
func (o KubeconfigKubeProxyOptionsOutput) PublicIp() pulumi.StringPtrOutput
func (KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutput ¶
func (o KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutput() KubeconfigKubeProxyOptionsOutput
func (KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutputWithContext ¶
func (o KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutputWithContext(ctx context.Context) KubeconfigKubeProxyOptionsOutput
func (KubeconfigKubeProxyOptionsOutput) Type ¶
func (o KubeconfigKubeProxyOptionsOutput) Type() pulumi.StringOutput
type KubeconfigKubeSchedulerOptionsArgs ¶
type KubeconfigKubeSchedulerOptionsArgs struct { PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` Type string `pulumi:"type"` }
func (KubeconfigKubeSchedulerOptionsArgs) ElementType ¶
func (KubeconfigKubeSchedulerOptionsArgs) ElementType() reflect.Type
func (KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutput ¶
func (i KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutput() KubeconfigKubeSchedulerOptionsOutput
func (KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutputWithContext ¶
func (i KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeSchedulerOptionsOutput
type KubeconfigKubeSchedulerOptionsInput ¶
type KubeconfigKubeSchedulerOptionsInput interface { pulumi.Input ToKubeconfigKubeSchedulerOptionsOutput() KubeconfigKubeSchedulerOptionsOutput ToKubeconfigKubeSchedulerOptionsOutputWithContext(context.Context) KubeconfigKubeSchedulerOptionsOutput }
KubeconfigKubeSchedulerOptionsInput is an input type that accepts KubeconfigKubeSchedulerOptionsArgs and KubeconfigKubeSchedulerOptionsOutput values. You can construct a concrete instance of `KubeconfigKubeSchedulerOptionsInput` via:
KubeconfigKubeSchedulerOptionsArgs{...}
type KubeconfigKubeSchedulerOptionsOutput ¶
type KubeconfigKubeSchedulerOptionsOutput struct{ *pulumi.OutputState }
func (KubeconfigKubeSchedulerOptionsOutput) ElementType ¶
func (KubeconfigKubeSchedulerOptionsOutput) ElementType() reflect.Type
func (KubeconfigKubeSchedulerOptionsOutput) PublicIp ¶
func (o KubeconfigKubeSchedulerOptionsOutput) PublicIp() pulumi.StringPtrOutput
func (KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutput ¶
func (o KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutput() KubeconfigKubeSchedulerOptionsOutput
func (KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutputWithContext ¶
func (o KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeSchedulerOptionsOutput
func (KubeconfigKubeSchedulerOptionsOutput) Type ¶
func (o KubeconfigKubeSchedulerOptionsOutput) Type() pulumi.StringOutput
type KubeconfigOutput ¶
type KubeconfigOutput struct{ *pulumi.OutputState }
func (KubeconfigOutput) Clusters ¶
func (o KubeconfigOutput) Clusters() ClusterArrayOutput
func (KubeconfigOutput) Contexts ¶
func (o KubeconfigOutput) Contexts() ContextArrayOutput
func (KubeconfigOutput) ElementType ¶
func (KubeconfigOutput) ElementType() reflect.Type
func (KubeconfigOutput) ToKubeconfigOutput ¶
func (o KubeconfigOutput) ToKubeconfigOutput() KubeconfigOutput
func (KubeconfigOutput) ToKubeconfigOutputWithContext ¶
func (o KubeconfigOutput) ToKubeconfigOutputWithContext(ctx context.Context) KubeconfigOutput
func (KubeconfigOutput) Users ¶
func (o KubeconfigOutput) Users() UserArrayOutput
type KubeconfigType ¶
type KubeconfigType string
type KubeconfigUser ¶
type KubeconfigWorkerOptions ¶
type KubeconfigWorkerOptionsArgs ¶
type KubeconfigWorkerOptionsArgs struct { Name pulumi.StringInput `pulumi:"name"` PublicIp pulumi.StringInput `pulumi:"publicIp"` Type *string `pulumi:"type"` }
func (KubeconfigWorkerOptionsArgs) ElementType ¶
func (KubeconfigWorkerOptionsArgs) ElementType() reflect.Type
func (KubeconfigWorkerOptionsArgs) ToKubeconfigWorkerOptionsOutput ¶
func (i KubeconfigWorkerOptionsArgs) ToKubeconfigWorkerOptionsOutput() KubeconfigWorkerOptionsOutput
func (KubeconfigWorkerOptionsArgs) ToKubeconfigWorkerOptionsOutputWithContext ¶
func (i KubeconfigWorkerOptionsArgs) ToKubeconfigWorkerOptionsOutputWithContext(ctx context.Context) KubeconfigWorkerOptionsOutput
type KubeconfigWorkerOptionsInput ¶
type KubeconfigWorkerOptionsInput interface { pulumi.Input ToKubeconfigWorkerOptionsOutput() KubeconfigWorkerOptionsOutput ToKubeconfigWorkerOptionsOutputWithContext(context.Context) KubeconfigWorkerOptionsOutput }
KubeconfigWorkerOptionsInput is an input type that accepts KubeconfigWorkerOptionsArgs and KubeconfigWorkerOptionsOutput values. You can construct a concrete instance of `KubeconfigWorkerOptionsInput` via:
KubeconfigWorkerOptionsArgs{...}
type KubeconfigWorkerOptionsOutput ¶
type KubeconfigWorkerOptionsOutput struct{ *pulumi.OutputState }
func (KubeconfigWorkerOptionsOutput) ElementType ¶
func (KubeconfigWorkerOptionsOutput) ElementType() reflect.Type
func (KubeconfigWorkerOptionsOutput) Name ¶
func (o KubeconfigWorkerOptionsOutput) Name() pulumi.StringOutput
func (KubeconfigWorkerOptionsOutput) PublicIp ¶
func (o KubeconfigWorkerOptionsOutput) PublicIp() pulumi.StringOutput
func (KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutput ¶
func (o KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutput() KubeconfigWorkerOptionsOutput
func (KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutputWithContext ¶
func (o KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutputWithContext(ctx context.Context) KubeconfigWorkerOptionsOutput
func (KubeconfigWorkerOptionsOutput) Type ¶
func (o KubeconfigWorkerOptionsOutput) Type() pulumi.StringPtrOutput
type PodManifest ¶
type PodManifest struct { // 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 ApiVersion *string `pulumi:"apiVersion"` // 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 Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *corev1.PodSpec `pulumi:"spec"` // Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *corev1.PodStatus `pulumi:"status"` }
Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
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:
- The Pod is scheduled ("PodScheduled"" '.status.condition' is true).
- The Pod is initialized ("Initialized" '.status.condition' is true).
- The Pod is ready ("Ready" '.status.condition' is true) and the '.status.phase' is set to "Running". Or (for Jobs): The Pod succeeded ('.status.phase' set to "Succeeded").
If the Pod 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.
## Example Usage ### Create a Pod with auto-naming ```go package main
import (
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{ Spec: &corev1.PodSpecArgs{ Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Image: pulumi.String("nginx:1.14.2"), Name: pulumi.String("nginx"), Ports: corev1.ContainerPortArray{ &corev1.ContainerPortArgs{ ContainerPort: pulumi.Int(80), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Create a Pod with a user-specified name ```go package main
import (
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1" metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{ Metadata: &metav1.ObjectMetaArgs{ Name: pulumi.String("nginx"), }, Spec: &corev1.PodSpecArgs{ Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Image: pulumi.String("nginx:1.14.2"), Name: pulumi.String("nginx"), Ports: corev1.ContainerPortArray{ &corev1.ContainerPortArgs{ ContainerPort: pulumi.Int(80), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
type PodManifestArgs ¶
type PodManifestArgs struct { // 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 ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // 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 Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec corev1.PodSpecPtrInput `pulumi:"spec"` // Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status corev1.PodStatusPtrInput `pulumi:"status"` }
Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
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:
- The Pod is scheduled ("PodScheduled"" '.status.condition' is true).
- The Pod is initialized ("Initialized" '.status.condition' is true).
- The Pod is ready ("Ready" '.status.condition' is true) and the '.status.phase' is set to "Running". Or (for Jobs): The Pod succeeded ('.status.phase' set to "Succeeded").
If the Pod 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.
## Example Usage ### Create a Pod with auto-naming ```go package main
import (
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{ Spec: &corev1.PodSpecArgs{ Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Image: pulumi.String("nginx:1.14.2"), Name: pulumi.String("nginx"), Ports: corev1.ContainerPortArray{ &corev1.ContainerPortArgs{ ContainerPort: pulumi.Int(80), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Create a Pod with a user-specified name ```go package main
import (
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1" metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{ Metadata: &metav1.ObjectMetaArgs{ Name: pulumi.String("nginx"), }, Spec: &corev1.PodSpecArgs{ Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Image: pulumi.String("nginx:1.14.2"), Name: pulumi.String("nginx"), Ports: corev1.ContainerPortArray{ &corev1.ContainerPortArgs{ ContainerPort: pulumi.Int(80), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
func (PodManifestArgs) ElementType ¶
func (PodManifestArgs) ElementType() reflect.Type
func (PodManifestArgs) ToPodManifestOutput ¶
func (i PodManifestArgs) ToPodManifestOutput() PodManifestOutput
func (PodManifestArgs) ToPodManifestOutputWithContext ¶
func (i PodManifestArgs) ToPodManifestOutputWithContext(ctx context.Context) PodManifestOutput
type PodManifestInput ¶
type PodManifestInput interface { pulumi.Input ToPodManifestOutput() PodManifestOutput ToPodManifestOutputWithContext(context.Context) PodManifestOutput }
PodManifestInput is an input type that accepts PodManifestArgs and PodManifestOutput values. You can construct a concrete instance of `PodManifestInput` via:
PodManifestArgs{...}
type PodManifestOutput ¶
type PodManifestOutput struct{ *pulumi.OutputState }
Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
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:
- The Pod is scheduled ("PodScheduled"" '.status.condition' is true).
- The Pod is initialized ("Initialized" '.status.condition' is true).
- The Pod is ready ("Ready" '.status.condition' is true) and the '.status.phase' is set to "Running". Or (for Jobs): The Pod succeeded ('.status.phase' set to "Succeeded").
If the Pod 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.
## Example Usage ### Create a Pod with auto-naming ```go package main
import (
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{ Spec: &corev1.PodSpecArgs{ Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Image: pulumi.String("nginx:1.14.2"), Name: pulumi.String("nginx"), Ports: corev1.ContainerPortArray{ &corev1.ContainerPortArgs{ ContainerPort: pulumi.Int(80), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Create a Pod with a user-specified name ```go package main
import (
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1" metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{ Metadata: &metav1.ObjectMetaArgs{ Name: pulumi.String("nginx"), }, Spec: &corev1.PodSpecArgs{ Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Image: pulumi.String("nginx:1.14.2"), Name: pulumi.String("nginx"), Ports: corev1.ContainerPortArray{ &corev1.ContainerPortArgs{ ContainerPort: pulumi.Int(80), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
func (PodManifestOutput) ApiVersion ¶
func (o PodManifestOutput) ApiVersion() pulumi.StringPtrOutput
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
func (PodManifestOutput) ElementType ¶
func (PodManifestOutput) ElementType() reflect.Type
func (PodManifestOutput) Kind ¶
func (o PodManifestOutput) Kind() pulumi.StringPtrOutput
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
func (PodManifestOutput) Metadata ¶
func (o PodManifestOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodManifestOutput) Spec ¶
func (o PodManifestOutput) Spec() corev1.PodSpecPtrOutput
Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (PodManifestOutput) Status ¶
func (o PodManifestOutput) Status() corev1.PodStatusPtrOutput
Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (PodManifestOutput) ToPodManifestOutput ¶
func (o PodManifestOutput) ToPodManifestOutput() PodManifestOutput
func (PodManifestOutput) ToPodManifestOutputWithContext ¶
func (o PodManifestOutput) ToPodManifestOutputWithContext(ctx context.Context) PodManifestOutput
type UserArrayOutput ¶
type UserArrayOutput struct{ *pulumi.OutputState }
func (UserArrayOutput) ElementType ¶
func (UserArrayOutput) ElementType() reflect.Type
func (UserArrayOutput) Index ¶
func (o UserArrayOutput) Index(i pulumi.IntInput) UserOutput
func (UserArrayOutput) ToUserArrayOutput ¶
func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput
func (UserArrayOutput) ToUserArrayOutputWithContext ¶
func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserOutput ¶
type UserOutput struct{ *pulumi.OutputState }
func (UserOutput) ClientCertificateData ¶
func (o UserOutput) ClientCertificateData() pulumi.StringOutput
func (UserOutput) ClientKeyData ¶
func (o UserOutput) ClientKeyData() pulumi.StringOutput
func (UserOutput) ElementType ¶
func (UserOutput) ElementType() reflect.Type
func (UserOutput) ToUserOutput ¶
func (o UserOutput) ToUserOutput() UserOutput
func (UserOutput) ToUserOutputWithContext ¶
func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput