Update Fedora Atomic modules to Kubernetes v1.10.1

This commit is contained in:
Dalton Hubble
2018-04-14 00:37:53 -07:00
parent 5212684472
commit b3cf9508b6
12 changed files with 32 additions and 32 deletions

View File

@ -22,12 +22,12 @@ write_files:
- path: /etc/systemd/system/cloud-metadata.service
content: |
[Unit]
Description=Digital Ocean metadata agent
Description=Cloud metadata agent
[Service]
Type=oneshot
Environment=OUTPUT=/run/metadata/digitalocean
Environment=OUTPUT=/run/metadata/cloud
ExecStart=/usr/bin/mkdir -p /run/metadata
ExecStart=/usr/bin/bash -c 'echo "PRIVATE_IPV4=$(curl\
ExecStart=/usr/bin/bash -c 'echo "HOSTNAME_OVERRIDE=$(curl\
--url http://169.254.169.254/metadata/v1/interfaces/private/0/ipv4/address\
--retry 10)" > $${OUTPUT}'
[Install]
@ -106,18 +106,18 @@ write_files:
--volume /etc/kubernetes:/etc/kubernetes:Z \
--volume /var/bootkube/assets:/assets:Z \
--entrypoint=/bootkube \
quay.io/coreos/bootkube:v0.11.0 start --asset-dir=/assets
quay.io/coreos/bootkube:v0.12.0 start --asset-dir=/assets
bootcmd:
- [setenforce, Permissive]
- [systemctl, disable, firewalld, --now]
runcmd:
- [systemctl, daemon-reload]
- "atomic install --system --name=etcd quay.io/dghubble/etcd:0265e6680d2533f3fbf4512af868d29ff07451ca"
- [systemctl, start, --no-block, etcd.service]
- [systemctl, enable, cloud-metadata.service]
- "atomic install --system --name=kubelet quay.io/dghubble/kubelet:d97cd9265ef6f6d0d9aab54ad9f66d4f5daaf397"
- "atomic install --system --name=kubelet quay.io/dghubble/kubelet:8767d4433f7c5a38c55edf6e682efb53fcd06f61"
- [systemctl, enable, kubelet.path]
- [systemctl, start, --no-block, kubelet.path]
- [systemctl, disable, firewalld, --now]
users:
- default
- name: fedora

View File

@ -3,12 +3,12 @@ write_files:
- path: /etc/systemd/system/cloud-metadata.service
content: |
[Unit]
Description=Digital Ocean metadata agent
Description=Cloud metadata agent
[Service]
Type=oneshot
Environment=OUTPUT=/run/metadata/digitalocean
Environment=OUTPUT=/run/metadata/cloud
ExecStart=/usr/bin/mkdir -p /run/metadata
ExecStart=/usr/bin/bash -c 'echo "PRIVATE_IPV4=$(curl\
ExecStart=/usr/bin/bash -c 'echo "HOSTNAME_OVERRIDE=$(curl\
--url http://169.254.169.254/metadata/v1/interfaces/private/0/ipv4/address\
--retry 10)" > $${OUTPUT}'
[Install]
@ -59,13 +59,13 @@ write_files:
SELINUXTYPE=targeted
bootcmd:
- [setenforce, Permissive]
- [systemctl, disable, firewalld, --now]
runcmd:
- systemctl daemon-reload
- systemctl enable cloud-metadata.service
- "atomic install --system --name=kubelet quay.io/dghubble/kubelet:d97cd9265ef6f6d0d9aab54ad9f66d4f5daaf397"
- systemctl enable kubelet.path
- systemctl start --no-block kubelet.path
- systemctl disable firewalld --now
- [systemctl, daemon-reload]
- [systemctl, enable, cloud-metadata.service]
- "atomic install --system --name=kubelet quay.io/dghubble/kubelet:8767d4433f7c5a38c55edf6e682efb53fcd06f61"
- [systemctl, enable, kubelet.path]
- [systemctl, start, --no-block, kubelet.path]
users:
- default
- name: fedora