Commit Graph

52 Commits

Author SHA1 Message Date
Dalton Hubble
fa14cf8c9c Add bootkube cluster bring-up to smoke tests 2017-03-02 01:32:34 -08:00
Dalton Hubble
8fd4bea89b examples: Update bootkube to v0.3.7 and etcd3 2017-02-17 18:36:12 -08:00
Dalton Hubble
dabf0eae54 examples: Remove etcd (i.e. etcd2) cluster examples 2017-02-17 15:21:12 -08:00
Dalton Hubble
e02f8f7a9e examples: Update etcd3 (etcd-member) and use the etcd3 gateway 2017-02-17 15:10:37 -08:00
Dalton Hubble
189f790a7e examples: Remove torus example cluster 2017-02-13 16:39:16 -08:00
Dalton Hubble
0419b2f327 Bump CoreOS image from 1185.3.0 to 1235.9.0 2017-02-13 15:44:06 -08:00
Dalton Hubble
e024a6b7b0 examples: Update Kubernetes clusters to v1.5.2
* Update bootkube to v0.3.5 binary
2017-01-29 17:37:19 -08:00
Dalton Hubble
d496192032 Rename bootcfg to matchbox in docs, examples, scripts
* Verify all examples and docs work correctly
* Exclude contrib k8s and systemd which will be updated
and verified in a followup commit
2017-01-09 04:32:45 -08:00
Dalton Hubble
b9f0f61bd5 examples: Upgrade self-hosted Kubernetes to v1.5.1
* Update bootkube version to stop requiring the forked
binary; bootkube now allows DNS names
* https://github.com/kubernetes-incubator/bootkube/pull/151
2016-12-30 16:27:53 -08:00
Dalton Hubble
6963994942 examples: Update static Kubernetes clusters to v1.4.7
* Combine rktnetes Ignition into Kubernetes static cluster
* Set the container_runtime metadata to docker or rkt
2016-12-17 17:07:56 -08:00
Dalton Hubble
002412df2e Documentation: Use /etc/hosts node names in docs 2016-11-20 01:05:44 -08:00
Dalton Hubble
d5c5dde2e4 docs,examples: Update CoreOS to stable 1185.3.0 2016-11-19 23:09:58 -08:00
Dalton Hubble
fb2ab2a5d9 examples: Update all examples to CoreOS Beta 1185.1.0 2016-10-16 16:25:26 -07:00
Dalton Hubble
f3cb1db4bc examples: Fix etcd and etcd3 proxy references 2016-10-16 15:38:11 -07:00
Dalton Hubble
6692148b87 examples: Update self-hosted Kubernetes to v1.4.0
* Render with dghubble/bootkube fork which supports DNS
* Start with bootkube v0.2.0 with rkt
* Update on-host hyperkube to v1.4.0_coreos.0
2016-10-12 02:37:56 -07:00
Dalton Hubble
82c2ec62d1 examples/rktnetes: Update to CoreOS Beta 1185.1.0
* rkt v1.14.0 is needed for rktnetes
2016-10-10 17:14:58 -07:00
Dalton Hubble
bd131fc60d examples: Remove unneeded k8s-*-install profiles
* Use the same k8s-controller and k8s-worker profiles
whether booting a live cluster or installing to disk
* Exta root=/dev/sda kernel arg during install is fine
2016-09-17 21:07:45 -07:00
Dalton Hubble
14c1a37e71 examples: Replace pxe/pxe-disk with simple/simple-install
* simple example just network boots CoreOS machines
* simple-install example just network boots and installs CoreOS
* Simple examples don't do much provisioning, except adding pubkeys
2016-09-17 15:16:31 -07:00
Dalton Hubble
94db98d854 *: Rename k8s-master to k8s-controller 2016-09-09 11:16:56 -07:00
Dalton Hubble
9c241ad384 examples: Add rknetes-install example cluster
* Add reference cluster which installs CoreOS and
provisions Kubernetes with rkt as the container
runtime
2016-08-30 10:55:57 -07:00
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
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
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
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
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
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
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
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
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
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
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
20effb017d examples: Update CoreOS version to alpha 1032.0.0 2016-05-04 10:45:45 -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
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
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
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
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