Show / Hide Table of Contents

Class ManagedKubernetes

Inheritance
System.Object
Resource
CustomResource
ManagedKubernetes
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.CS
Assembly: Pulumi.AliCloud.dll
Syntax
public class ManagedKubernetes : CustomResource

Constructors

View Source

ManagedKubernetes(String, ManagedKubernetesArgs, CustomResourceOptions)

Create a ManagedKubernetes resource with the given unique name, arguments, and options.

Declaration
public ManagedKubernetes(string name, ManagedKubernetesArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ManagedKubernetesArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Addons

Declaration
public Output<ImmutableArray<ManagedKubernetesAddon>> Addons { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ManagedKubernetesAddon>>
View Source

AvailabilityZone

The Zone where new kubernetes cluster will be located. If it is not be specified, the vswitch_ids should be set, its value will be vswitch's zone.

Declaration
public Output<string> AvailabilityZone { get; }
Property Value
Type Description
Output<System.String>
View Source

ClientCert

The path of client certificate, like ~/.kube/client-cert.pem.

Declaration
public Output<string> ClientCert { get; }
Property Value
Type Description
Output<System.String>
View Source

ClientKey

The path of client key, like ~/.kube/client-key.pem.

Declaration
public Output<string> ClientKey { get; }
Property Value
Type Description
Output<System.String>
View Source

ClusterCaCert

The path of cluster ca certificate, like ~/.kube/cluster-ca-cert.pem

Declaration
public Output<string> ClusterCaCert { get; }
Property Value
Type Description
Output<System.String>
View Source

Connections

Map of kubernetes cluster connection information. It contains several attributes to Block Connections.

Declaration
public Output<ManagedKubernetesConnections> Connections { get; }
Property Value
Type Description
Output<ManagedKubernetesConnections>
View Source

CpuPolicy

kubelet cpu policy. options: static|none. default: none.

Declaration
public Output<string> CpuPolicy { get; }
Property Value
Type Description
Output<System.String>
View Source

EnableSsh

Enable login to the node through SSH. default: false

Declaration
public Output<bool?> EnableSsh { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

ImageId

Custom Image support. Must based on CentOS7 or AliyunLinux2.

Declaration
public Output<string> ImageId { get; }
Property Value
Type Description
Output<System.String>
View Source

InstallCloudMonitor

Install cloud monitor agent on ECS. default: true

Declaration
public Output<bool?> InstallCloudMonitor { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

KeyName

The keypair of ssh login cluster node, you have to create it first. You have to specify one of password key_name kms_encrypted_password fields.

Declaration
public Output<string> KeyName { get; }
Property Value
Type Description
Output<System.String>
View Source

KmsEncryptedPassword

An KMS encrypts password used to a cs kubernetes. You have to specify one of password key_name kms_encrypted_password fields.

Declaration
public Output<string> KmsEncryptedPassword { get; }
Property Value
Type Description
Output<System.String>
View Source

KmsEncryptionContext

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a cs kubernetes with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

Declaration
public Output<ImmutableDictionary<string, object>> KmsEncryptionContext { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

KubeConfig

The path of kube config, like ~/.kube/config.

Declaration
public Output<string> KubeConfig { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The kubernetes cluster's name. It is unique in one Alicloud account.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NamePrefix

Declaration
public Output<string> NamePrefix { get; }
Property Value
Type Description
Output<System.String>
View Source

NatGatewayId

The ID of nat gateway used to launch kubernetes cluster.

Declaration
public Output<string> NatGatewayId { get; }
Property Value
Type Description
Output<System.String>
View Source

NewNatGateway

Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice.

Declaration
public Output<bool?> NewNatGateway { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

NodeCidrMask

The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24

Declaration
public Output<int?> NodeCidrMask { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Password

The password of ssh login cluster node. You have to specify one of password key_name kms_encrypted_password fields.

Declaration
public Output<string> Password { get; }
Property Value
Type Description
Output<System.String>
View Source

PodCidr

[Flannel Specific] The CIDR block for the pod network when using Flannel.

Declaration
public Output<string> PodCidr { get; }
Property Value
Type Description
Output<System.String>
View Source

PodVswitchIds

[Terway Specific] The vswitches for the pod network when using Terway.Be careful the pod_vswitch_ids can not equal to worker_vswtich_ids.but must be in same availability zones.

Declaration
public Output<ImmutableArray<string>> PodVswitchIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

ProxyMode

Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.

Declaration
public Output<string> ProxyMode { get; }
Property Value
Type Description
Output<System.String>
View Source

SecurityGroupId

The ID of security group where the current cluster worker node is located.

Declaration
public Output<string> SecurityGroupId { get; }
Property Value
Type Description
Output<System.String>
View Source

ServiceCidr

The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.

Declaration
public Output<string> ServiceCidr { get; }
Property Value
Type Description
Output<System.String>
View Source

SlbId

Declaration
public Output<string> SlbId { get; }
Property Value
Type Description
Output<System.String>
View Source

SlbInternet

Declaration
public Output<string> SlbInternet { get; }
Property Value
Type Description
Output<System.String>
View Source

SlbInternetEnabled

Whether to create internet load balancer for API Server. Default to true.

Declaration
public Output<bool?> SlbInternetEnabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

SlbIntranet

The ID of private load balancer where the current cluster master node is located.

Declaration
public Output<string> SlbIntranet { get; }
Property Value
Type Description
Output<System.String>
View Source

UserCa

The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.

Declaration
public Output<string> UserCa { get; }
Property Value
Type Description
Output<System.String>
View Source

UserData

Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket.

Declaration
public Output<string> UserData { get; }
Property Value
Type Description
Output<System.String>
View Source

Version

Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.

Declaration
public Output<string> Version { get; }
Property Value
Type Description
Output<System.String>
View Source

VpcId

The ID of VPC where the current cluster is located.

Declaration
public Output<string> VpcId { get; }
Property Value
Type Description
Output<System.String>
View Source

WorkerAutoRenew

Enable worker payment auto-renew, defaults to false.

Declaration
public Output<bool?> WorkerAutoRenew { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

WorkerAutoRenewPeriod

Worker payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

Declaration
public Output<int?> WorkerAutoRenewPeriod { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

WorkerDataDiskCategory

Declaration
public Output<string> WorkerDataDiskCategory { get; }
Property Value
Type Description
Output<System.String>
View Source

WorkerDataDiskSize

Declaration
public Output<int?> WorkerDataDiskSize { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

WorkerDiskCategory

The system disk category of worker node. Its valid value are cloud_ssd and cloud_efficiency. Default to cloud_efficiency.

Declaration
public Output<string> WorkerDiskCategory { get; }
Property Value
Type Description
Output<System.String>
View Source

WorkerDiskSize

The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.

Declaration
public Output<int?> WorkerDiskSize { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

WorkerInstanceChargeType

Worker payment type. PrePaid or PostPaid, defaults to PostPaid.

Declaration
public Output<string> WorkerInstanceChargeType { get; }
Property Value
Type Description
Output<System.String>
View Source

WorkerInstanceTypes

The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.

Declaration
public Output<ImmutableArray<string>> WorkerInstanceTypes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

WorkerNodes

List of cluster worker nodes. It contains several attributes to Block Nodes.

Declaration
public Output<ImmutableArray<ManagedKubernetesWorkerNode>> WorkerNodes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ManagedKubernetesWorkerNode>>
View Source

WorkerNumber

The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.

Declaration
public Output<int> WorkerNumber { get; }
Property Value
Type Description
Output<System.Int32>
View Source

WorkerPeriod

Worker payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

Declaration
public Output<int?> WorkerPeriod { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

WorkerPeriodUnit

Worker payment period unit. Month or Week, defaults to Month.

Declaration
public Output<string> WorkerPeriodUnit { get; }
Property Value
Type Description
Output<System.String>
View Source

WorkerVswitchIds

Declaration
public Output<ImmutableArray<string>> WorkerVswitchIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(String, Input<String>, ManagedKubernetesState, CustomResourceOptions)

Get an existing ManagedKubernetes resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ManagedKubernetes Get(string name, Input<string> id, ManagedKubernetesState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ManagedKubernetesState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ManagedKubernetes
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.