forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
any-cluster.yml
53 lines (53 loc) · 1015 Bytes
/
any-cluster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
ROSTemplateFormatVersion: '2015-09-01'
Description: CS AnyCluster resource example
Parameters:
RegionId:
Type: String
Default: cn-hangzhou
ClusterType:
Type: String
Default: ManagedKubernetes
Profile:
Type: String
Default: Serverless
ZoneId:
Type: String
Default: cn-hangzhou-i
Name:
Type: String
Default: ros-fvt-test
ClusterSpec:
Type: String
Default: ack.pro.small
Resources:
Cluster:
Type: ALIYUN::CS::AnyCluster
Properties:
ClusterConfig:
region_id:
Ref: RegionId
tags:
- key: test
cluster_type:
Ref: ClusterType
zoneid:
Ref: ZoneId
snat_entry: true
private_zone: false
name:
Ref: Name
cluster_spec:
Ref: ClusterSpec
profile:
Ref: Profile
Outputs:
ClusterId:
Value:
Fn::GetAtt:
- Cluster
- ClusterId
TaskId:
Value:
Fn::GetAtt:
- Cluster
- TaskId