Commit Graph

82 Commits

Author SHA1 Message Date
Dalton Hubble
1394ee4fd8 scripts/devnet: Fix CoreOS download help text 2016-11-28 11:17:31 -08:00
Dmitry Bashkatov
2bdffc7569 scripts/tls: Fix kube-conf for darwin OS type 2016-11-28 11:04:31 -08:00
Dalton Hubble
b492b1a23a Documentation: Change metal0 bridge to 172.18.0.0/24
* Change CIDR from 172.15.0.0/16, which isn't a reserved
private range
* Use a smaller CIDR, /24 is sufficient
2016-11-21 11:01:41 -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
c53062d491 scripts/devnet: Fix devnet to start named examples 2016-10-08 16:26:30 -07:00
Eric Chiang
f0465c0d0b scripts/devnet: print usage if no arguments are provided
Before:

    $ sudo ./scripts/devnet
    ./scripts/devnet: line 20: $1: unbound variable

After:

    $ sudo ./scripts/devnet
    USAGE: devnet <command>
    Commands:
    	create	create bootcfg and PXE services on the bridge
    	destroy	destroy the services on the bridge
2016-09-22 11:04:34 -07:00
Dalton Hubble
32b8a1108d scripts/devnet: Add devnet script to setup PXE/bootcfg 2016-09-19 19:26:55 -07:00
Dalton Hubble
f6aec67eb8 scripts: Add libvirt create subcommand and --os-variant
* Add `scripts/libvirt create` subcommand for rkt setups
* Add --os-variant=generic to remove nag messages to specify
* Rename places QEMU/KVM VMs were called libvirt VMs
2016-09-17 02:39:04 -07:00
Dennis Schridde
d56bf78e58 scripts/get-coreos: Make gpg binary customisable
Distributions like Debian 8 ship a `gpg` (1.4.x) and a `gpg2` (2.1.x) binary,
 which both use the same config files, and thus cannot be used at the same
 time, due to incompatible options. Thus we allow the user to specify which
 gpg binary they want to use.
2016-09-06 14:43:55 -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
ee788bf077 scripts/get-coreos: Use grep -E
* egrep is equivalent, but technically deprecated
2016-08-29 18:29:28 -07:00
Dennis Schridde
75ca3bca90 scripts/get-coreos: Relax version/channel check
Previously this matched very specific HTTP status codes only, while now it
 matches any success or redirection status code. It also works for "HTTP/2"
 answers in addition to "HTTP/2.0".

Fixes: #331
2016-08-27 10:01:50 +02:00
Dalton Hubble
db2ea9704f scripts: Include contrib files in releases 2016-08-12 11:38:41 -07:00
Chance Zibolski
62d269f92f scripts: Move node info into common sourcable scripts 2016-08-12 11:24:26 -07:00
Dalton Hubble
05da923fc3 Makefile, scripts: Add make codegen target
* Get/build protoc and protoc-gen-go binaries under tools
so they do not interfere with any user installations
* Ensure protoc and protoc-gen-go versions are pinned
2016-08-05 12:07:19 -07:00
Justin Garrison
db9141ec1e scripts/tls: Update DNS values
* Fixes #299
2016-08-05 10:58:02 -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
7e04e7ce4f scripts: Don't set GPG trust level of CoreOS public key 2016-07-19 15:05:21 -07:00
Dalton Hubble
02a759a300 Makefile,scripts: Make platform-specific binary tarball targets 2016-07-12 11:26:19 -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
88eed6bc59 Makefile: Add release tarball target 2016-06-28 12:01:54 -07:00
Dalton Hubble
39f5c526ec scripts: Fix get-coreos for curl via HTTP/2.0 2016-06-27 23:17:55 -07:00
Dalton Hubble
871b5a1142 scripts: Improve scripts for use in releases
* Minor documentation tweaks
2016-06-21 15:07:32 -07:00
Ed Rooth
736931d50c scripts: update rkt-gc-force for rkt 1.8.0 2016-06-21 09:56:10 -07:00
Adam Schaub
5bac35cc54 *: Add /generic docs and revert NetBoot protobuf id
* Revert NetBoot id in storage.proto for compatibility
* Add URL.RawQuery to data for generic templates
* Add generic directory to scripts/setup-data-dir
* Add documentation for generic templates.
2016-06-15 11:09:45 -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
5cd35d8606 contrib/systemd: Run bootcfg with bootcfg user/group
* Setup data dir with the bootcfg group
2016-05-17 12:30:26 -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
ef06b87e3a scripts/libvirt: Add MAC addresses for internal purposes 2016-05-11 13:17:23 -07:00
Dalton Hubble
1d608fac59 scripts/libvirt: Add UEFI/GRUB VM setup and notes 2016-05-04 11:38:41 -07:00
Dalton Hubble
20effb017d examples: Update CoreOS version to alpha 1032.0.0 2016-05-04 10:45:45 -07:00
Dalton Hubble
d4afc6ae97 Documentation: Refresh documentation for v0.3.0 2016-04-14 10:18:16 -07:00
Dalton Hubble
4cdcbb1b8b *: Change default FileStore data location to /var/lib/bootcfg
* Change assets download location to examples/assets
* FileStore should default to /var/lib/bootcfg/{profiles,groups,
ignition,cloud}
* Assets location should default to /var/lib/bootcfg/assets
* Fix -rpcAddress flag to be -rpc-address
2016-04-05 18:09:18 -07:00
Dalton Hubble
e4f147b1f2 scripts: Simplify TLS scripts into k8s-certgen and generate kubeconfig
* Remove kubecfg-rkt and kubecfg-docker which used relative paths
2016-03-31 12:54:08 -07:00
Dalton Hubble
ad5f6e0a72 scripts: Fold libvirt delete-disks into node destroy 2016-03-22 10:08:55 -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
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
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
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
5623fa1521 bootcfg/api,config: Rename Spec to Profile 2016-03-15 15:06:22 -07:00
Dalton Hubble
798be8bdb8 bootcfg: Add bootcfg gRPC client and server packages
* Add standalone gRPC binary example
2016-03-04 11:31:33 -08:00
Dalton Hubble
a0cb75041e scripts: Improve message for incorrect CoreOS channel/version 2016-02-25 11:44:44 -08:00
Dalton Hubble
6b330824c5 examples: Partition disk, root fs, and PXE with root fs 2016-02-24 17:04:21 -08:00