-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Silvio Moioli <[email protected]>
- Loading branch information
Showing
32 changed files
with
487 additions
and
1,649 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
# Deploys Rancher and prepares it for performance tests | ||
|
||
tofu_main_directory: ./tofu/main/harvester | ||
tofu_parallelism: 100 # Harvester tolerates high values well | ||
|
||
tofu_variables: | ||
project_name: st | ||
namespace: default | ||
|
||
# Add the path to your Harvester kubeconfig. Get one with these instructions: | ||
# https://docs.harvesterhci.io/v1.3/faq/#how-can-i-access-the-kubeconfig-file-of-the-harvester-cluster | ||
kubeconfig: null # default to file pointed by the KUBECONFIG environment variable | ||
|
||
ssh_public_key_path: ~/.ssh/id_ed25519.pub | ||
ssh_private_key_path: ~/.ssh/id_ed25519 | ||
ssh_user: opensuse | ||
|
||
# Must set the following bastion vars appropriately if there is a bastion between you and Harvester | ||
# ssh_bastion_user: root | ||
# ssh_bastion_host: # Must set this appropriately if there is a bastion between you and Harvester | ||
# ssh_bastion_key_path: ~/.ssh/bastion_id_ed25519 # Must set this appropriately if there is a bastion between you and Harvester | ||
|
||
# Set to false to skip the creation of the openSUSE Leap 15.6 image | ||
create_image: true | ||
|
||
network: | ||
create: false | ||
name: vmnet-shared | ||
clusternetwork_name: vmnet | ||
namespace: default | ||
interface_type: bridge | ||
interface_model: virtio | ||
public: true | ||
wait_for_lease: true | ||
|
||
upstream_cluster: | ||
server_count: 3 | ||
agent_count: 0 | ||
distro_version: v1.26.9+k3s1 | ||
public_ip: false | ||
reserve_node_for_monitoring: false | ||
enable_audit_log: false | ||
node_module_variables: | ||
cpu: 2 | ||
memory: 8 | ||
disks: | ||
- name: "disk-0" | ||
size: 35 | ||
type: "disk" | ||
bus: "virtio" | ||
image_name: null # openSUSE Leap 15.6. Change to a valid Harvester image name to override | ||
image_namespace: null # default to the same namespace above | ||
# ssh_shared_public_keys: # Set this to a shared key that exists inside of Harvester if desired | ||
# - name: bullseye-qa | ||
# namespace: bullseye | ||
# password: linux # Non-SSH password | ||
upstream_cluster_distro_module: generic/k3s | ||
|
||
tester_cluster: | ||
server_count: 1 | ||
agent_count: 0 | ||
distro_version: v1.26.9+k3s1 | ||
public_ip: false | ||
reserve_node_for_monitoring: false | ||
enable_audit_log: false | ||
node_module_variables: | ||
cpu: 2 | ||
memory: 4 | ||
disks: | ||
- name: "disk-0" | ||
size: 35 | ||
type: "disk" | ||
bus: "virtio" | ||
image_name: null # openSUSE Leap 15.6. Change to a valid Harvester image name to override | ||
image_namespace: null # default to the same namespace above | ||
tester_cluster_distro_module: generic/k3s | ||
|
||
downstream_cluster_templates: | ||
- cluster_count: 0 | ||
server_count: 1 | ||
agent_count: 0 | ||
distro_version: v1.26.9+k3s1 | ||
public_ip: false | ||
reserve_node_for_monitoring: false | ||
enable_audit_log: false | ||
node_module_variables: | ||
cpu: 2 | ||
memory: 8 | ||
disks: | ||
- name: "disk-0" | ||
size: 35 | ||
type: "disk" | ||
bus: "virtio" | ||
image_name: null # openSUSE Leap 15.6. Change to a valid Harvester image name to override | ||
image_namespace: null # default to the same namespace above | ||
downstream_cluster_distro_module: generic/k3s | ||
|
||
first_kubernetes_api_port: 7445 | ||
first_app_http_port: 9080 | ||
first_app_https_port: 9443 | ||
|
||
chart_variables: | ||
rancher_replicas: 1 | ||
downstream_rancher_monitoring: true | ||
admin_password: adminadminadmin | ||
rancher_monitoring_version: 104.1.0+up57.0.3 # see https://github.com/rancher/charts/tree/release-v2.9/assets/rancher-monitoring-crd | ||
cert_manager_version: 1.8.0 | ||
tester_grafana_version: 6.56.5 | ||
rancher_version: 2.9.1 | ||
force_prime_registry: false | ||
|
||
# Use the following for 2.8.6: | ||
# rancher_version: 2.8.6 | ||
# rancher_monitoring_version: 103.1.1+up45.31.1 # see https://github.com/rancher/charts/tree/release-v2.8/assets/rancher-monitoring-crd | ||
|
||
# Add the following to set a custom image: | ||
# rancher_image_override: rancher/rancher | ||
# rancher_image_tag_override: v2.8.6-debug-1 | ||
|
||
test_variables: | ||
test_config_maps: 2000 | ||
test_secrets: 2000 | ||
test_roles: 20 | ||
test_users: 10 | ||
test_projects: 20 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.