414 Commits

Author SHA1 Message Date
Dalton Hubble
4e4450a9ca Merge pull request #283 from coreos/docs
Documentation,CHANGES.md: Update documentation for v0.4.0
v0.4.0
2016-07-20 14:45:56 -07:00
Dalton Hubble
d8f3ceafbe Documentation,CHANGES.md: Update docs for v0.4.0 2016-07-20 14:35:54 -07:00
Dalton Hubble
6d3649778c Merge pull request #279 from coreos/metadata
Serve nested group metadata, selectors, and query vars as /metadata "env file"
2016-07-19 16:49:49 -07:00
Dalton Hubble
95b18ba8b9 bootstrap/http: Format nested metadata in env file
* Serve /metadata including group metadata, selectors, and
query variables in KEY=value "env file" format lines
* Recurse into nested maps (e.g. OUTER_INNER=val)
2016-07-19 16:36:04 -07:00
Dalton Hubble
07751a4bba bootcfg/http: Add request query params to template variables
* Add query parameters to template variables, referenced by
 {{.request.query.param}}
* Render Ignition/Fuze, cloud-config, and generic templates and
metadata with collected variables
* Replace template variable {{.query}} with {{.request.raw_query}}
(breaking)
2016-07-19 16:25:01 -07:00
Dalton Hubble
ae376d7098 Merge pull request #281 from coreos/gpg-trust-level
scripts: Don't set GPG trust level of CoreOS public key
2016-07-19 16:00:24 -07:00
Dalton Hubble
7e04e7ce4f scripts: Don't set GPG trust level of CoreOS public key 2016-07-19 15:05:21 -07:00
Dalton Hubble
3ddbeb238e Merge pull request #276 from coreos/cleanup
Update CHANGES.md and cleanup source
2016-07-19 14:01:58 -07:00
Dalton Hubble
c3645d22d3 CHANGES.md,README.md: Update changelog, links, and fix typos 2016-07-19 10:54:36 -07:00
Dalton Hubble
8e3d4b4547 bootcfg/cli: Organize imports 2016-07-19 10:06:14 -07:00
Dalton Hubble
5575590393 bootcfg/http: Cleanup handler chains and source organization
* Simplify common http request handling chains
* Separate github.com/dghubble/ctxh source so we can move
it to a separate CoreOS package or vendor upstream
* Remove unused requireGET
2016-07-19 10:06:14 -07:00
Dalton Hubble
c5c92ed569 Merge pull request #274 from coreos/k8s-v1.3
Upgrade Kubernetes examples to v1.3.0
2016-07-18 19:26:23 -07:00
Dalton Hubble
281e411594 Documentation: Add docs for Kubernetes v1.3.0 dashboard 2016-07-17 00:26:36 -07:00
Dalton Hubble
ecf921928c examples/kubernetes: Avoid systemd dependency failures
* Units which fail due to unmet dependencies are not restarted.
Upstream issue: github.com/systemd/systemd/issues/1312
* Avoid depending on flanneld. Instead, check and fail if unmet
to force a restart (retry)
* Remove unneeded k8s-assets dependency on kubelet. The k8s-assets
script itself just checks for the Kubernetes API to be up anyway
2016-07-17 00:12:42 -07:00
Dalton Hubble
e002ac2881 examples/kubernetes: Upgrade Kubernetes cluster to v1.3.0
* Add Kubernetes dashboard addon controller and service
* Update kube2sky -> kubedns-amd64
* Update skydns -> kube-dnsmasq-amd64
* Update heapster
* Rename exechealthz -> exechealthz-amd64
* Remove kube-system namespace, present already
2016-07-17 00:12:05 -07:00
Dalton Hubble
7217cf2e4c Merge pull request #273 from coreos/timeout
bootcfg/client: Accept a gRPC DialTimeout option
2016-07-15 13:05:35 -07:00
Dalton Hubble
46c8820c69 bootcfg/client: Accept a gRPC DialTimeout option 2016-07-15 10:45:38 -07:00
Dalton Hubble
03790553cf Merge pull request #268 from coreos/structured-logging
bootcfg/http: Add structured info/debug logging
2016-07-13 17:50:35 -07:00
Dalton Hubble
10cfa59970 bootcfg/http: Chain handlers with a simple chain func 2016-07-12 17:59:52 -07:00
Dalton Hubble
8404e34b9a bootcfg/http: Add structured info/debug logging
* Add info logs for errors matching machine groups
or resolving profiles, or supported templates
* Add debug logs with successful match info
2016-07-12 14:00:01 -07:00
Dalton Hubble
10b1441549 Merge pull request #264 from coreos/makefile
Makefile,scripts: Make platform-specific binary tarball targets
2016-07-12 13:00:00 -07:00
Dalton Hubble
02a759a300 Makefile,scripts: Make platform-specific binary tarball targets 2016-07-12 11:26:19 -07:00
Dalton Hubble
7d509bce1b travis: Notify on build status changes 2016-07-11 16:04:25 -07:00
Dalton Hubble
94877692e7 examples/ignition: Add missing -xe to install scripts 2016-07-11 16:03:17 -07:00
Dalton Hubble
5fe0fc639b Merge pull request #254 from coreos/logging-refactor
Refactor logging to pass Logrus logger
2016-07-11 15:55:41 -07:00
Dalton Hubble
1f54a2461a vendor: Remove capnslog, add logrus 2016-07-11 14:43:33 -07:00
Dalton Hubble
63e48160f6 bootcfg/http: Replace capnslog with logrus 2016-07-11 14:43:33 -07:00
Dalton Hubble
29f277f001 bootcfg/http: Replace store field with core Server
* Remove the bootcfg/http/server.Server store field
to enforce handlers use the core Server, not the Store
directly
2016-07-11 14:43:33 -07:00
Dalton Hubble
f2a89a6168 bootcfg/http: Convert logging handlers to methods
* Convert handlers which log to bootcfg/http/server.Server
methods to allow a Server instance scoped logger to be used
to replace the package logger
2016-07-11 14:43:33 -07:00
Dalton Hubble
53755b0e96 Merge pull request #259 from coreos/restart-installs
examples/ignition: Separate installer.service script
2016-07-11 14:38:07 -07:00
Dalton Hubble
cb579834ac examples/ignition: Separate installer script 2016-07-11 14:08:58 -07:00
Dalton Hubble
0ec9e56ffd Merge pull request #263 from coreos/bash-flags
examples/ignition: Add -xe to bash scripts
2016-07-11 11:16:41 -07:00
Dalton Hubble
721e6dc0ff examples/ignition: Add -xe to bash scripts 2016-07-11 10:50:12 -07:00
Dalton Hubble
40078a57e9 Merge pull request #260 from coreos/kubernetes-fixes
Fix Kubernetes v1.2.4 clusters (static manifest variant)
2016-07-09 13:39:40 -07:00
Dalton Hubble
c2d564a1ce Documentation: Minor updates to getting started 2016-07-08 23:27:18 -07:00
Dalton Hubble
134ea88d72 examples/k8s: Run etcd on controller, proxies on workers
* Update the etcd topology in the k8s and k8s-install static
manifest clusters to mirror the self-hosted Kubernetes setup
2016-07-08 22:34:59 -07:00
Dalton Hubble
446d44a220 examples/k8s: Mount /etc/resolv.conf into kubelet
* Kubelet must be able to resolve DNS names which are
known to the host
* Fixes a bug in which only IP's could be used for
k8s_controller_endpoint metadata
2016-07-08 22:21:03 -07:00
Dalton Hubble
76da59c504 examples/k8s: Remove fleet from Kubernetes nodes
* fleet is not a requirement, let's keep it simple
2016-07-08 22:17:42 -07:00
Dalton Hubble
9dc256abd2 Merge pull request #258 from coreos/makefile
Makefile: Add order-only prerequisite
2016-07-07 13:18:51 -07:00
Dalton Hubble
482cecf155 Makefile: Add order-only prerequisite 2016-07-07 12:29:27 -07:00
Dalton Hubble
7a6ffc1e48 Merge pull request #257 from coreos/example-updates
Updates to example clusters and scripts
2016-07-06 17:36:53 -07:00
Dalton Hubble
c057695a3f examples/bootkube: Update host Kubelet to work-around dep failure
* Upstream systemd issue: github.com/systemd/systemd/issues/1312
* Units which fail due to unmet dependencies are not restarted
as they would be upon failure. Kubelet should keep trying until
flanneld is active.
* Apply the recommended work-around by adding an ExecStart
which checks for a Wanted dependency and purposefully fails
when unmet in order to force a restart to keep trying.
2016-07-06 01:52:28 -07:00
Dalton Hubble
b039a7dda9 build-docker,push-docker: Remove deprecated tag -f flag 2016-07-06 01:14:47 -07:00
Dalton Hubble
813255d4fb examples/torus: Bump etcd to v3.0.1 and torus to v0.1.1 2016-07-06 00:09:02 -07:00
Dalton Hubble
068cbf6da4 scripts: Remove unused libvirt UUID assignments 2016-07-05 23:47:39 -07:00
Dalton Hubble
c20ea43f0a scripts: Remove rkt-gc-force script
* Cleanup script no longer required with rkt 1.8+
* Discussion in #208
2016-07-05 23:45:18 -07:00
Dalton Hubble
f22cbf02b6 Merge pull request #246 from coreos/fuze-configs
Upgrade from Ignition v1 to 2.0.0 and Fuze
2016-07-05 16:10:33 -07:00
Dalton Hubble
22a03bde00 *: Update CHANGES.md and documentation for Fuze 2016-07-05 14:15:31 -07:00
Dalton Hubble
519b56e296 Documentation: Show latest bootcfg examples, remove v0.3.0 2016-07-05 10:54:18 -07:00
Dalton Hubble
62e0ec1976 bootcfg/http/ignition: Just warn for raw Ignition errors
* When raw Ignition (.ign/.ignition) content is provided, Parse
the contents with ignition, but return the contents as JSON
regardless of the result to respect user pass-through expectations
* Warn on parse errors which can occur if a newer Ignition format
is used than the version of Ignition that bootcfg was compiled
with
2016-07-05 10:46:32 -07:00