Class ManagedKubernetesArgs
Inheritance
System.Object
ManagedKubernetesArgs
Inherited Members
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()
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ManagedKubernetesArgs : ResourceArgs
Constructors
View Source
ManagedKubernetesArgs()
Declaration
public ManagedKubernetesArgs()
Properties
View Source
Addons
Declaration
public InputList<ManagedKubernetesAddonArgs> Addons { get; set; }
Property Value
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 Input<string> AvailabilityZone { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ClientCert
The path of client certificate, like ~/.kube/client-cert.pem.
Declaration
public Input<string> ClientCert { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ClientKey
The path of client key, like ~/.kube/client-key.pem.
Declaration
public Input<string> ClientKey { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ClusterCaCert
The path of cluster ca certificate, like ~/.kube/cluster-ca-cert.pem
Declaration
public Input<string> ClusterCaCert { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CpuPolicy
kubelet cpu policy. options: static|none. default: none.
Declaration
public Input<string> CpuPolicy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
EnableSsh
Enable login to the node through SSH. default: false
Declaration
public Input<bool> EnableSsh { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ImageId
Custom Image support. Must based on CentOS7 or AliyunLinux2.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstallCloudMonitor
Install cloud monitor agent on ECS. default: true
Declaration
public Input<bool> InstallCloudMonitor { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<string> KeyName { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<string> KmsEncryptedPassword { get; set; }
Property Value
| Type |
Description |
| Input<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 InputMap<object> KmsEncryptionContext { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
KubeConfig
The path of kube config, like ~/.kube/config.
Declaration
public Input<string> KubeConfig { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Name
The kubernetes cluster's name. It is unique in one Alicloud account.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NamePrefix
Declaration
public Input<string> NamePrefix { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<bool> NewNatGateway { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<int> NodeCidrMask { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<string> Password { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PodCidr
[Flannel Specific] The CIDR block for the pod network when using Flannel.
Declaration
public Input<string> PodCidr { get; set; }
Property Value
| Type |
Description |
| Input<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 InputList<string> PodVswitchIds { get; set; }
Property Value
View Source
ProxyMode
Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
Declaration
public Input<string> ProxyMode { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<string> ServiceCidr { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SlbInternetEnabled
Whether to create internet load balancer for API Server. Default to true.
Declaration
public Input<bool> SlbInternetEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
UserCa
The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
Declaration
public Input<string> UserCa { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<string> UserData { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<string> Version { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
WorkerAutoRenew
Enable worker payment auto-renew, defaults to false.
Declaration
public Input<bool> WorkerAutoRenew { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<int> WorkerAutoRenewPeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
WorkerDataDiskCategory
Declaration
public Input<string> WorkerDataDiskCategory { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
WorkerDataDiskSize
Declaration
public Input<int> WorkerDataDiskSize { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<string> WorkerDiskCategory { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<int> WorkerDiskSize { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
WorkerInstanceChargeType
Worker payment type. PrePaid or PostPaid, defaults to PostPaid.
Declaration
public Input<string> WorkerInstanceChargeType { get; set; }
Property Value
| Type |
Description |
| Input<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 InputList<string> WorkerInstanceTypes { get; set; }
Property Value
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 Input<int> WorkerNumber { get; set; }
Property Value
| Type |
Description |
| Input<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 Input<int> WorkerPeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
WorkerPeriodUnit
Worker payment period unit. Month or Week, defaults to Month.
Declaration
public Input<string> WorkerPeriodUnit { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
WorkerVswitchIds
Declaration
public InputList<string> WorkerVswitchIds { get; set; }
Property Value