examples: Update CoreOS version to alpha 1032.0.0

This commit is contained in:
Dalton Hubble
2016-05-04 00:24:32 -07:00
parent e035a01f86
commit 20effb017d
22 changed files with 49 additions and 48 deletions

View File

@@ -198,7 +198,7 @@ If you need to serve static assets (e.g. kernel, initrd), `bootcfg` can serve ar
bootcfg.foo/assets/
└── coreos
└── 962.0.0
└── 1032.0.0
├── coreos_production_pxe.vmlinuz
└── coreos_production_pxe_image.cpio.gz
└── 983.0.0

View File

@@ -24,7 +24,7 @@ The examples statically assign IP addresses for client VMs on the `metal0` CNI b
Download the CoreOS PXE image referenced in the target [profile](../examples/profiles).
./scripts/get-coreos alpha 983.0.0
./scripts/get-coreos alpha 1032.0.0
Use the `bootkube` tool to render Kubernetes manifests and credentials into an output directory.

View File

@@ -23,7 +23,7 @@ The examples statically assign IP addresses for client VMs on the `metal0` CNI b
Download the CoreOS PXE image assets referenced in the target [profile](../examples/profiles).
./scripts/get-coreos alpha 983.0.0
./scripts/get-coreos alpha 1032.0.0
Generate a root CA and Kubernetes TLS assets for components (`admin`, `apiserver`, `worker`).

View File

