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
7d1fc770f4
tests: Improve bootcfg/storage test coverage
2016-03-25 15:43:44 -07:00
Dalton Hubble
3d07218a3f
bootcfg/storage: Switch fileStore from http.Dir to custom Dir
...
* http.Dir securely restricts accesses to a filesystem directory to
support http FileServe, which is why this type was used previously
* Dir copies the sanatization behavior of http.Dir verbatim, but
provides ioutil-like write and directory access within the directory
* Why: Safe FileStore writes need to be possible and also, storage
should not have a dependency on net/http just for its http.Dir
2016-03-25 15:40:23 -07:00
Dalton Hubble
29ca0c69a4
Merge pull request #115 from coreos/port-to-ignition
...
Rewrite k8s-master and k8s-worker Profiles from cloud-config to Ignition
2016-03-23 14:15:30 -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
ad5f6e0a72
scripts: Fold libvirt delete-disks into node destroy
2016-03-22 10:08:55 -07:00
Dalton Hubble
7732fa4d04
cmd/bootcmd: Add initial bootcmd CLI tool
2016-03-21 12:52:48 -07:00
Dalton Hubble
7a0d96344f
vendor: Add github.com/spf13/cobra
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
e43a018db3
Merge pull request #113 from coreos/multi-worker-k8s
...
Create k8s clusters with 3-node etcd, 2 workers, and fleet
2016-03-19 17:34:43 -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
409e2d4fbb
scripts/tls: Add example bare metal TLS generation script
2016-03-19 17:19:02 -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
a2e8f6756d
scripts/get-coreos: Download CoreOS Alpha 962.0.0
2016-03-19 01:58:32 -07:00
Dalton Hubble
80a6f7448e
Merge pull request #112 from coreos/k8s-v1.1.8
...
examples: Upgrade k8s to v1.1.8
2016-03-18 18:52:09 -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
bfc9b6806d
Merge pull request #107 from coreos/rkt-dnsmasq
...
contrib/dnsmasq: Make coreos.com/dnsmasq:v0.2.0 rkt fetch-able
2016-03-18 13:25:40 -07:00
Dalton Hubble
044d277393
contrib/dnsmasq: Make coreos.com/dnsmasq rkt fetch-able
...
* Make ACI coreos.com/dnsmasq is available as v0.2.0
* Signed by the CoreOS Application Signing Key
2016-03-18 13:12:42 -07:00
Dalton Hubble
afe6da77b6
Merge pull request #110 from coreos/start-http-and-grpc
...
cmd/bootcfg: Start HTTP and gRPC(optional) via bootcfg binary
2016-03-17 16:42:58 -07:00
Dalton Hubble
3f7161fe33
cmd/bootcfg: Start HTTP and gRPC (optional) via bootcfg binary
2016-03-17 16:02:26 -07:00
Dalton Hubble
96c8c67975
Merge pull request #109 from coreos/fix-two-stage-install
...
examples: Fix 2-stage install CoreOS and etcd_proxy setup
2016-03-17 11:25:06 -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
b40bfa3193
contrib/dnsmasq: Bundle grub.efi in quay.io/coreos/dnsmasq
...
* Bundle grub.efi in coreos/dnsmasq so Docker users can test
GRUB netboot with UEFI clients
2016-03-15 18:22:23 -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
b4c33bac91
Merge pull request #104 from coreos/spec-rename
...
bootcfg/api,config: Rename Spec to Profile
2016-03-15 16:43:33 -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
75de03bf8f
vendor: Update google.golang.org/grpc dependency
...
* Codegen with latest gRPC adds a new compile-time assertion
2016-03-15 02:44:50 -07:00
Dalton Hubble
cdcf374341
changes.md: Update changelog notes
2016-03-11 13:07:23 -08:00
Dalton Hubble
76a703c7a4
Merge pull request #95 from coreos/grpc-migration
...
Support gRPC client and server with a backing storage.Store
2016-03-11 10:40:34 -08:00
Dalton Hubble
0d148581b9
bootcfg/api: Switch from api types to storagepb types
...
* Remove api.Store and use storagepb.Store instead
* Remove api.Spec and use storagepb.Profile instead
* Switch from api.Group to storagepb.Group
* Move api.Group to config for YAML config decoding only
2016-03-10 18:32:57 -08:00
Dalton Hubble
c98a0b74de
bootcfg/api: Remove Labels and LabelSet
2016-03-10 11:55:18 -08:00
Dalton Hubble
7af69d46b0
bootcfg/storage: Make protobuf Groups deterministically sortable
2016-03-10 11:05:22 -08:00
Dalton Hubble
717a240b1d
config: Add bytes JSON to storagepb.Group, parse YAML config
...
* Allow bootcfg groups metadata to be defined via YAML
* Convert YAML metadata to JSON bytes field in a protobuf message
* Strip metadata except strings, string slices, and string-keyed maps
with nesting
2016-03-09 16:28:16 -08:00
Dalton Hubble
81f7855099
api: Add initial GRUB config endpoint
2016-03-08 17:08:31 -08:00
Dalton Hubble
16f9bf9a8a
config: Normalize MAC addresses from group requirements YAML
2016-03-08 08:53:07 -08:00
Dalton Hubble
701cc25ed3
examples: Correct wipeTable to wipe_table in YAML
2016-03-04 17:48:27 -08:00
Dalton Hubble
0dea713908
Merge pull request #81 from coreos/grpc-wip
...
Add initial bootcfg/client package for gRPC
2016-03-04 16:10:20 -08:00