Commit Graph

57 Commits

Author SHA1 Message Date
Dalton Hubble
4e563bbce3 filestore: Parse Profiles found in /etc/bootcfg/profiles
* FileStore should manage resources found in type named directories
since this is similar to a traditional table-DB layout and to how
an EtcdStore would work
2016-03-25 15:46:02 -07:00
Dalton Hubble
d72c136590 examples/profiles,bootcfg: Add basic profile validation and add profile names 2016-03-25 15:43:45 -07:00
Dalton Hubble
50f6741eff examples: Use target and template units in k8s-{master,worker}
* Remove the Path Unit which curl'd 3 files, use a template unit
* Add a k8s-assets.target to simplify depending on fetched assets
2016-03-23 11:53:53 -07:00
Dalton Hubble
c0cf9c5c99 examples: Change /opt script file mode to 0544 2016-03-23 11:52:28 -07:00
Dalton Hubble
b3bac02a12 examples: Fix Kubelet path and service ordering
* Run k8stls.service to fetch TLS assets if path is missing
* Make Kubelet depend upon a kubelet.path path unit
* Fixes to file mode (octal allowed in YAML)
2016-03-22 22:54:52 -07:00
Dalton Hubble
093c738e8f examples: Remove old Kubernetes cloud-configs 2016-03-22 22:54:44 -07:00
Dalton Hubble
62d2b43fe1 examples: Update k8s-install config to use Ignition only
* Ignition is preferred over Cloud-Config
2016-03-22 22:54:44 -07:00
Dalton Hubble
ce806cb92a examples: Remove metadata agent from k8s-master and k8s-worker
* Clusters nodes are statically declared, no need to load dynamic
node metadata
2016-03-22 22:54:44 -07:00
Dalton Hubble
e1fd5dc699 examples: Rewrite k8s-master from cloud-config to Ignition 2016-03-22 22:54:44 -07:00
Dalton Hubble
a93885fdcc examples: Rewrite k8s-worker from cloud-config to Ignition 2016-03-22 22:54:44 -07:00
Dalton Hubble
7732fa4d04 cmd/bootcmd: Add initial bootcmd CLI tool 2016-03-21 12:52:48 -07:00
Dalton Hubble
290be307ea examples: Add k8s install to disk example
* Install a Kubernetes cluster with 1 master, 2 workers
* Setup a 3 node etcd cluster and enable update-engine
* Include fleet on the cluster as well
2016-03-21 11:50:50 -07:00
Dalton Hubble
1004777a71 examples: Update etcd examples from beta 899.6.0 to alpha 983.0.0 2016-03-19 17:29:23 -07:00
Dalton Hubble
33dbd567ee examples: Inform k8s of all etcd nodes 2016-03-19 17:17:51 -07:00
Dalton Hubble
c5ea8362d3 examples: Update k8s to have 1 master, 2 workers
* Setup 3-node etcd cluster instead of dedicated etcd node
* Update certificate generation for workers on rkt/docker nets
* Add Tectonic Starter call to action
2016-03-19 16:56:51 -07:00
Dalton Hubble
39c1c414d2 examples: Upgrade k8s to v1.1.8
* Upgrade CoreOS Version to Alpha 962.0.0
* rkt run kubelet with the kubelet-wrapper
* Switch to quay.io/coreos/hyperkube
* Provision an ext4 root partition
2016-03-18 17:36:44 -07:00
Dalton Hubble
89ae6bb35d examples: Fix 2-stage CoreOS install example
* 4GB disk is too small and routinely fails in libvirt
* Depending on build env, dnsmasq ACI can have an old /etc/resolv.conf
DNS entry embedded. Can rebuild to fix, but use --dns=8.8.8.8 too
* Fix issue where etcd_proxy profile failed to pull metadata
so etcd_proxy wasn't configured after CoreOS install
2016-03-17 01:48:33 -07:00
Dalton Hubble
9461fc3ffa examples: Enable Fleet in etcd/etcd_proxy profiles 2016-03-16 23:42:51 -07:00
Dalton Hubble
0a84cbc7d3 docs: Update commands, add SSH keys notes, systemd notes 2016-03-15 17:58:27 -07:00
Dalton Hubble
e5641d9535 contrib/systemd: Add systemd build and deploy example
* docs: Compile bootcfg from source, start a systemd unit
* Install bootcfg static binary to /usr/local/bin
* Add default configs /etc/bootcfg.conf and /etc/bootcfg
2016-03-15 17:06:37 -07:00
Dalton Hubble
d2099f5a18 docs: Update docs to rename Spec to Profile 2016-03-15 16:09:34 -07:00
Dalton Hubble
5623fa1521 bootcfg/api,config: Rename Spec to Profile 2016-03-15 15:06:22 -07:00
Dalton Hubble
040665930d cmd, docs: Change default config, data, and assets locations
* Change default -config path to /etc/bootcfg.conf
* Change default -data-path to /etc/bootcfg
* Change default -assets-path to /var/bootcfg
2016-03-15 15:02:37 -07:00
Dalton Hubble
81f7855099 api: Add initial GRUB config endpoint 2016-03-08 17:08:31 -08:00
Dalton Hubble
701cc25ed3 examples: Correct wipeTable to wipe_table in YAML 2016-03-04 17:48:27 -08:00
Dalton Hubble
6b330824c5 examples: Partition disk, root fs, and PXE with root fs 2016-02-24 17:04:21 -08:00
Dalton Hubble
41fe456d68 examples: Add CoreOS alpha single node PXE example 2016-02-24 14:01:05 -08:00
Dalton Hubble
fce6cacfef examples: Show CoreOS install using Ignition support
* Use the coreos-install -i option added in CoreOS alpha 949.0.0
* Download second stage Ignition config while in PXE first stage
* Resolves #46
2016-02-23 17:38:23 -08:00
Dalton Hubble
d614e7d80b examples: Fix CNI metal0's destination routes
* Supplied metal0 CNI definition restricted traffic destinations
to the metal0 bridge. Update to allow outbount traffic.
* Fixes the coreos-install example for use with rkt
2016-02-23 16:56:54 -08:00
Dalton Hubble
ed584de9cc docs: Update bootcfg docs for new features and changes
* Add docs for new features, simplify organization
* Use the name bootcfg when referring to the service
2016-02-09 20:30:22 -08:00
Dalton Hubble
1ccee77050 api: Allow nested map[string]interface{} template data
* Support templating lists into Ignition (e.g. SSH authorized keys)
2016-02-05 15:12:23 -08:00
Dalton Hubble
068cd613b6 scripts: Bump from CoreOS stable 877.1.0 to beta 899.6.0 2016-02-04 14:35:48 -08:00
Dalton Hubble
68437b9e2d api: Allow Ignition config templates in YAML
* Match machines to their Ignition template file, render the
template, parse as JSON or YAML, and serve as Ignition JSON
* Existing JSON ignition configs should still work
* Remove the Ignition YAML -> JSON transform script which used fuze
2016-02-04 13:45:11 -08:00
Dalton Hubble
e7d877c76d docs: Fix broken/missing link 2016-02-03 21:40:07 -08:00
Dalton Hubble
fc4d669a38 examples: Install CoreOS to disk and provision an etcd cluster 2016-02-03 17:12:40 -08:00
Dalton Hubble
ad5346f325 examples: Add example booting Kubernetes on CNI bridge with rkt 2016-02-02 17:06:21 -08:00
Dalton Hubble
3949e84fae Documentation: Add getting started with rkt and docker 2016-02-02 12:29:42 -08:00
Dalton Hubble
4e74ae657c examples: Combine etcd, k8s, docker, and rkt examples
* Different sets of examples subfolders are not needed
2016-02-01 23:24:17 -08:00
Dalton Hubble
a945c1c660 api: Add Cloud-init config templating 2016-02-01 22:09:39 -08:00
Dalton Hubble
3e3255744a examples: Simplify Kubernetes example with ignition templating 2016-02-01 16:13:55 -08:00
Dalton Hubble
0832b77032 examples: Combine rkt and docker etcd cluster examples
* etcd and etcd_proxy ignition configs are templated and the systemd
units customized by metadata. Duplicates with hardcoded IP values
are no longer needed.
2016-02-01 14:25:20 -08:00
Dalton Hubble
27eb545ca4 api: Implement Ignition config templating 2016-02-01 11:34:05 -08:00
Dalton Hubble
3c76dc4a93 examples: Update etcd-large example to use Ignition
* Use the config service metadata, Ignition, and systemd dropins
to setup the 3 node etcd cluster with etcd proxies
* Remove etcd-large cloud configs
2016-01-31 03:18:59 -08:00
Dalton Hubble
76cec40b5a api: Add metadata endpoint with plain/text KEY=val's
* Show example with a custom metadata agent in Ignition
2016-01-31 01:13:53 -08:00
Dalton Hubble
c33497cb27 rkt: Add intial example with rkt, CNI, and ACIs 2016-01-27 14:13:33 -08:00
Dalton Hubble
70daed7ded examples: Configure networkd with Ignition in etcd examples
* Favor configuring networkd before init rather than adding
networkd units in cloud config, marking the interface down,
and restarting networkd
2016-01-22 14:52:52 -08:00
Dalton Hubble
c2262bf00b docs: Add notes about config signing, TLS assets, changes 2016-01-22 14:17:39 -08:00
Dalton Hubble
c9ab72e307 dnsmasq: Update references to quay.io/coreos/dnsmasq
* Convenience image for using dnsmasq, hosted to get users
started quickly
* Resolves #28
2016-01-19 10:59:56 -08:00
Dalton Hubble
9f6bd67e29 scripts/libvirt: Add libvirt start subcommand
* Reboot depends on having a VM OS running
* Use libvirt start after libvirt poweroff the nodes
2016-01-13 18:36:52 -08:00
Dalton Hubble
2bfa3f8049 examples: Minor fixes to make examples steps more clear 2016-01-13 18:35:38 -08:00