File tree Expand file tree Collapse file tree 6 files changed +11
-8
lines changed Expand file tree Collapse file tree 6 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,7 @@ control-plane: control-plane-bake env
30
30
31
31
.PHONY : partition-bake
32
32
partition-bake :
33
- ifeq (,$(wildcard ./.vagrant_version_host_system) )
34
33
@vagrant version | grep " Installed Version" | cut -d: -f 2 | tr -d ' [:space:]' > .vagrant_version_host_system
35
- endif
36
34
vagrant up
37
35
38
36
.PHONY : partition
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ This project can also be used as a template for writing your own metal-stack dep
21
21
## Requirements
22
22
23
23
- Linux machine with hardware virtualization support
24
- - [ Vagrant] ( https://www.vagrantup.com/ ) == 2.2.9 with vagrant-libvirt plugin >= 0.1.2 (for running the switch and machine VMs)
24
+ - [ Vagrant] ( https://www.vagrantup.com/ ) == 2.2.14 with vagrant-libvirt plugin >= 0.3.0 (for running the switch and machine VMs)
25
25
- kvm as hypervisor for the VMs
26
26
- Ubuntu 20.04:
27
27
28
28
sudo apt install -y qemu qemu-kvm libvirt-daemon bridge-utils virtinst libvirt-dev
29
29
30
30
- [ docker] ( https://www.docker.com/ ) >= 18.09 (for using kind and our deployment base image)
31
31
- [ docker-compose] ( https://docs.docker.com/compose/ ) >= 1.25.4 (for ease of use and for parallelizing control plane and partition deployment)
32
- - [ kind] ( https://github.com/kubernetes-sigs/kind/releases ) == v0.8.1 (for hosting the metal control plane on a kubernetes cluster v1.18.2 )
32
+ - [ kind] ( https://github.com/kubernetes-sigs/kind/releases ) == v0.9.0 (for hosting the metal control plane on a kubernetes cluster v1.19.1 )
33
33
- [ ovmf] ( https://wiki.ubuntu.com/UEFI/OVMF ) to have a uefi firmware for virtual machines
34
34
- the lab creates a virtual network 192.168.121.0/24 on your host machine, this hopefully does not overlap with other networks you have
35
35
- (recommended) haveged to have enough random entropy (only needed if the PXE process does not work)
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ services:
14
14
# - ${HOME}/.ansible/roles/ansible-common:/root/.ansible/roles/ansible-common:ro
15
15
# - ${HOME}/.ansible/roles/metal-roles:/root/.ansible/roles/metal-roles:ro
16
16
# - ${HOME}/.ansible/roles/metal-ansible-modules:/root/.ansible/roles/metal-ansible-modules:ro
17
+ # - ${HOME}/git/github.com/metal-stack/helm-charts:/helm-charts:ro
17
18
environment :
18
19
- ANSIBLE_CONFIG=/mini-lab/ansible.cfg
19
20
- KUBECONFIG=/mini-lab/.kubeconfig
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ yq_shell() {
9
9
METAL_STACK_RELEASE_VERSION=$( yq_shell " yq r inventories/group_vars/all/images.yaml 'metal_stack_release_version'" )
10
10
RELEASE_YAML=$( curl -s https://raw.githubusercontent.com/metal-stack/releases/${METAL_STACK_RELEASE_VERSION} /release.yaml)
11
11
METALCTL_IMAGE_TAG=$( yq_shell " echo \" ${RELEASE_YAML} \" | yq r - docker-images.metal-stack.control-plane.metalctl.tag" )
12
- DEPLOYMENT_BASE_IMAGE_TAG=$( yq_shell " echo \" ${RELEASE_YAML} \" | yq r - docker-images.metal-stack.generic.deployment-base.tag" )
12
+ DEPLOYMENT_BASE_IMAGE_TAG=$( yq_shell " echo \" ${RELEASE_YAML} \" | yq r - docker-images.metal-stack.generic.deployment-base.tag" ) -vagrant
13
13
14
14
cat << EOF > .env
15
15
METALCTL_IMAGE_TAG=${METALCTL_IMAGE_TAG}
Original file line number Diff line number Diff line change 1
- metal_stack_release_version : v0.4.1
1
+ ---
2
+ # FIXME: has to be pinned to next metal-stack version before next release
3
+ metal_stack_release_version : develop
Original file line number Diff line number Diff line change 2
2
metal_set_resource_limits : no
3
3
metal_check_api_health_endpoint : http://api.0.0.0.0.xip.io:8080/metal/v1/health
4
4
5
+ # metal_helm_chart_local_path: /helm-charts/charts/metal-control-plane
6
+
5
7
metal_api_replicas : 1
6
8
metal_api_view_key : metal-view
7
9
metal_api_edit_key : metal-edit
@@ -13,13 +15,13 @@ metal_api_images:
13
15
- id : firewall-ubuntu-2.0.20201126
14
16
name : Firewall 2 Ubuntu 20201126
15
17
description : Firewall 2 Ubuntu 20201126
16
- url : http ://images.metal-stack.io/metal-os/master/firewall/2.0-ubuntu/20201126/img.tar.lz4
18
+ url : https ://images.metal-stack.io/metal-os/master/firewall/2.0-ubuntu/20201126/img.tar.lz4
17
19
features :
18
20
- firewall
19
21
- id : ubuntu-20.04.20201126
20
22
name : Ubuntu 20.04 20201126
21
23
description : Ubuntu 20.04 20201126
22
- url : http ://images.metal-stack.io/metal-os/master/ubuntu/20.04/20201126/img.tar.lz4
24
+ url : https ://images.metal-stack.io/metal-os/master/ubuntu/20.04/20201126/img.tar.lz4
23
25
features :
24
26
- machine
25
27
You can’t perform that action at this time.
0 commit comments