-
Notifications
You must be signed in to change notification settings - Fork 0
/
user_data
31 lines (30 loc) · 1.41 KB
/
user_data
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
#cloud-config
hostname: kubernete_master1
# include one or more SSH public keys
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDxOAaGOqpHj/SDF5c2iYHQKhdfQgUv39oc/FFs7JihLd8vblbqFMVC2NA+41ZSEkHT55m0vKLpx1vC83WWXMTEotcvdfGiE67/wHiULG1s5J1NeZf+ykAiYDwKGmevHx5F4dF1FKuy4oWIN+ZuCEzUU+6UPiMQ/HSdXk2u0HS23o90QouWnYw5g13O+d4N+No2SlWKZLm5nyloz7Ix52xwYYPGaXpM4QrLrFEN5xtLkrfCAIppP097NXb2kwASH0JnshYKrXTiwd+Q5nb1rfEdJNsgp6g4FJRNlN19LBBrdyZVOG0vjy6C6TMrvoVYPBPHmfPc0/IGJxWwOAYX28qv jaepyoung.kim@KimJaepyoung.local
coreos:
etcd2:
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
# specify the initial size of your cluster with ?size=X
discovery: https://discovery.etcd.io/fbc485c1bd846dd42562ca5fe904bac0
advertise-client-urls: http://$private_ipv4:2379,http://$private_ipv4:4001
initial-advertise-peer-urls: http://$private_ipv4:2380
# listen on both the official ports and the legacy ports
# legacy ports can be omitted if your application doesn't depend on them
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001
listen-peer-urls: http://$private_ipv4:2380
units:
- name: etcd2.service
command: start
- name: fleet.service
command: start
- name: 00-ens.network
runtime: true
content: |
[Match]
Name=en*
[Network]
DNS=10.0.0.1
Address=10.0.0.237
Gateway=10.0.0.250