Justin Garrison
fcf68ce69c
examples/groups: Remove unused k8s_service_ip metadata
2016-04-13 16:12:36 -07:00
Dalton Hubble
0ffa17c12d
Rename Group field requirements to selector
...
* Use label/selector terms for machine attribute labels and group
selectors requirements since it is familiar to many users
2016-04-12 13:32:46 -07:00
Dalton Hubble
d54eb0447f
examples: Start Heapster service by default in k8s
2016-04-11 18:19:28 -07:00
Dalton Hubble
1a8370a218
examples: Upgrade k8s from v1.1.8 to v1.2.0
2016-04-11 17:55:29 -07:00
Dalton Hubble
b4f17a5669
examples: Add AWS EC2 etcd cluster example
...
* Set up the etcd nodes using the discovery endpoint
2016-04-08 13:49:12 -07:00
Dalton Hubble
9d5692c823
bootcfg/rpc: Add GroupPut to gRPC API and group create cmd
...
* Use hardcoded Group Id's for example groups so repeated
group creation overrides
2016-04-07 11:01:33 -07:00
Dalton Hubble
beab04dea4
docs: Update Groups docs and instructions for running examples
...
* Group definitions are now data. To run a particular example, mount a
provided examples/groups/some-example to /var/lib/bootcfg/groups
2016-04-06 11:09:03 -07:00
Dalton Hubble
4cdcbb1b8b
*: Change default FileStore data location to /var/lib/bootcfg
...
* Change assets download location to examples/assets
* FileStore should default to /var/lib/bootcfg/{profiles,groups,
ignition,cloud}
* Assets location should default to /var/lib/bootcfg/assets
* Fix -rpcAddress flag to be -rpc-address
2016-04-05 18:09:18 -07:00
Dalton Hubble
373d27760a
bootcfg/storage: Read groups from groups directory
...
* Split config.yaml files into JSON groups files
* Update examples to use folders of mountable groups files
* Stop reading groups from a -config config.yaml file
* Add RichGroup JSON <-> Protobuf Serialize Group
2016-04-05 14:10:44 -07:00
Dalton Hubble
e4f147b1f2
scripts: Simplify TLS scripts into k8s-certgen and generate kubeconfig
...
* Remove kubecfg-rkt and kubecfg-docker which used relative paths
2016-03-31 12:54:08 -07:00
Dalton Hubble
0a68eb7201
examples: Remove metadata service from etcd examples
...
* The etcd clusters use static address assignment so dynamic metadata
isn't needed for this case. Custom metadata is useful for fetching
custom data on each boot, to configure units.
2016-03-29 13:15:14 -07:00
Dalton Hubble
beb1985b22
cli,server,storage: Allow creating profiles via gRPC and CLI
2016-03-25 16:29:20 -07:00
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