forked from rancher/cluster-template-examples
-
Notifications
You must be signed in to change notification settings - Fork 3
/
values-aws.yaml
153 lines (112 loc) · 4.02 KB
/
values-aws.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
cloudprovider: amazonec2
cloudCredentialSecretName: amazonec2
# Specify nodepool options. Can add multiple node groups, specify etcd, controlplane and worker roles.
nodepools:
- etcd: true
controlplane: true
worker: true
# specify node labels
labels: {}
# specify node taints
taints: {}
# specify nodepool size
quantity: 1
# Pause node pool
paused: false
# specify displayName
# displayName: ""
# specify rolling update mechanism
# rollingUpdate:
# The maximum number of machines that can be unavailable during the update.
# Value can be an absolute number (ex: 5) or a percentage of desired
# machines (ex: 10%).
# Absolute number is calculated from percentage by rounding down.
# This can not be 0 if MaxSurge is 0.
# Defaults to 0.
# Example: when this is set to 30%, the old MachineSet can be scaled
# down to 70% of desired machines immediately when the rolling update
# starts. Once new machines are ready, old MachineSet can be scaled
# down further, followed by scaling up the new MachineSet, ensuring
# that the total number of machines available at all times
# during the update is at least 70% of desired machines.
# maxUnavailable: "5"
# The maximum number of machines that can be scheduled above the
# desired number of machines.
# Value can be an absolute number (ex: 5) or a percentage of
# desired machines (ex: 10%).
# This can not be 0 if MaxUnavailable is 0.
# Absolute number is calculated from percentage by rounding up.
# Defaults to 1.
# Example: when this is set to 30%, the new MachineSet can be scaled
# up immediately when the rolling update starts, such that the total
# number of old and new machines do not exceed 130% of desired
# machines. Once old machines have been killed, new MachineSet can
# be scaled up further, ensuring that total number of machines running
# at any time during the update is at most 130% of desired machines.
# maxSurge: "1"
# specify machineDeployment Labels
# machineDeploymentLabels: {}
# specify machineDeployment annotations
# machineDeploymentAnnotations: {}
# specify nodepool name
name: ec2-nodepool-1
# AWS machine image
# ami: ""
# AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
# blockDurationMinutes: 0
# AWS root device name
deviceName: "/dev/sda1"
# Encrypt the EBS volume using the AWS Managed CMK
encryptEbsVolume: false
# Optional endpoint URL (hostname only or fully qualified)
endpoint: ""
# AWS IAM Instance Profile
iamInstanceProfile: ""
# Disable SSL when sending requests
insecureTransport: false
# AWS instance type
instanceType: t3a.medium
# AWS region
region: us-west-2
# Whether to create `rancher-node` security group. If false, can provide with existing security group
createSecurityGroup: true
# createSecurityGroup: false
# securityGroups: []
# AWS keypair to use
keypairName: ""
# Skip adding default rules to security groups
securityGroupReadonly: false
# File contents for sshKeyContents
sshKeyContents: ""
# AWS VPC subnet id
subnetId: ""
# Set this flag to enable CloudWatch monitoring
monitoring: false
# Make the specified port number accessible from the Internet
# openPort: ["8080", "8443"]
# Only use a private IP address
privateAddressOnly: false
# Set this flag to request spot instance
requestSpotInstance: false
# AWS Tags (e.g. key1,value1,key2,value2)
# tags: "foo,bar"
# Set retry count for recoverable failures (use -1 to disable)
retries: 5
# AWS root disk size (in GB)
rootSize: 16
# AWS spot instance bid price (in dollar)
spotPrice: 0.5
# Set the name of the ssh user
sshUser: ubuntu
# Amazon EBS volume type
volumeType: gp2
# AWS VPC id
# vpcId: ""
# Create an EBS optimized instance
useEbsOptimizedInstance: false
# Force the usage of private IP address
usePrivateAddress: false
# File contents for userdata
userdata: ""
# AWS zone for instance (i.e. a,b,c,d,e)
zone: a