@@ -5,15 +5,15 @@ These examples network boot and provision VMs into CoreOS clusters using `bootcf
| Name | Description | CoreOS Version | FS | Docs |
|------------|-------------|----------------|----|-----------|
| pxe | CoreOS via iPXE | alpha/983.0.0 | RAM | [reference](https://coreos.com/os/docs/latest/booting-with-ipxe.html) |
| grub | CoreOS via GRUB2 Netboot | alpha/983.0.0 | RAM | NA |
| pxe-disk | CoreOS via iPXE, with a root filesystem | alpha/983.0.0 | Disk | [reference](https://coreos.com/os/docs/latest/booting-with-ipxe.html) |
| etcd, etcd-docker | iPXE boot a 3 node etcd cluster and proxy | alpha/983.0.0 | RAM | [reference](https://coreos.com/os/docs/latest/cluster-architectures.html) |
| etcd-install | Install a 3-node etcd cluster to disk | alpha/983.0.0 | Disk | [reference](https://coreos.com/os/docs/latest/installing-to-disk.html) |
| k8s, k8s-docker | Kubernetes cluster with 1 master and 2 workers, TLS-authentication | alpha/983.0.0 | Disk | [tutorial](../Documentation/kubernetes.md) |
| k8s-install | Install a Kubernetes cluster to disk (1 master) | alpha/983.0.0 | Disk | [tutorial](../Documentation/kubernetes.md) |
| bootkube | iPXE boot a self-hosted Kubernetes cluster (with bootkube) | alpha/983.0.0 | Disk | [tutorial](../Documentation/bootkube.md) |
| bootkube-install | Install a self-hosted Kubernetes cluster (with bootkube) | alpha/983.0.0 | Disk | [tutorial](../Documentation/bootkube.md) |
| pxe | CoreOS via iPXE | alpha/1032.0.0 | RAM | [reference](https://coreos.com/os/docs/latest/booting-with-ipxe.html) |
| grub | CoreOS via GRUB2 Netboot | alpha/1032.0.0 | RAM | NA |
| pxe-disk | CoreOS via iPXE, with a root filesystem | alpha/1032.0.0 | Disk | [reference](https://coreos.com/os/docs/latest/booting-with-ipxe.html) |
| etcd, etcd-docker | iPXE boot a 3 node etcd cluster and proxy | alpha/1032.0.0 | RAM | [reference](https://coreos.com/os/docs/latest/cluster-architectures.html) |
| etcd-install | Install a 3-node etcd cluster to disk | alpha/1032.0.0 | Disk | [reference](https://coreos.com/os/docs/latest/installing-to-disk.html) |
| k8s, k8s-docker | Kubernetes cluster with 1 master and 2 workers, TLS-authentication | alpha/1032.0.0 | Disk | [tutorial](../Documentation/kubernetes.md) |
| k8s-install | Install a Kubernetes cluster to disk (1 master) | alpha/1032.0.0 | Disk | [tutorial](../Documentation/kubernetes.md) |
| bootkube | iPXE boot a self-hosted Kubernetes cluster (with bootkube) | alpha/1032.0.0 | Disk | [tutorial](../Documentation/bootkube.md) |
| bootkube-install | Install a self-hosted Kubernetes cluster (with bootkube) | alpha/1032.0.0 | Disk | [tutorial](../Documentation/bootkube.md) |
## Tutorials
@@ -21,8 +21,8 @@ Get started running `bootcfg` on your Linux machine to network boot and provisio
* [bootcfg with rkt](../Documentation/getting-started-rkt.md)
* [bootcfg with Docker](../Documentation/getting-started-docker.md)
* [Kubernetes](../Documentation/kubernetes.md)
* [Self-hosted Kubernetes](../Documentation/bootkube.md)
* [Kubernetes v1.2.2](../Documentation/kubernetes.md)
* [Self-hosted Kubernetes](../Documentation/bootkube.md) (experimental)
## Experimental

View File

@@ -4,7 +4,7 @@
"profile": "install-reboot",
"metadata": {
"coreos_channel": "alpha",
"coreos_version": "983.0.0",
"coreos_version": "1032.0.0",
"ignition_endpoint": "http://bootcfg.foo:8080/ignition"
}
}

View File

@@ -4,7 +4,7 @@
"profile": "install-reboot",
"metadata": {
"coreos_channel": "alpha",
"coreos_version": "983.0.0",
"coreos_version": "1032.0.0",
"ignition_endpoint": "http://bootcfg.foo:8080/ignition"
}
}

View File

@@ -4,7 +4,7 @@
"profile": "install-reboot",
"metadata": {
"coreos_channel": "alpha",
"coreos_version": "983.0.0",
"coreos_version": "1032.0.0",
"ignition_endpoint": "http://bootcfg.foo:8080/ignition"
}
}

View File

@@ -2,8 +2,8 @@
"id": "bootkube-master",
"name": "bootkube Ready Master",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"root": "/dev/sda1",
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",

View File

@@ -2,8 +2,8 @@
"id": "bootkube-worker",
"name": "bootkube Ready Worker",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"root": "/dev/sda1",
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",

View File

@@ -2,8 +2,8 @@
"id": "etcd-proxy",
"name": "etcd-proxy",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",
"coreos.autologin": "",

View File

@@ -2,8 +2,8 @@
"id": "etcd",
"name": "etcd",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",
"coreos.autologin": "",

View File

@@ -2,8 +2,8 @@
"id": "grub",
"name": "CoreOS via GRUB2",
"boot": {
"kernel": "(http;bootcfg.foo:8080)/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["(http;bootcfg.foo:8080)/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "(http;bootcfg.foo:8080)/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["(http;bootcfg.foo:8080)/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"coreos.config.url": "http://bootcfg.foo:8080/ignition",
"coreos.autologin": "",

View File

@@ -2,8 +2,8 @@
"id": "install-reboot",
"name": "Install CoreOS and Reboot",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",
"coreos.autologin": "",

View File

@@ -2,8 +2,8 @@
"id": "install-shutdown",
"name": "Install CoreOS and Shutdown",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",
"coreos.autologin": "",

View File

@@ -2,8 +2,8 @@
"id": "k8s-master-install",
"name": "Kubernetes Master Install",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",
"coreos.autologin": "",

View File

@@ -2,8 +2,8 @@
"id": "k8s-master",
"name": "Kubernetes Master",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"root": "/dev/sda1",
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",

View File

@@ -2,8 +2,8 @@
"id": "k8s-worker-install",
"name": "Kubernetes Worker Install",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",
"coreos.autologin": "",

View File

@@ -2,8 +2,8 @@
"id": "k8s-worker",
"name": "Kubernetes Worker",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"root": "/dev/sda1",
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",

View File

@@ -2,8 +2,8 @@
"id": "pxe-disk",
"name": "CoreOS with SSH",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"root": "/dev/sda1",
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",

View File

@@ -3,13 +3,11 @@
"name": "CoreOS with SSH",
"ignition_id": "ssh.yaml",
"boot": {
"kernel": "/assets/coreos/983.0.0/coreos_production_pxe.vmlinuz",
"initrd": [
"/assets/coreos/983.0.0/coreos_production_pxe_image.cpio.gz"
],
"kernel": "/assets/coreos/1032.0.0/coreos_production_pxe.vmlinuz",
"initrd": ["/assets/coreos/1032.0.0/coreos_production_pxe_image.cpio.gz"],
"cmdline": {
"coreos.autologin": "",
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}\u0026mac=${net0/mac:hexhyp}",
"coreos.config.url": "http://bootcfg.foo:8080/ignition?uuid=${uuid}&mac=${net0/mac:hexhyp}",
"coreos.first_boot": ""
}
}

View File

@@ -3,9 +3,9 @@
# USAGE: ./scripts/get-coreos channel version
CHANNEL=${1:-"alpha"}
VERSION=${2:-"983.0.0"}
VERSION=${2:-"1032.0.0"}
DEST=${PWD}/examples/assets/coreos/$VERSION
BASE_URL=http://$CHANNEL.release.core-os.net/amd64-usr/$VERSION
BASE_URL=https://$CHANNEL.release.core-os.net/amd64-usr/$VERSION
# check channel/version exist based on the header response
curl -s -I $BASE_URL/coreos_production_pxe.vmlinuz | awk '/200/ {found++} /301/ {found++} END { if (found<1) { print "Channel or Version not found"; exit 1 }}'

View File

@@ -75,6 +75,9 @@ function poweroff {
}
function destroy {
for node in ${nodes[@]}; do
virsh destroy $node
done
for node in ${nodes[@]}; do
virsh undefine $node
done