mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
examples: Update CoreOS version to alpha 1032.0.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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`).
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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}",
|
||||
|
||||
@@ -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}",
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
@@ -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}",
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
@@ -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}",
|
||||
|
||||
@@ -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}",
|
||||
|
||||
@@ -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": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 }}'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user