forked from zalando-stups/taupage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-userdata.yaml
77 lines (59 loc) · 1.51 KB
/
test-userdata.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
#taupage-ami-config
application_id: my-http-test-app-ami
application_version: "1.6"
runtime: Docker
source: registry.opensource.zalan.do/stups/tiny-docker-http-test:1.6
environment:
STAGE: ami-test
SOME_BOOLEAN_ENV_VAR: false
root: true
read_only: false
keep_instance_users: true
docker_daemon_access: true
dockercfg:
"https://hub.docker.com":
auth: foo1234
email: [email protected]
ports:
80: 8080
healthcheck:
type: elb
loadbalancer_name: foo-elb
health_check_path: /
ssh_ports:
- 22
- 2222
cloudwatch_logs:
/var/log/syslog: my-syslog-loggroup
/var/log/application.log: my-application-loggroup
volumes:
ebs:
# http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html
# attach EBS volume with "Name" tag "taupage-ami-test-vol1"
/dev/xvdf: taupage-ami-test-vol1
# attach EBS volume with "Name" tag "taupage-ami-test-vol2"
/dev/xvdg: taupage-ami-test-vol2
raid:
# Defines RAID0 volume with the attached devices above (note the different device names)
/dev/md/sampleraid0:
level: 1
devices:
- /dev/xvdf
- /dev/xvdg
mounts:
/some_volume:
partition: /dev/md/sampleraid0
erase_on_boot: true
filesystem: ext4
mount_certs: true
mount_var_log: true
# Start etcd in single node mode
etcd_discovery_domain: disable
# start local planb-tokeninfo
local_planb_tokeninfo: true
# Set custom sysctl settings
sysctl:
fs.file-max: 8192
# Edit sysfs paths
sysfs:
/sys/kernel/mm/transparent_hugepage/enabled: never