mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
demo: Update etcd
- Add prometheus node monitor - Make the hyperkit VMs slightly bigger - Add GCP upload - Use env vars in infrakit startup script Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
846c96384f
commit
c854d58ca4
@ -67,8 +67,18 @@ services:
|
|||||||
- CAP_SETUID
|
- CAP_SETUID
|
||||||
- CAP_SETGID
|
- CAP_SETGID
|
||||||
net: host
|
net: host
|
||||||
|
- name: node_exporter
|
||||||
|
image: "linuxkit/node_exporter:0c7c1588e4cbce9cc946c1a84d3902b38b4b7ada"
|
||||||
|
capabilities:
|
||||||
|
- all
|
||||||
|
net: host
|
||||||
|
pid: host
|
||||||
|
binds:
|
||||||
|
- /proc:/host/proc
|
||||||
|
- /sys:/host/sys
|
||||||
|
- /:/rootfs
|
||||||
- name: etcd
|
- name: etcd
|
||||||
image: "linuxkit/etcd"
|
image: "moby/etcd"
|
||||||
capabilities:
|
capabilities:
|
||||||
- CAP_CHOWN
|
- CAP_CHOWN
|
||||||
- CAP_SETUID
|
- CAP_SETUID
|
||||||
@ -83,4 +93,8 @@ services:
|
|||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
- format: kernel+initrd
|
- format: kernel+initrd
|
||||||
- format: gcp-img
|
- format: gcp
|
||||||
|
project: docker4x
|
||||||
|
bucket: rolf
|
||||||
|
family: moby-demo
|
||||||
|
replace: true
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
"Plugin": "instance-hyperkit",
|
"Plugin": "instance-hyperkit",
|
||||||
"Properties": {
|
"Properties": {
|
||||||
"kernel+initrd": "etcd",
|
"kernel+initrd": "etcd",
|
||||||
"Disk" : 1024,
|
"Disk" : 2048,
|
||||||
"CPUs" : 1,
|
"CPUs" : 1,
|
||||||
"Memory" : 512
|
"Memory" : 1024
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Flavor": {
|
"Flavor": {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
docker build -t linuxkit/etcd .
|
docker build -t moby/etcd .
|
||||||
|
|
||||||
docker build -t etcd.local -f Dockerfile.local .
|
docker build -t etcd.local -f Dockerfile.local .
|
||||||
|
@ -10,7 +10,8 @@ mkdir -p $INFRAKIT_HOME/cli
|
|||||||
|
|
||||||
infrakit-flavor-vanilla &
|
infrakit-flavor-vanilla &
|
||||||
infrakit-instance-hyperkit &
|
infrakit-instance-hyperkit &
|
||||||
infrakit-instance-gcp --project docker4x --zone europe-west1-d &
|
infrakit-instance-gcp --project $CLOUDSDK_CORE_PROJECT --zone $CLOUDSDK_COMPUTE_ZONE &
|
||||||
|
|
||||||
|
|
||||||
# start the group plugin in the foreground. If it exits, it will take
|
# start the group plugin in the foreground. If it exits, it will take
|
||||||
# the others down as well.
|
# the others down as well.
|
||||||
|
Loading…
Reference in New Issue
Block a user