Add retries;Increase ova cpu sizing;Replace deployment options
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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

View File

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