Commit Graph

134 Commits

Author SHA1 Message Date
Dalton Hubble
dbbbc228b5 examples: Update example clusters to CoreOS 1153.0.0
* CoreOS 1153.0.0 adds rkt 1.13.0 which should resolve a
docker2aci bug in rktnetes observed with rkt 1.11.0
* https://github.com/coreos/rkt/pull/3026
2016-08-30 00:28:33 -07:00
Dalton Hubble
5342e28754 examples: Run Torus' etcd3 with rkt
* Bump etcd3 version to 3.0.6
2016-08-27 15:10:52 -07:00
Dalton Hubble
87d41c1a7f examples/rktnetes: Use EnvironmentFile to configure cni
* Docker v1.12 dockerd fails if given the daemon argument
* Applies https://github.com/coreos/coreos-kubernetes/pull/642
2016-08-26 15:04:49 -07:00
Dalton Hubble
90d9ca588a examples/rktnetes: Update to CoreOS 1151.0.0
* Resolves several docker2aci bugs in rkt 1.11.0
https://github.com/coreos/rkt/pull/3026
* Install to disk (rktnetes-install) is not yet working
https://github.com/coreos/bugs/issues/1541
2016-08-26 14:42:48 -07:00
Dalton Hubble
54a16ffda4 examples: Use universal root filesystem
* Use the "root" filesystem from the Ignition universal
base config (path /sysroot)
* No need for custom named filesystem anymore
2016-08-25 14:18:07 -07:00
Dalton Hubble
128f5d9b36 examples: Add etcd3-install cluster
* etcd3-install installs CoreOS to disk and sets
up a 3-node etcd3 cluster
* Additional machines are setup as etcd3 proxies
2016-08-25 11:52:28 -07:00
Dalton Hubble
6ff16e0813 examples/ignition/etcd3: Use notify service type 2016-08-25 11:52:28 -07:00
Dalton Hubble
9d35698b9b examples/groups/bootkube-install: Replace IPs with DNS names 2016-08-25 01:07:49 -07:00
Dalton Hubble
e194bf0355 examples/bootkube: Use DNS names for self-hosted Kubernetes
* Self-hosted Kuberntes api-server comes up without a hostname
override and detects the hostname it should use from `uname -n`
* kube-apiserver name must correspond to routable kubelet
hostname-override
* Provision /etc/hostname with the FQDN so `uname -n` can be
used by Kubernetes (until NODE_NAME is avail. in k8s 1.4)
2016-08-25 00:42:08 -07:00
Dalton Hubble
747245c2f8 examples: Update self-hosted Kubernetes to v1.3.4
* Use bootkube v0.1.4 for self-hosted bootstrapping
2016-08-17 16:51:24 -07:00
Dalton Hubble
28c95f3255 Add etcd3 example cluster with rkt 2016-08-16 11:41:53 -07:00
Dalton Hubble
e179256194 examples: Add Kubernetes with rkt runtime
* Add an example Kubernetes cluster with rkt as the container
runtime, CoreOS 1122.0.0, and rkt 1.11.0 (i.e. rktnetes)
2016-08-16 10:08:22 -07:00
Dalton Hubble
0a486cb991 examples/etc/bootcfg/cert-gen: Improve cert-gen usability
* Print helpful message if SAN is unset
* Don't prompt to sign certs, false illusion of choice. Users
running cert-gen need self-signed certs.
* Remove intermediate cert signing requests
* Decrease the scariness of the self-signed warnings
2016-08-12 14:33:04 -07:00
Dalton Hubble
183285a03b examples: Bump k8s version to v1.3.4_coreos.0 2016-08-04 15:23:19 -07:00
Chance Zibolski
8705f78aee examples: Update kubelet.service to mount /var/log in rkt 2016-08-04 00:53:14 -07:00
Dalton Hubble
4d46848417 examples/torus: Use DNS names for Torus cluster
* Change `torusblk volume create` to `torusctl block create`
2016-07-26 14:52:58 -07:00
Dalton Hubble
dc5b3e24e5 examples/k8s: Use DNS names in Kubernetes clusters
* Use DNS names to refer to nodes to mirror production
2016-07-26 14:41:03 -07:00
Dalton Hubble
ed0f54da27 examples/etcd: Use DNS names in etcd clusters, no IPs
* Use DNS names to refer to nodes in etcd examples to mirror
production
* Add dnsmasq.conf files for metal0 (rkt) and docker0 examples
which include static MAC->IP and Name->IP mappings
* Remove the etcd-docker example cluster, no longer needed
2016-07-25 12:03:26 -07:00
Dalton Hubble
dcfc6dae96 examples/bootkube: Update from bootkube v0.1.1 to v0.1.2
* Update self-hosted Kubernetes cluster example to use bootkube
v0.1.2.
* Bump Kubernetes from v1.3.0-beta.2_coreos.0 to v1.3.0_coreos.1
2016-07-21 16:54:40 -07:00
Dalton Hubble
0e4a809600 examples: Bump CoreOS Alpha from 1053.2.0 to 1109.1.0
* Clusters which install to disk auto-update so this bump just
changes the "starting" version. Deployed alpha clusters should
already be using 1109.1.0.
2016-07-21 14:48:44 -07:00
Dalton Hubble
d8f3ceafbe Documentation,CHANGES.md: Update docs for v0.4.0 2016-07-20 14:35:54 -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
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
94877692e7 examples/ignition: Add missing -xe to install scripts 2016-07-11 16:03:17 -07:00
Dalton Hubble
cb579834ac examples/ignition: Separate installer script 2016-07-11 14:08:58 -07:00
Dalton Hubble
721e6dc0ff examples/ignition: Add -xe to bash scripts 2016-07-11 10:50:12 -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
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
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
22a03bde00 *: Update CHANGES.md and documentation for Fuze 2016-07-05 14:15:31 -07:00
Dalton Hubble
c27f6ad50d examples: Upgrade Ignition YAML to Fuze YAML
* With this change, reference clusters will be provisioned
by Ignition 2.0.0. Ignition v1 is no longer supported.
2016-07-05 10:46:32 -07:00
Dalton Hubble
af8cb37089 examples/bootkube: Upgrade from bootkube v0.1 to v0.1.1
* Upgrade the self-hosted Kubernetes cluster example to
use bootkube v0.1.1 which supports apiserver checkpointing
in order to tolerate apiserver downtime (e.g. controller
reboot)
* Bumps Kubernetes version to v1.3.0-beta.2
* Re-enable CoreOS auto-updates
2016-06-28 11:49:02 -07:00
Dalton Hubble
871b5a1142 scripts: Improve scripts for use in releases
* Minor documentation tweaks
2016-06-21 15:07:32 -07:00
Dalton Hubble
b2fe4bedd0 examples/bootkube: Disable auto-updates on bootkube cluster 2016-06-16 14:44:02 -07:00
Dalton Hubble
a347f2acee examples/bootkube: Wrap quay.io/coreos/bootkube
* Users no longer need to scp a bootkube binary
2016-06-16 14:09:52 -07:00
Dalton Hubble
f70cbe431f examples/bootkube: Mount /etc/resolv.conf into host kubelet
* Containers must be able to resolve network DNS names,
cannot default to 8.8.8.8
2016-06-15 10:46:04 -07:00
Dalton Hubble
285127daef examples/bootkube: Update self-hosted Kubernetes deployment
* scp kubeconfig to hosts rather than insecurely distributing
credentials within Ignition configs. This is also easier than
copy-pasting k8s secrets into machine metadata (slow).
* Self-hosted Kubernetes machine configurations can be versioned
without containing Kubernetes credentials
* Use path-based activiation for the host kubelet
* Update from Kubernetes v1.2.2 to v1.3.0-alpha.5_coreos.0.
* Update host kubelet flags accordingly
2016-06-15 10:46:04 -07:00
Dalton Hubble
c0d679ac44 bootcfg/examples: Add example gRPC TLS generation
* Add script to create fake TLS credentials for running the
bootcfg gRPC API examples
2016-06-09 17:02:11 -07:00
Dalton Hubble
98c6c26e26 Documentation/torus.md: Add Torus cluster tutorial
* Add a tutorial to network boot and provision a Torus
CoreOS cluster for libvirt VMs or physical machines
2016-06-09 10:30:32 -07:00
Dalton Hubble
368ff381fe examples: Add Torus cluster on etcd3 2016-06-09 10:26:05 -07:00
Dalton Hubble
5d138935e9 examples: Use coreos-install baseurl
* Examples which install CoreOS to disk should reference
a CoreOS install image from bootcfg assets to speed up
installs and improve the offline use-case
* Update scripts/get-coreos to download and verify the
CoreOS install image
2016-06-02 15:47:09 -07:00
Dalton Hubble
ec2e5d8101 examples: Optionally skip networkd configuration
* Example clusters can use a pre-configured DHCP server
for network setup rather than provisioning hosts with a
networkd config
2016-05-31 10:27:34 -07:00
Dalton Hubble
f878364ba1 examples: Update CoreOS version to 1053.2.0
* Update CoreOS version to get rkt 1.2.1->1.6.0 improvements
for running the kubelet wrapper in Kubernetes clusters
* Update CoreOS version for other clusters so users only need
to download one cached version of assets to run examples
2016-05-26 12:08:27 -07:00
Dalton Hubble
ba1beec39b examples/k8s: Update apiserver admission-control
* Update to k8s 1.2.0 recommended admission-control settings:
NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota
* Improves conformance test (#71) results
2016-05-25 22:19:46 -07:00
Dalton Hubble
3d27e7f051 bootcfg/http: Error for missing template metadata
* Rendering an Ignition config or cloud-config template
with machine group metadata will error and log if a metadata
value is missing.
* Previously, the default missing value was "no value"
2016-05-25 10:55:25 -07:00
Dalton Hubble
b46d16b75b examples: Select by MAC, remove networkd_name metadata
* Match machines by MAC address in examples
* Re-use the MAC address to assign static networkd configs
where needed.
* UUID is useful to uniquely identify a machine (unlike MAC)
but many users had difficulty finding the network device name
to use in static networkd configs. Selecting by MAC reduces
the potential for user error here.
2016-05-24 15:07:40 -07:00