Commit Graph

112 Commits

Author SHA1 Message Date
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
Dalton Hubble
88a43b1170 examples/bootkube: Setup bootkube cluster via on-host bootkube
* bootkube clusters work with bootkube 5c1efe3ac61e270
* Copy bootkube generated assets and executable to any master
* Change hosts to use kubelet client certificate instead of token
* Update bootkube deployment documentation
2016-05-19 15:23:54 -07:00
Dalton Hubble
ce88b94b9f examples/k8s: Update k8s to v1.2.4_coreos.1
* Add missing kubernetes.default.svc alt names to openssl config
2016-05-16 14:59:10 -07:00
Dalton Hubble
2c7c92b07e examples/etcd: Enable etcd strict reconfig check
* Don't allow etcd clusters to reconfigure themselves
to lose quorum
2016-05-11 16:23:30 -07:00
Dalton Hubble
6211d2d390 example: Revert ssh Ignition config change
* Users try to use the latest reference example clusters with
a bootcfg v0.3.0 deployment, which did not yet support Ignition
2.0.0. Wait until closer to v0.4.0 to bump Ignition configs.
2016-05-10 14:31:20 -07:00
Dalton Hubble
682bb72dde bootcfg/http: Allow Ignition 2.0.0 YAML
* Ignition 2.0.0 became available in CoreOS 1010.1.0
2016-05-05 14:59:15 -07:00
Dalton Hubble
f607f61b8a examples/profiles/k8s: Update k8s cluster to v1.2.3 2016-05-04 11:54:27 -07:00
Dalton Hubble
20effb017d examples: Update CoreOS version to alpha 1032.0.0 2016-05-04 10:45:45 -07:00
Dalton Hubble
166beb0093 Remove 8.8.8.8 from networkd example configs
* Profiles should use only the user-provided DNS endpoint.
Adding 8.8.8.8 can cause inconsistent resolution and in some
setups, 8.8.8.8 is not routable.
2016-05-04 00:06:43 -07:00
Dalton Hubble
c2c29bb7ff examples/k8s: Remove k8s_version from machine metadata
* Setting k8s_version via metadata gives the impression
it can be bumped and the cluster will operate with the
desired version. In reality, the k8s profiles change in
minor but important ways which we validate between k8s
releases. It should be part of the k8s profile Ignition.
2016-05-03 15:54:46 -07:00
Dalton Hubble
f615240b4f examples/groups/k8s: Fix DNS resolution in pods
* k8s worker nodes were provisioned with a typo'd DNS service
IP address (10.3.0.1 instead of 10.3.0.10) which caused DNS to
be misconfigured in pods
2016-05-01 23:57:00 -07:00
Dalton Hubble
86af1447bf docs: Add Kubernetes tutorial to separate document 2016-04-29 14:36:55 -07:00
Dalton Hubble
dc77940c48 examples: Add Self-hosted Kubernetes cluster example
* Use CoreOS bootkube tool to start control plane pods
2016-04-26 14:15:53 -07:00
Dalton Hubble
cc4e6e1008 examples: Upgrade k8s from v1.2.0 to v1.2.2
* Change Heapster from a rc to a deployment
* Use the heapster-nanny resizer
2016-04-18 17:01:02 -07:00
Dalton Hubble
c30862dbad examples/ignition: Fix k8s-certs@.service file check
* In the k8s-install example, the k8s-certs@.service checks for
the wrong file and always attempts to curl TLS assets from bootcfg.
After restarts or auto-updates, if bootcfg is not running, the certs
are present on disk so the kubelet and k8s cluster operate normally,
while k8s-certs services fail (mostly harmless).
* Fixes k8s-certs@service failures after restarts when bootcfg is
unavailable. Provisioned nodes should not have a hard dependency on
bootcfg service.
2016-04-18 14:53:08 -07:00
Dalton Hubble
06d64cf998 Documentation,examples: Update GRUB netboot docs
* Bump pxe, pxe-disk, and grub examples from CoreOS
Alpha 962.0.0 to 983.0.0
2016-04-14 12:54:42 -07:00
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