Add retries;Increase ova cpu sizing;Replace deployment options
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-12-23 21:49:15 +01:00
parent 5c68b87d67
commit 4b5acf5e95
3 changed files with 41 additions and 21 deletions

View File

@ -35,9 +35,13 @@
docker-archive:./{{ item | basename }} | \
jq -r '.Tags[0]')
chdir: /opt/metacluster/container-images/
register: push_result
loop: "{{ query('ansible.builtin.fileglob', '/opt/metacluster/container-images/*.tar') | sort }}"
loop_control:
label: "{{ item | basename }}"
retries: 5
delay: 10
until: push_result is not failed
- name: Get all stored container images (=artifacts)
ansible.builtin.uri:

View File

@ -33,7 +33,7 @@ source "vsphere-iso" "k8sbootstrap" {
ssh_handshake_attempts = "100"
ssh_pty = true
CPUs = 2
CPUs = 4
RAM = 8192
network_adapters {

View File

@ -1,18 +1,12 @@
DeploymentConfigurations:
- Id: small
Label: 'Ubuntu Server 22.04 [SMALL: 2 vCPU/4GB RAM]'
Description: Ubuntu Server 22.04.x
Size:
CPU: 2
Memory: 4096
- Id: cp1w1
Label: 'Workload-cluster: 1 control-plane node/1 worker node'
Description: 1 control-plane node/1 worker node
- Id: medium
Label: 'Ubuntu Server 22.04 [MEDIUM: 4 vCPU/8GB RAM]'
Description: Ubuntu Server 22.04.x
Size:
CPU: 4
Memory: 8192
- Id: cp1w2
Label: 'Workload-cluster: 1 control-plane node/2 worker nodes'
Description: 1 control-plane node/2 worker nodes
DynamicDisks:
@ -24,14 +18,14 @@ DynamicDisks:
PropertyCategories:
# - Name: 0) Deployment information
# ProductProperties:
# - Key: deployment.type
# Type: string
# Value:
# - small
# - medium
# UserConfigurable: false
- Name: 0) Deployment information
ProductProperties:
- Key: deployment.type
Type: string
Value:
- cp1w1
- cp1w2
UserConfigurable: false
- Name: 1) Meta-cluster
ProductProperties:
@ -127,6 +121,28 @@ PropertyCategories:
Configurations: '*'
UserConfigurable: true
- Key: workloadcluster.controlplane
Type: int
Value: 1
Configurations:
- cp1w1
- cp1w2
UserConfigurable: false
- Key: workloadcluster.workers
Type: int
Value: 1
Configurations:
- cp1w1
UserConfigurable: false
- Key: workloadcluster.workers
Type: int
Value: 2
Configurations:
- cp1w2
UserConfigurable: false
- Name: 3) Common
ProductProperties: