alicloud.cs.ManagedKubernetes
Explore with Pulumi AI
This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.
NOTE: Available since v1.26.0.
NOTE: It is recommended to create a cluster with zero worker nodes, and then use a node pool to manage the cluster nodes.
NOTE: Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster. A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the VPC, you can set
new_nat_gateway
to “true” to create one automatically.
NOTE: Creating kubernetes cluster need to install several packages and it will cost about 15 minutes. Please be patient.
NOTE: From version 1.9.4, the provider supports to download kube config, client certificate, client key and cluster ca certificate after creating cluster successfully, and you can put them into the specified location, like ‘~/.kube/config’.
NOTE: From version 1.20.0, the provider supports disabling internet load balancer for API Server by setting
false
toslb_internet_enabled
.
NOTE: If you want to manage Kubernetes, you can use Kubernetes Provider.
NOTE: You need to activate several other products and confirm Authorization Policy used by Container Service before using this resource. Please refer to the
Authorization management
andCluster management
sections in the Document Center.
NOTE: From version 1.72.0, Some parameters have been removed from resource,You can check them below and re-import the cluster if necessary.
NOTE: From version 1.120.0, Support for cluster migration from Standard cluster to professional.
NOTE: From version 1.177.0+,
runtime
,enable_ssh
,rds_instances
,exclude_autoscaler_nodes
,worker_number
,worker_instance_types
,password
,key_name
,kms_encrypted_password
,kms_encryption_context
,worker_instance_charge_type
,worker_period
,worker_period_unit
,worker_auto_renew
,worker_auto_renew_period
,worker_disk_category
,worker_disk_size
,worker_data_disks
,node_name_mode
,node_port_range
,os_type
,platform
,image_id
,cpu_policy
,user_data
,taints
,worker_disk_performance_level
,worker_disk_snapshot_policy_id
,install_cloud_monitor
are deprecated. We Suggest you using resourcealicloud.cs.NodePool
to manage your cluster worker nodes.
NOTE: From version 1.212.0,
runtime
,enable_ssh
,rds_instances
,exclude_autoscaler_nodes
,worker_number
,worker_instance_types
,password
,key_name
,kms_encrypted_password
,kms_encryption_context
,worker_instance_charge_type
,worker_period
,worker_period_unit
,worker_auto_renew
,worker_auto_renew_period
,worker_disk_category
,worker_disk_size
,worker_data_disks
,node_name_mode
,node_port_range
,os_type
,platform
,image_id
,cpu_policy
,user_data
,taints
,worker_disk_performance_level
,worker_disk_snapshot_policy_id
,install_cloud_monitor
,kube_config
,availability_zone
are removed. Please use resourcealicloud.cs.NodePool
to manage your cluster worker nodes.
Create ManagedKubernetes Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedKubernetes(name: string, args: ManagedKubernetesArgs, opts?: CustomResourceOptions);
@overload
def ManagedKubernetes(resource_name: str,
args: ManagedKubernetesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedKubernetes(resource_name: str,
opts: Optional[ResourceOptions] = None,
worker_vswitch_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
cluster_ca_cert: Optional[str] = None,
client_key: Optional[str] = None,
addons: Optional[Sequence[ManagedKubernetesAddonArgs]] = None,
cluster_domain: Optional[str] = None,
name_prefix: Optional[str] = None,
control_plane_log_components: Optional[Sequence[str]] = None,
control_plane_log_project: Optional[str] = None,
control_plane_log_ttl: Optional[str] = None,
custom_san: Optional[str] = None,
delete_options: Optional[Sequence[ManagedKubernetesDeleteOptionArgs]] = None,
deletion_protection: Optional[bool] = None,
enable_rrsa: Optional[bool] = None,
encryption_provider_key: Optional[str] = None,
is_enterprise_security_group: Optional[bool] = None,
load_balancer_spec: Optional[str] = None,
version: Optional[str] = None,
client_cert: Optional[str] = None,
cluster_spec: Optional[str] = None,
new_nat_gateway: Optional[bool] = None,
node_cidr_mask: Optional[int] = None,
pod_cidr: Optional[str] = None,
pod_vswitch_ids: Optional[Sequence[str]] = None,
proxy_mode: Optional[str] = None,
resource_group_id: Optional[str] = None,
retain_resources: Optional[Sequence[str]] = None,
security_group_id: Optional[str] = None,
service_account_issuer: Optional[str] = None,
service_cidr: Optional[str] = None,
slb_internet_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, Any]] = None,
timezone: Optional[str] = None,
user_ca: Optional[str] = None,
maintenance_window: Optional[ManagedKubernetesMaintenanceWindowArgs] = None,
api_audiences: Optional[Sequence[str]] = None)
func NewManagedKubernetes(ctx *Context, name string, args ManagedKubernetesArgs, opts ...ResourceOption) (*ManagedKubernetes, error)
public ManagedKubernetes(string name, ManagedKubernetesArgs args, CustomResourceOptions? opts = null)
public ManagedKubernetes(String name, ManagedKubernetesArgs args)
public ManagedKubernetes(String name, ManagedKubernetesArgs args, CustomResourceOptions options)
type: alicloud:cs:ManagedKubernetes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ManagedKubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ManagedKubernetesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ManagedKubernetesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedKubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedKubernetesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var managedKubernetesResource = new AliCloud.CS.ManagedKubernetes("managedKubernetesResource", new()
{
WorkerVswitchIds = new[]
{
"string",
},
Name = "string",
ClusterCaCert = "string",
ClientKey = "string",
Addons = new[]
{
new AliCloud.CS.Inputs.ManagedKubernetesAddonArgs
{
Config = "string",
Disabled = false,
Name = "string",
Version = "string",
},
},
ClusterDomain = "string",
NamePrefix = "string",
ControlPlaneLogComponents = new[]
{
"string",
},
ControlPlaneLogProject = "string",
ControlPlaneLogTtl = "string",
CustomSan = "string",
DeleteOptions = new[]
{
new AliCloud.CS.Inputs.ManagedKubernetesDeleteOptionArgs
{
DeleteMode = "string",
ResourceType = "string",
},
},
DeletionProtection = false,
EnableRrsa = false,
EncryptionProviderKey = "string",
IsEnterpriseSecurityGroup = false,
LoadBalancerSpec = "string",
Version = "string",
ClientCert = "string",
ClusterSpec = "string",
NewNatGateway = false,
NodeCidrMask = 0,
PodCidr = "string",
PodVswitchIds = new[]
{
"string",
},
ProxyMode = "string",
ResourceGroupId = "string",
RetainResources = new[]
{
"string",
},
SecurityGroupId = "string",
ServiceAccountIssuer = "string",
ServiceCidr = "string",
SlbInternetEnabled = false,
Tags =
{
{ "string", "any" },
},
Timezone = "string",
UserCa = "string",
MaintenanceWindow = new AliCloud.CS.Inputs.ManagedKubernetesMaintenanceWindowArgs
{
Duration = "string",
Enable = false,
MaintenanceTime = "string",
WeeklyPeriod = "string",
},
ApiAudiences = new[]
{
"string",
},
});
example, err := cs.NewManagedKubernetes(ctx, "managedKubernetesResource", &cs.ManagedKubernetesArgs{
WorkerVswitchIds: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
ClusterCaCert: pulumi.String("string"),
ClientKey: pulumi.String("string"),
Addons: cs.ManagedKubernetesAddonArray{
&cs.ManagedKubernetesAddonArgs{
Config: pulumi.String("string"),
Disabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
ClusterDomain: pulumi.String("string"),
NamePrefix: pulumi.String("string"),
ControlPlaneLogComponents: pulumi.StringArray{
pulumi.String("string"),
},
ControlPlaneLogProject: pulumi.String("string"),
ControlPlaneLogTtl: pulumi.String("string"),
CustomSan: pulumi.String("string"),
DeleteOptions: cs.ManagedKubernetesDeleteOptionArray{
&cs.ManagedKubernetesDeleteOptionArgs{
DeleteMode: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
DeletionProtection: pulumi.Bool(false),
EnableRrsa: pulumi.Bool(false),
EncryptionProviderKey: pulumi.String("string"),
IsEnterpriseSecurityGroup: pulumi.Bool(false),
LoadBalancerSpec: pulumi.String("string"),
Version: pulumi.String("string"),
ClientCert: pulumi.String("string"),
ClusterSpec: pulumi.String("string"),
NewNatGateway: pulumi.Bool(false),
NodeCidrMask: pulumi.Int(0),
PodCidr: pulumi.String("string"),
PodVswitchIds: pulumi.StringArray{
pulumi.String("string"),
},
ProxyMode: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
RetainResources: pulumi.StringArray{
pulumi.String("string"),
},
SecurityGroupId: pulumi.String("string"),
ServiceAccountIssuer: pulumi.String("string"),
ServiceCidr: pulumi.String("string"),
SlbInternetEnabled: pulumi.Bool(false),
Tags: pulumi.Map{
"string": pulumi.Any("any"),
},
Timezone: pulumi.String("string"),
UserCa: pulumi.String("string"),
MaintenanceWindow: &cs.ManagedKubernetesMaintenanceWindowArgs{
Duration: pulumi.String("string"),
Enable: pulumi.Bool(false),
MaintenanceTime: pulumi.String("string"),
WeeklyPeriod: pulumi.String("string"),
},
ApiAudiences: pulumi.StringArray{
pulumi.String("string"),
},
})
var managedKubernetesResource = new ManagedKubernetes("managedKubernetesResource", ManagedKubernetesArgs.builder()
.workerVswitchIds("string")
.name("string")
.clusterCaCert("string")
.clientKey("string")
.addons(ManagedKubernetesAddonArgs.builder()
.config("string")
.disabled(false)
.name("string")
.version("string")
.build())
.clusterDomain("string")
.namePrefix("string")
.controlPlaneLogComponents("string")
.controlPlaneLogProject("string")
.controlPlaneLogTtl("string")
.customSan("string")
.deleteOptions(ManagedKubernetesDeleteOptionArgs.builder()
.deleteMode("string")
.resourceType("string")
.build())
.deletionProtection(false)
.enableRrsa(false)
.encryptionProviderKey("string")
.isEnterpriseSecurityGroup(false)
.loadBalancerSpec("string")
.version("string")
.clientCert("string")
.clusterSpec("string")
.newNatGateway(false)
.nodeCidrMask(0)
.podCidr("string")
.podVswitchIds("string")
.proxyMode("string")
.resourceGroupId("string")
.retainResources("string")
.securityGroupId("string")
.serviceAccountIssuer("string")
.serviceCidr("string")
.slbInternetEnabled(false)
.tags(Map.of("string", "any"))
.timezone("string")
.userCa("string")
.maintenanceWindow(ManagedKubernetesMaintenanceWindowArgs.builder()
.duration("string")
.enable(false)
.maintenanceTime("string")
.weeklyPeriod("string")
.build())
.apiAudiences("string")
.build());
managed_kubernetes_resource = alicloud.cs.ManagedKubernetes("managedKubernetesResource",
worker_vswitch_ids=["string"],
name="string",
cluster_ca_cert="string",
client_key="string",
addons=[alicloud.cs.ManagedKubernetesAddonArgs(
config="string",
disabled=False,
name="string",
version="string",
)],
cluster_domain="string",
name_prefix="string",
control_plane_log_components=["string"],
control_plane_log_project="string",
control_plane_log_ttl="string",
custom_san="string",
delete_options=[alicloud.cs.ManagedKubernetesDeleteOptionArgs(
delete_mode="string",
resource_type="string",
)],
deletion_protection=False,
enable_rrsa=False,
encryption_provider_key="string",
is_enterprise_security_group=False,
load_balancer_spec="string",
version="string",
client_cert="string",
cluster_spec="string",
new_nat_gateway=False,
node_cidr_mask=0,
pod_cidr="string",
pod_vswitch_ids=["string"],
proxy_mode="string",
resource_group_id="string",
retain_resources=["string"],
security_group_id="string",
service_account_issuer="string",
service_cidr="string",
slb_internet_enabled=False,
tags={
"string": "any",
},
timezone="string",
user_ca="string",
maintenance_window=alicloud.cs.ManagedKubernetesMaintenanceWindowArgs(
duration="string",
enable=False,
maintenance_time="string",
weekly_period="string",
),
api_audiences=["string"])
const managedKubernetesResource = new alicloud.cs.ManagedKubernetes("managedKubernetesResource", {
workerVswitchIds: ["string"],
name: "string",
clusterCaCert: "string",
clientKey: "string",
addons: [{
config: "string",
disabled: false,
name: "string",
version: "string",
}],
clusterDomain: "string",
namePrefix: "string",
controlPlaneLogComponents: ["string"],
controlPlaneLogProject: "string",
controlPlaneLogTtl: "string",
customSan: "string",
deleteOptions: [{
deleteMode: "string",
resourceType: "string",
}],
deletionProtection: false,
enableRrsa: false,
encryptionProviderKey: "string",
isEnterpriseSecurityGroup: false,
loadBalancerSpec: "string",
version: "string",
clientCert: "string",
clusterSpec: "string",
newNatGateway: false,
nodeCidrMask: 0,
podCidr: "string",
podVswitchIds: ["string"],
proxyMode: "string",
resourceGroupId: "string",
retainResources: ["string"],
securityGroupId: "string",
serviceAccountIssuer: "string",
serviceCidr: "string",
slbInternetEnabled: false,
tags: {
string: "any",
},
timezone: "string",
userCa: "string",
maintenanceWindow: {
duration: "string",
enable: false,
maintenanceTime: "string",
weeklyPeriod: "string",
},
apiAudiences: ["string"],
});
type: alicloud:cs:ManagedKubernetes
properties:
addons:
- config: string
disabled: false
name: string
version: string
apiAudiences:
- string
clientCert: string
clientKey: string
clusterCaCert: string
clusterDomain: string
clusterSpec: string
controlPlaneLogComponents:
- string
controlPlaneLogProject: string
controlPlaneLogTtl: string
customSan: string
deleteOptions:
- deleteMode: string
resourceType: string
deletionProtection: false
enableRrsa: false
encryptionProviderKey: string
isEnterpriseSecurityGroup: false
loadBalancerSpec: string
maintenanceWindow:
duration: string
enable: false
maintenanceTime: string
weeklyPeriod: string
name: string
namePrefix: string
newNatGateway: false
nodeCidrMask: 0
podCidr: string
podVswitchIds:
- string
proxyMode: string
resourceGroupId: string
retainResources:
- string
securityGroupId: string
serviceAccountIssuer: string
serviceCidr: string
slbInternetEnabled: false
tags:
string: any
timezone: string
userCa: string
version: string
workerVswitchIds:
- string
ManagedKubernetes Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ManagedKubernetes resource accepts the following input properties:
- Worker
Vswitch List<string>Ids - Addons
List<Pulumi.
Ali Cloud. CS. Inputs. Managed Kubernetes Addon> - Api
Audiences List<string> - Client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- Client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- Cluster
Ca stringCert - Cluster
Domain string - cluster local domain
- Cluster
Spec string - Control
Plane List<string>Log Components - Control
Plane stringLog Project - Control
Plane stringLog Ttl - Custom
San string - Delete
Options List<Pulumi.Ali Cloud. CS. Inputs. Managed Kubernetes Delete Option> - Deletion
Protection bool - Enable
Rrsa bool - Encryption
Provider stringKey - disk encryption key, only in ack-pro
- Is
Enterprise boolSecurity Group - Load
Balancer stringSpec - Maintenance
Window Pulumi.Ali Cloud. CS. Inputs. Managed Kubernetes Maintenance Window - Name string
- Node name.
- Name
Prefix string - New
Nat boolGateway - Node
Cidr intMask - Pod
Cidr string - Pod
Vswitch List<string>Ids - Proxy
Mode string - Resource
Group stringId - Retain
Resources List<string> - Security
Group stringId - Service
Account stringIssuer - Service
Cidr string - Slb
Internet boolEnabled - Dictionary<string, object>
- Timezone string
- User
Ca string - Version string
- Worker
Vswitch []stringIds - Addons
[]Managed
Kubernetes Addon Args - Api
Audiences []string - Client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- Client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- Cluster
Ca stringCert - Cluster
Domain string - cluster local domain
- Cluster
Spec string - Control
Plane []stringLog Components - Control
Plane stringLog Project - Control
Plane stringLog Ttl - Custom
San string - Delete
Options []ManagedKubernetes Delete Option Args - Deletion
Protection bool - Enable
Rrsa bool - Encryption
Provider stringKey - disk encryption key, only in ack-pro
- Is
Enterprise boolSecurity Group - Load
Balancer stringSpec - Maintenance
Window ManagedKubernetes Maintenance Window Args - Name string
- Node name.
- Name
Prefix string - New
Nat boolGateway - Node
Cidr intMask - Pod
Cidr string - Pod
Vswitch []stringIds - Proxy
Mode string - Resource
Group stringId - Retain
Resources []string - Security
Group stringId - Service
Account stringIssuer - Service
Cidr string - Slb
Internet boolEnabled - map[string]interface{}
- Timezone string
- User
Ca string - Version string
- worker
Vswitch List<String>Ids - addons
List<Managed
Kubernetes Addon> - api
Audiences List<String> - client
Cert String - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key String - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Ca StringCert - cluster
Domain String - cluster local domain
- cluster
Spec String - control
Plane List<String>Log Components - control
Plane StringLog Project - control
Plane StringLog Ttl - custom
San String - delete
Options List<ManagedKubernetes Delete Option> - deletion
Protection Boolean - enable
Rrsa Boolean - encryption
Provider StringKey - disk encryption key, only in ack-pro
- is
Enterprise BooleanSecurity Group - load
Balancer StringSpec - maintenance
Window ManagedKubernetes Maintenance Window - name String
- Node name.
- name
Prefix String - new
Nat BooleanGateway - node
Cidr IntegerMask - pod
Cidr String - pod
Vswitch List<String>Ids - proxy
Mode String - resource
Group StringId - retain
Resources List<String> - security
Group StringId - service
Account StringIssuer - service
Cidr String - slb
Internet BooleanEnabled - Map<String,Object>
- timezone String
- user
Ca String - version String
- worker
Vswitch string[]Ids - addons
Managed
Kubernetes Addon[] - api
Audiences string[] - client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Ca stringCert - cluster
Domain string - cluster local domain
- cluster
Spec string - control
Plane string[]Log Components - control
Plane stringLog Project - control
Plane stringLog Ttl - custom
San string - delete
Options ManagedKubernetes Delete Option[] - deletion
Protection boolean - enable
Rrsa boolean - encryption
Provider stringKey - disk encryption key, only in ack-pro
- is
Enterprise booleanSecurity Group - load
Balancer stringSpec - maintenance
Window ManagedKubernetes Maintenance Window - name string
- Node name.
- name
Prefix string - new
Nat booleanGateway - node
Cidr numberMask - pod
Cidr string - pod
Vswitch string[]Ids - proxy
Mode string - resource
Group stringId - retain
Resources string[] - security
Group stringId - service
Account stringIssuer - service
Cidr string - slb
Internet booleanEnabled - {[key: string]: any}
- timezone string
- user
Ca string - version string
- worker_
vswitch_ Sequence[str]ids - addons
Sequence[Managed
Kubernetes Addon Args] - api_
audiences Sequence[str] - client_
cert str - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client_
key str - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster_
ca_ strcert - cluster_
domain str - cluster local domain
- cluster_
spec str - control_
plane_ Sequence[str]log_ components - control_
plane_ strlog_ project - control_
plane_ strlog_ ttl - custom_
san str - delete_
options Sequence[ManagedKubernetes Delete Option Args] - deletion_
protection bool - enable_
rrsa bool - encryption_
provider_ strkey - disk encryption key, only in ack-pro
- is_
enterprise_ boolsecurity_ group - load_
balancer_ strspec - maintenance_
window ManagedKubernetes Maintenance Window Args - name str
- Node name.
- name_
prefix str - new_
nat_ boolgateway - node_
cidr_ intmask - pod_
cidr str - pod_
vswitch_ Sequence[str]ids - proxy_
mode str - resource_
group_ strid - retain_
resources Sequence[str] - security_
group_ strid - service_
account_ strissuer - service_
cidr str - slb_
internet_ boolenabled - Mapping[str, Any]
- timezone str
- user_
ca str - version str
- worker
Vswitch List<String>Ids - addons List<Property Map>
- api
Audiences List<String> - client
Cert String - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key String - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Ca StringCert - cluster
Domain String - cluster local domain
- cluster
Spec String - control
Plane List<String>Log Components - control
Plane StringLog Project - control
Plane StringLog Ttl - custom
San String - delete
Options List<Property Map> - deletion
Protection Boolean - enable
Rrsa Boolean - encryption
Provider StringKey - disk encryption key, only in ack-pro
- is
Enterprise BooleanSecurity Group - load
Balancer StringSpec - maintenance
Window Property Map - name String
- Node name.
- name
Prefix String - new
Nat BooleanGateway - node
Cidr NumberMask - pod
Cidr String - pod
Vswitch List<String>Ids - proxy
Mode String - resource
Group StringId - retain
Resources List<String> - security
Group StringId - service
Account StringIssuer - service
Cidr String - slb
Internet BooleanEnabled - Map<Any>
- timezone String
- user
Ca String - version String
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedKubernetes resource produces the following output properties:
- Pulumi.
Ali Cloud. CS. Outputs. Managed Kubernetes Certificate Authority - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Connections
Pulumi.
Ali Cloud. CS. Outputs. Managed Kubernetes Connections - Map of kubernetes cluster connection information.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- Rrsa
Metadata Pulumi.Ali Cloud. CS. Outputs. Managed Kubernetes Rrsa Metadata - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- Slb
Id string - The ID of APIServer load balancer.
- Slb
Internet string - The public ip of load balancer.
- Slb
Intranet string - The ID of private load balancer where the current cluster master node is located.
- Vpc
Id string - The ID of VPC where the current cluster is located.
- Worker
Ram stringRole Name - The RamRole Name attached to worker node.
- Managed
Kubernetes Certificate Authority - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Connections
Managed
Kubernetes Connections - Map of kubernetes cluster connection information.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- Rrsa
Metadata ManagedKubernetes Rrsa Metadata - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- Slb
Id string - The ID of APIServer load balancer.
- Slb
Internet string - The public ip of load balancer.
- Slb
Intranet string - The ID of private load balancer where the current cluster master node is located.
- Vpc
Id string - The ID of VPC where the current cluster is located.
- Worker
Ram stringRole Name - The RamRole Name attached to worker node.
- Managed
Kubernetes Certificate Authority - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Managed
Kubernetes Connections - Map of kubernetes cluster connection information.
- id String
- The provider-assigned unique ID for this managed resource.
- nat
Gateway StringId - The ID of nat gateway used to launch kubernetes cluster.
- rrsa
Metadata ManagedKubernetes Rrsa Metadata - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- slb
Id String - The ID of APIServer load balancer.
- slb
Internet String - The public ip of load balancer.
- slb
Intranet String - The ID of private load balancer where the current cluster master node is located.
- vpc
Id String - The ID of VPC where the current cluster is located.
- worker
Ram StringRole Name - The RamRole Name attached to worker node.
- Managed
Kubernetes Certificate Authority - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Managed
Kubernetes Connections - Map of kubernetes cluster connection information.
- id string
- The provider-assigned unique ID for this managed resource.
- nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- rrsa
Metadata ManagedKubernetes Rrsa Metadata - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- slb
Id string - The ID of APIServer load balancer.
- slb
Internet string - The public ip of load balancer.
- slb
Intranet string - The ID of private load balancer where the current cluster master node is located.
- vpc
Id string - The ID of VPC where the current cluster is located.
- worker
Ram stringRole Name - The RamRole Name attached to worker node.
- Managed
Kubernetes Certificate Authority - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Managed
Kubernetes Connections - Map of kubernetes cluster connection information.
- id str
- The provider-assigned unique ID for this managed resource.
- nat_
gateway_ strid - The ID of nat gateway used to launch kubernetes cluster.
- rrsa_
metadata ManagedKubernetes Rrsa Metadata - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- slb_
id str - The ID of APIServer load balancer.
- slb_
internet str - The public ip of load balancer.
- slb_
intranet str - The ID of private load balancer where the current cluster master node is located.
- vpc_
id str - The ID of VPC where the current cluster is located.
- worker_
ram_ strrole_ name - The RamRole Name attached to worker node.
- Property Map
- (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections Property Map
- Map of kubernetes cluster connection information.
- id String
- The provider-assigned unique ID for this managed resource.
- nat
Gateway StringId - The ID of nat gateway used to launch kubernetes cluster.
- rrsa
Metadata Property Map - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- slb
Id String - The ID of APIServer load balancer.
- slb
Internet String - The public ip of load balancer.
- slb
Intranet String - The ID of private load balancer where the current cluster master node is located.
- vpc
Id String - The ID of VPC where the current cluster is located.
- worker
Ram StringRole Name - The RamRole Name attached to worker node.
Look up Existing ManagedKubernetes Resource
Get an existing ManagedKubernetes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ManagedKubernetesState, opts?: CustomResourceOptions): ManagedKubernetes
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addons: Optional[Sequence[ManagedKubernetesAddonArgs]] = None,
api_audiences: Optional[Sequence[str]] = None,
certificate_authority: Optional[ManagedKubernetesCertificateAuthorityArgs] = None,
client_cert: Optional[str] = None,
client_key: Optional[str] = None,
cluster_ca_cert: Optional[str] = None,
cluster_domain: Optional[str] = None,
cluster_spec: Optional[str] = None,
connections: Optional[ManagedKubernetesConnectionsArgs] = None,
control_plane_log_components: Optional[Sequence[str]] = None,
control_plane_log_project: Optional[str] = None,
control_plane_log_ttl: Optional[str] = None,
custom_san: Optional[str] = None,
delete_options: Optional[Sequence[ManagedKubernetesDeleteOptionArgs]] = None,
deletion_protection: Optional[bool] = None,
enable_rrsa: Optional[bool] = None,
encryption_provider_key: Optional[str] = None,
is_enterprise_security_group: Optional[bool] = None,
load_balancer_spec: Optional[str] = None,
maintenance_window: Optional[ManagedKubernetesMaintenanceWindowArgs] = None,
name: Optional[str] = None,
name_prefix: Optional[str] = None,
nat_gateway_id: Optional[str] = None,
new_nat_gateway: Optional[bool] = None,
node_cidr_mask: Optional[int] = None,
pod_cidr: Optional[str] = None,
pod_vswitch_ids: Optional[Sequence[str]] = None,
proxy_mode: Optional[str] = None,
resource_group_id: Optional[str] = None,
retain_resources: Optional[Sequence[str]] = None,
rrsa_metadata: Optional[ManagedKubernetesRrsaMetadataArgs] = None,
security_group_id: Optional[str] = None,
service_account_issuer: Optional[str] = None,
service_cidr: Optional[str] = None,
slb_id: Optional[str] = None,
slb_internet: Optional[str] = None,
slb_internet_enabled: Optional[bool] = None,
slb_intranet: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
timezone: Optional[str] = None,
user_ca: Optional[str] = None,
version: Optional[str] = None,
vpc_id: Optional[str] = None,
worker_ram_role_name: Optional[str] = None,
worker_vswitch_ids: Optional[Sequence[str]] = None) -> ManagedKubernetes
func GetManagedKubernetes(ctx *Context, name string, id IDInput, state *ManagedKubernetesState, opts ...ResourceOption) (*ManagedKubernetes, error)
public static ManagedKubernetes Get(string name, Input<string> id, ManagedKubernetesState? state, CustomResourceOptions? opts = null)
public static ManagedKubernetes get(String name, Output<String> id, ManagedKubernetesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Addons
List<Pulumi.
Ali Cloud. CS. Inputs. Managed Kubernetes Addon> - Api
Audiences List<string> - Pulumi.
Ali Cloud. CS. Inputs. Managed Kubernetes Certificate Authority - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- Client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- Cluster
Ca stringCert - Cluster
Domain string - cluster local domain
- Cluster
Spec string - Connections
Pulumi.
Ali Cloud. CS. Inputs. Managed Kubernetes Connections - Map of kubernetes cluster connection information.
- Control
Plane List<string>Log Components - Control
Plane stringLog Project - Control
Plane stringLog Ttl - Custom
San string - Delete
Options List<Pulumi.Ali Cloud. CS. Inputs. Managed Kubernetes Delete Option> - Deletion
Protection bool - Enable
Rrsa bool - Encryption
Provider stringKey - disk encryption key, only in ack-pro
- Is
Enterprise boolSecurity Group - Load
Balancer stringSpec - Maintenance
Window Pulumi.Ali Cloud. CS. Inputs. Managed Kubernetes Maintenance Window - Name string
- Node name.
- Name
Prefix string - Nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- New
Nat boolGateway - Node
Cidr intMask - Pod
Cidr string - Pod
Vswitch List<string>Ids - Proxy
Mode string - Resource
Group stringId - Retain
Resources List<string> - Rrsa
Metadata Pulumi.Ali Cloud. CS. Inputs. Managed Kubernetes Rrsa Metadata - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- Security
Group stringId - Service
Account stringIssuer - Service
Cidr string - Slb
Id string - The ID of APIServer load balancer.
- Slb
Internet string - The public ip of load balancer.
- Slb
Internet boolEnabled - Slb
Intranet string - The ID of private load balancer where the current cluster master node is located.
- Dictionary<string, object>
- Timezone string
- User
Ca string - Version string
- Vpc
Id string - The ID of VPC where the current cluster is located.
- Worker
Ram stringRole Name - The RamRole Name attached to worker node.
- Worker
Vswitch List<string>Ids
- Addons
[]Managed
Kubernetes Addon Args - Api
Audiences []string - Managed
Kubernetes Certificate Authority Args - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- Client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- Cluster
Ca stringCert - Cluster
Domain string - cluster local domain
- Cluster
Spec string - Connections
Managed
Kubernetes Connections Args - Map of kubernetes cluster connection information.
- Control
Plane []stringLog Components - Control
Plane stringLog Project - Control
Plane stringLog Ttl - Custom
San string - Delete
Options []ManagedKubernetes Delete Option Args - Deletion
Protection bool - Enable
Rrsa bool - Encryption
Provider stringKey - disk encryption key, only in ack-pro
- Is
Enterprise boolSecurity Group - Load
Balancer stringSpec - Maintenance
Window ManagedKubernetes Maintenance Window Args - Name string
- Node name.
- Name
Prefix string - Nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- New
Nat boolGateway - Node
Cidr intMask - Pod
Cidr string - Pod
Vswitch []stringIds - Proxy
Mode string - Resource
Group stringId - Retain
Resources []string - Rrsa
Metadata ManagedKubernetes Rrsa Metadata Args - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- Security
Group stringId - Service
Account stringIssuer - Service
Cidr string - Slb
Id string - The ID of APIServer load balancer.
- Slb
Internet string - The public ip of load balancer.
- Slb
Internet boolEnabled - Slb
Intranet string - The ID of private load balancer where the current cluster master node is located.
- map[string]interface{}
- Timezone string
- User
Ca string - Version string
- Vpc
Id string - The ID of VPC where the current cluster is located.
- Worker
Ram stringRole Name - The RamRole Name attached to worker node.
- Worker
Vswitch []stringIds
- addons
List<Managed
Kubernetes Addon> - api
Audiences List<String> - Managed
Kubernetes Certificate Authority - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- client
Cert String - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key String - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Ca StringCert - cluster
Domain String - cluster local domain
- cluster
Spec String - connections
Managed
Kubernetes Connections - Map of kubernetes cluster connection information.
- control
Plane List<String>Log Components - control
Plane StringLog Project - control
Plane StringLog Ttl - custom
San String - delete
Options List<ManagedKubernetes Delete Option> - deletion
Protection Boolean - enable
Rrsa Boolean - encryption
Provider StringKey - disk encryption key, only in ack-pro
- is
Enterprise BooleanSecurity Group - load
Balancer StringSpec - maintenance
Window ManagedKubernetes Maintenance Window - name String
- Node name.
- name
Prefix String - nat
Gateway StringId - The ID of nat gateway used to launch kubernetes cluster.
- new
Nat BooleanGateway - node
Cidr IntegerMask - pod
Cidr String - pod
Vswitch List<String>Ids - proxy
Mode String - resource
Group StringId - retain
Resources List<String> - rrsa
Metadata ManagedKubernetes Rrsa Metadata - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- security
Group StringId - service
Account StringIssuer - service
Cidr String - slb
Id String - The ID of APIServer load balancer.
- slb
Internet String - The public ip of load balancer.
- slb
Internet BooleanEnabled - slb
Intranet String - The ID of private load balancer where the current cluster master node is located.
- Map<String,Object>
- timezone String
- user
Ca String - version String
- vpc
Id String - The ID of VPC where the current cluster is located.
- worker
Ram StringRole Name - The RamRole Name attached to worker node.
- worker
Vswitch List<String>Ids
- addons
Managed
Kubernetes Addon[] - api
Audiences string[] - Managed
Kubernetes Certificate Authority - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Ca stringCert - cluster
Domain string - cluster local domain
- cluster
Spec string - connections
Managed
Kubernetes Connections - Map of kubernetes cluster connection information.
- control
Plane string[]Log Components - control
Plane stringLog Project - control
Plane stringLog Ttl - custom
San string - delete
Options ManagedKubernetes Delete Option[] - deletion
Protection boolean - enable
Rrsa boolean - encryption
Provider stringKey - disk encryption key, only in ack-pro
- is
Enterprise booleanSecurity Group - load
Balancer stringSpec - maintenance
Window ManagedKubernetes Maintenance Window - name string
- Node name.
- name
Prefix string - nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- new
Nat booleanGateway - node
Cidr numberMask - pod
Cidr string - pod
Vswitch string[]Ids - proxy
Mode string - resource
Group stringId - retain
Resources string[] - rrsa
Metadata ManagedKubernetes Rrsa Metadata - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- security
Group stringId - service
Account stringIssuer - service
Cidr string - slb
Id string - The ID of APIServer load balancer.
- slb
Internet string - The public ip of load balancer.
- slb
Internet booleanEnabled - slb
Intranet string - The ID of private load balancer where the current cluster master node is located.
- {[key: string]: any}
- timezone string
- user
Ca string - version string
- vpc
Id string - The ID of VPC where the current cluster is located.
- worker
Ram stringRole Name - The RamRole Name attached to worker node.
- worker
Vswitch string[]Ids
- addons
Sequence[Managed
Kubernetes Addon Args] - api_
audiences Sequence[str] - Managed
Kubernetes Certificate Authority Args - (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- client_
cert str - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client_
key str - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster_
ca_ strcert - cluster_
domain str - cluster local domain
- cluster_
spec str - connections
Managed
Kubernetes Connections Args - Map of kubernetes cluster connection information.
- control_
plane_ Sequence[str]log_ components - control_
plane_ strlog_ project - control_
plane_ strlog_ ttl - custom_
san str - delete_
options Sequence[ManagedKubernetes Delete Option Args] - deletion_
protection bool - enable_
rrsa bool - encryption_
provider_ strkey - disk encryption key, only in ack-pro
- is_
enterprise_ boolsecurity_ group - load_
balancer_ strspec - maintenance_
window ManagedKubernetes Maintenance Window Args - name str
- Node name.
- name_
prefix str - nat_
gateway_ strid - The ID of nat gateway used to launch kubernetes cluster.
- new_
nat_ boolgateway - node_
cidr_ intmask - pod_
cidr str - pod_
vswitch_ Sequence[str]ids - proxy_
mode str - resource_
group_ strid - retain_
resources Sequence[str] - rrsa_
metadata ManagedKubernetes Rrsa Metadata Args - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- security_
group_ strid - service_
account_ strissuer - service_
cidr str - slb_
id str - The ID of APIServer load balancer.
- slb_
internet str - The public ip of load balancer.
- slb_
internet_ boolenabled - slb_
intranet str - The ID of private load balancer where the current cluster master node is located.
- Mapping[str, Any]
- timezone str
- user_
ca str - version str
- vpc_
id str - The ID of VPC where the current cluster is located.
- worker_
ram_ strrole_ name - The RamRole Name attached to worker node.
- worker_
vswitch_ Sequence[str]ids
- addons List<Property Map>
- api
Audiences List<String> - Property Map
- (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- client
Cert String - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key String - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Ca StringCert - cluster
Domain String - cluster local domain
- cluster
Spec String - connections Property Map
- Map of kubernetes cluster connection information.
- control
Plane List<String>Log Components - control
Plane StringLog Project - control
Plane StringLog Ttl - custom
San String - delete
Options List<Property Map> - deletion
Protection Boolean - enable
Rrsa Boolean - encryption
Provider StringKey - disk encryption key, only in ack-pro
- is
Enterprise BooleanSecurity Group - load
Balancer StringSpec - maintenance
Window Property Map - name String
- Node name.
- name
Prefix String - nat
Gateway StringId - The ID of nat gateway used to launch kubernetes cluster.
- new
Nat BooleanGateway - node
Cidr NumberMask - pod
Cidr String - pod
Vswitch List<String>Ids - proxy
Mode String - resource
Group StringId - retain
Resources List<String> - rrsa
Metadata Property Map - (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
- security
Group StringId - service
Account StringIssuer - service
Cidr String - slb
Id String - The ID of APIServer load balancer.
- slb
Internet String - The public ip of load balancer.
- slb
Internet BooleanEnabled - slb
Intranet String - The ID of private load balancer where the current cluster master node is located.
- Map<Any>
- timezone String
- user
Ca String - version String
- vpc
Id String - The ID of VPC where the current cluster is located.
- worker
Ram StringRole Name - The RamRole Name attached to worker node.
- worker
Vswitch List<String>Ids
Supporting Types
ManagedKubernetesAddon, ManagedKubernetesAddonArgs
- Config string
- If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
- Disabled bool
It specifies whether to disable automatic installation.
It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
logtail-ds
- You can specifyIngressDashboardEnabled
andsls_project_name
in config. If you switch onIngressDashboardEnabled
andsls_project_name
,then logtail-ds would usesls_project_name
as default log store.nginx-ingress-controller
- You can specificIngressSlbNetworkType
in config. Options: internet|intranet.The
main.tf
:- Name string
- This parameter specifies the name of the component.
- Version string
- It specifies the version of the component.
- Config string
- If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
- Disabled bool
It specifies whether to disable automatic installation.
It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
logtail-ds
- You can specifyIngressDashboardEnabled
andsls_project_name
in config. If you switch onIngressDashboardEnabled
andsls_project_name
,then logtail-ds would usesls_project_name
as default log store.nginx-ingress-controller
- You can specificIngressSlbNetworkType
in config. Options: internet|intranet.The
main.tf
:- Name string
- This parameter specifies the name of the component.
- Version string
- It specifies the version of the component.
- config String
- If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
- disabled Boolean
It specifies whether to disable automatic installation.
It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
logtail-ds
- You can specifyIngressDashboardEnabled
andsls_project_name
in config. If you switch onIngressDashboardEnabled
andsls_project_name
,then logtail-ds would usesls_project_name
as default log store.nginx-ingress-controller
- You can specificIngressSlbNetworkType
in config. Options: internet|intranet.The
main.tf
:- name String
- This parameter specifies the name of the component.
- version String
- It specifies the version of the component.
- config string
- If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
- disabled boolean
It specifies whether to disable automatic installation.
It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
logtail-ds
- You can specifyIngressDashboardEnabled
andsls_project_name
in config. If you switch onIngressDashboardEnabled
andsls_project_name
,then logtail-ds would usesls_project_name
as default log store.nginx-ingress-controller
- You can specificIngressSlbNetworkType
in config. Options: internet|intranet.The
main.tf
:- name string
- This parameter specifies the name of the component.
- version string
- It specifies the version of the component.
- config str
- If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
- disabled bool
It specifies whether to disable automatic installation.
It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
logtail-ds
- You can specifyIngressDashboardEnabled
andsls_project_name
in config. If you switch onIngressDashboardEnabled
andsls_project_name
,then logtail-ds would usesls_project_name
as default log store.nginx-ingress-controller
- You can specificIngressSlbNetworkType
in config. Options: internet|intranet.The
main.tf
:- name str
- This parameter specifies the name of the component.
- version str
- It specifies the version of the component.
- config String
- If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
- disabled Boolean
It specifies whether to disable automatic installation.
It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
logtail-ds
- You can specifyIngressDashboardEnabled
andsls_project_name
in config. If you switch onIngressDashboardEnabled
andsls_project_name
,then logtail-ds would usesls_project_name
as default log store.nginx-ingress-controller
- You can specificIngressSlbNetworkType
in config. Options: internet|intranet.The
main.tf
:- name String
- This parameter specifies the name of the component.
- version String
- It specifies the version of the component.
ManagedKubernetesCertificateAuthority, ManagedKubernetesCertificateAuthorityArgs
- Client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- Client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- Cluster
Cert string - The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
- Client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- Client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- Cluster
Cert string - The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
- client
Cert String - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key String - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Cert String - The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
- client
Cert string - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key string - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Cert string - The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
- client_
cert str - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client_
key str - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster_
cert str - The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
- client
Cert String - The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
- client
Key String - The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
- cluster
Cert String - The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
ManagedKubernetesConnections, ManagedKubernetesConnectionsArgs
- Api
Server stringInternet - API Server Internet endpoint.
- Api
Server stringIntranet - API Server Intranet endpoint.
- Master
Public stringIp - Master node SSH IP address.
- Service
Domain string - Service Access Domain.
- Api
Server stringInternet - API Server Internet endpoint.
- Api
Server stringIntranet - API Server Intranet endpoint.
- Master
Public stringIp - Master node SSH IP address.
- Service
Domain string - Service Access Domain.
- api
Server StringInternet - API Server Internet endpoint.
- api
Server StringIntranet - API Server Intranet endpoint.
- master
Public StringIp - Master node SSH IP address.
- service
Domain String - Service Access Domain.
- api
Server stringInternet - API Server Internet endpoint.
- api
Server stringIntranet - API Server Intranet endpoint.
- master
Public stringIp - Master node SSH IP address.
- service
Domain string - Service Access Domain.
- api_
server_ strinternet - API Server Internet endpoint.
- api_
server_ strintranet - API Server Intranet endpoint.
- master_
public_ strip - Master node SSH IP address.
- service_
domain str - Service Access Domain.
- api
Server StringInternet - API Server Internet endpoint.
- api
Server StringIntranet - API Server Intranet endpoint.
- master
Public StringIp - Master node SSH IP address.
- service
Domain String - Service Access Domain.
ManagedKubernetesDeleteOption, ManagedKubernetesDeleteOptionArgs
- Delete
Mode string - The deletion mode of the cluster. Different resources may have different default behavior, see
resource_type
for details. Valid values: - Resource
Type string - The type of resources that are created by cluster. Valid values:
SLB
: SLB resources created through the service, default behavior is to delete, option to retain is available.ALB
: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.SLS_Data
: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.SLS_ControlPlane
: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
... // Specify delete_options as below when deleting cluster // delete SLB resources created by the cluster delete_options { delete_mode = "delete" resource_type = "SLB" } // delete ALB resources created by the ALB Ingress Controller delete_options { delete_mode = "delete" resource_type = "ALB" } // delete SLS Project used by the cluster logging feature delete_options { delete_mode = "delete" resource_type = "SLS_Data" } // delete SLS Project used for the managed cluster control plane logs delete_options { delete_mode = "delete" resource_type = "SLS_ControlPlane" }
- Delete
Mode string - The deletion mode of the cluster. Different resources may have different default behavior, see
resource_type
for details. Valid values: - Resource
Type string - The type of resources that are created by cluster. Valid values:
SLB
: SLB resources created through the service, default behavior is to delete, option to retain is available.ALB
: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.SLS_Data
: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.SLS_ControlPlane
: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
... // Specify delete_options as below when deleting cluster // delete SLB resources created by the cluster delete_options { delete_mode = "delete" resource_type = "SLB" } // delete ALB resources created by the ALB Ingress Controller delete_options { delete_mode = "delete" resource_type = "ALB" } // delete SLS Project used by the cluster logging feature delete_options { delete_mode = "delete" resource_type = "SLS_Data" } // delete SLS Project used for the managed cluster control plane logs delete_options { delete_mode = "delete" resource_type = "SLS_ControlPlane" }
- delete
Mode String - The deletion mode of the cluster. Different resources may have different default behavior, see
resource_type
for details. Valid values: - resource
Type String - The type of resources that are created by cluster. Valid values:
SLB
: SLB resources created through the service, default behavior is to delete, option to retain is available.ALB
: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.SLS_Data
: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.SLS_ControlPlane
: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
... // Specify delete_options as below when deleting cluster // delete SLB resources created by the cluster delete_options { delete_mode = "delete" resource_type = "SLB" } // delete ALB resources created by the ALB Ingress Controller delete_options { delete_mode = "delete" resource_type = "ALB" } // delete SLS Project used by the cluster logging feature delete_options { delete_mode = "delete" resource_type = "SLS_Data" } // delete SLS Project used for the managed cluster control plane logs delete_options { delete_mode = "delete" resource_type = "SLS_ControlPlane" }
- delete
Mode string - The deletion mode of the cluster. Different resources may have different default behavior, see
resource_type
for details. Valid values: - resource
Type string - The type of resources that are created by cluster. Valid values:
SLB
: SLB resources created through the service, default behavior is to delete, option to retain is available.ALB
: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.SLS_Data
: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.SLS_ControlPlane
: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
... // Specify delete_options as below when deleting cluster // delete SLB resources created by the cluster delete_options { delete_mode = "delete" resource_type = "SLB" } // delete ALB resources created by the ALB Ingress Controller delete_options { delete_mode = "delete" resource_type = "ALB" } // delete SLS Project used by the cluster logging feature delete_options { delete_mode = "delete" resource_type = "SLS_Data" } // delete SLS Project used for the managed cluster control plane logs delete_options { delete_mode = "delete" resource_type = "SLS_ControlPlane" }
- delete_
mode str - The deletion mode of the cluster. Different resources may have different default behavior, see
resource_type
for details. Valid values: - resource_
type str - The type of resources that are created by cluster. Valid values:
SLB
: SLB resources created through the service, default behavior is to delete, option to retain is available.ALB
: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.SLS_Data
: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.SLS_ControlPlane
: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
... // Specify delete_options as below when deleting cluster // delete SLB resources created by the cluster delete_options { delete_mode = "delete" resource_type = "SLB" } // delete ALB resources created by the ALB Ingress Controller delete_options { delete_mode = "delete" resource_type = "ALB" } // delete SLS Project used by the cluster logging feature delete_options { delete_mode = "delete" resource_type = "SLS_Data" } // delete SLS Project used for the managed cluster control plane logs delete_options { delete_mode = "delete" resource_type = "SLS_ControlPlane" }
- delete
Mode String - The deletion mode of the cluster. Different resources may have different default behavior, see
resource_type
for details. Valid values: - resource
Type String - The type of resources that are created by cluster. Valid values:
SLB
: SLB resources created through the service, default behavior is to delete, option to retain is available.ALB
: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.SLS_Data
: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.SLS_ControlPlane
: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
... // Specify delete_options as below when deleting cluster // delete SLB resources created by the cluster delete_options { delete_mode = "delete" resource_type = "SLB" } // delete ALB resources created by the ALB Ingress Controller delete_options { delete_mode = "delete" resource_type = "ALB" } // delete SLS Project used by the cluster logging feature delete_options { delete_mode = "delete" resource_type = "SLS_Data" } // delete SLS Project used for the managed cluster control plane logs delete_options { delete_mode = "delete" resource_type = "SLS_ControlPlane" }
ManagedKubernetesMaintenanceWindow, ManagedKubernetesMaintenanceWindowArgs
- Duration string
- The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
- Enable bool
- Whether to open the maintenance window. The following parameters take effect only
enable = true
. - Maintenance
Time string - Initial maintenance time, For example:"03:00:00Z".
- Weekly
Period string Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.
for example:
maintenance_window { enable = true maintenance_time = "01:00:00Z" duration = "3h" weekly_period = "Monday,Friday" }
- Duration string
- The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
- Enable bool
- Whether to open the maintenance window. The following parameters take effect only
enable = true
. - Maintenance
Time string - Initial maintenance time, For example:"03:00:00Z".
- Weekly
Period string Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.
for example:
maintenance_window { enable = true maintenance_time = "01:00:00Z" duration = "3h" weekly_period = "Monday,Friday" }
- duration String
- The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
- enable Boolean
- Whether to open the maintenance window. The following parameters take effect only
enable = true
. - maintenance
Time String - Initial maintenance time, For example:"03:00:00Z".
- weekly
Period String Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.
for example:
maintenance_window { enable = true maintenance_time = "01:00:00Z" duration = "3h" weekly_period = "Monday,Friday" }
- duration string
- The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
- enable boolean
- Whether to open the maintenance window. The following parameters take effect only
enable = true
. - maintenance
Time string - Initial maintenance time, For example:"03:00:00Z".
- weekly
Period string Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.
for example:
maintenance_window { enable = true maintenance_time = "01:00:00Z" duration = "3h" weekly_period = "Monday,Friday" }
- duration str
- The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
- enable bool
- Whether to open the maintenance window. The following parameters take effect only
enable = true
. - maintenance_
time str - Initial maintenance time, For example:"03:00:00Z".
- weekly_
period str Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.
for example:
maintenance_window { enable = true maintenance_time = "01:00:00Z" duration = "3h" weekly_period = "Monday,Friday" }
- duration String
- The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
- enable Boolean
- Whether to open the maintenance window. The following parameters take effect only
enable = true
. - maintenance
Time String - Initial maintenance time, For example:"03:00:00Z".
- weekly
Period String Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.
for example:
maintenance_window { enable = true maintenance_time = "01:00:00Z" duration = "3h" weekly_period = "Monday,Friday" }
ManagedKubernetesRrsaMetadata, ManagedKubernetesRrsaMetadataArgs
- Enabled bool
- Whether the RRSA feature has been enabled.
- Ram
Oidc stringProvider Arn - The arn of OIDC provider that was registered in RAM.
- Ram
Oidc stringProvider Name - The name of OIDC Provider that was registered in RAM.
- Rrsa
Oidc stringIssuer Url - The issuer URL of RRSA OIDC Token.
- Enabled bool
- Whether the RRSA feature has been enabled.
- Ram
Oidc stringProvider Arn - The arn of OIDC provider that was registered in RAM.
- Ram
Oidc stringProvider Name - The name of OIDC Provider that was registered in RAM.
- Rrsa
Oidc stringIssuer Url - The issuer URL of RRSA OIDC Token.
- enabled Boolean
- Whether the RRSA feature has been enabled.
- ram
Oidc StringProvider Arn - The arn of OIDC provider that was registered in RAM.
- ram
Oidc StringProvider Name - The name of OIDC Provider that was registered in RAM.
- rrsa
Oidc StringIssuer Url - The issuer URL of RRSA OIDC Token.
- enabled boolean
- Whether the RRSA feature has been enabled.
- ram
Oidc stringProvider Arn - The arn of OIDC provider that was registered in RAM.
- ram
Oidc stringProvider Name - The name of OIDC Provider that was registered in RAM.
- rrsa
Oidc stringIssuer Url - The issuer URL of RRSA OIDC Token.
- enabled bool
- Whether the RRSA feature has been enabled.
- ram_
oidc_ strprovider_ arn - The arn of OIDC provider that was registered in RAM.
- ram_
oidc_ strprovider_ name - The name of OIDC Provider that was registered in RAM.
- rrsa_
oidc_ strissuer_ url - The issuer URL of RRSA OIDC Token.
- enabled Boolean
- Whether the RRSA feature has been enabled.
- ram
Oidc StringProvider Arn - The arn of OIDC provider that was registered in RAM.
- ram
Oidc StringProvider Name - The name of OIDC Provider that was registered in RAM.
- rrsa
Oidc StringIssuer Url - The issuer URL of RRSA OIDC Token.
Import
Kubernetes managed cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of pulumi preview
.
$ pulumi import alicloud:cs/managedKubernetes:ManagedKubernetes main cluster_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.