raspbernetes / k8s-cluster-installation

Bootstrap a k8s cluster with Ansible
https://raspbernetes.github.io/
Apache License 2.0
114 stars 32 forks source link

terraform-provider-libvirt aarch64 complete support on Ubuntu 20.10 #117

Closed anthr76 closed 1 year ago

anthr76 commented 3 years ago

Description

Further testing with the terraform-provider-libvirt provider

Checklist

Issue Ref (Optional)

Which issue(s) this PR fixes (optional, using fixes #(, fixes #, ...) format, will close the issue(s) when the PR gets merged): Fixes #

Notes

Made changes to the terraform-libvirt-provider to further test newer Ubuntu versions. Also got aarch64 Ubuntu's vm in a state where they work. You cannot yet use apply twice on the aarch64 vm, but I will look to iterate on that later (due to the cloud init XSLT). aarch64 emulates cortex-a57 (Pi CPU)

github-actions[bot] commented 3 years ago

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖Success! The configuration is valid.

Terraform Plan 📖success

Show Plan ```terraform Refreshing Terraform state in-memory prior to plan... The refreshed state will be used to calculate this plan, but will not be persisted to local or remote state storage. ------------------------------------------------------------------------ An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # google_compute_network.vpc will be created + resource "google_compute_network" "vpc" { + auto_create_subnetworks = false + delete_default_routes_on_create = false + gateway_ipv4 = (known after apply) + id = (known after apply) + mtu = (known after apply) + name = "raspbernetes-vpc" + project = (known after apply) + routing_mode = (known after apply) + self_link = (known after apply) } # google_compute_subnetwork.subnet will be created + resource "google_compute_subnetwork" "subnet" { + creation_timestamp = (known after apply) + fingerprint = (known after apply) + gateway_address = (known after apply) + id = (known after apply) + ip_cidr_range = "10.10.0.0/24" + name = "raspbernetes-subnet" + network = "raspbernetes-vpc" + private_ipv6_google_access = (known after apply) + project = (known after apply) + region = "us-central1" + secondary_ip_range = (known after apply) + self_link = (known after apply) } # google_container_cluster.primary will be created + resource "google_container_cluster" "primary" { + cluster_ipv4_cidr = (known after apply) + datapath_provider = (known after apply) + default_max_pods_per_node = (known after apply) + enable_binary_authorization = false + enable_kubernetes_alpha = false + enable_legacy_abac = false + enable_shielded_nodes = false + endpoint = (known after apply) + id = (known after apply) + initial_node_count = 1 + instance_group_urls = (known after apply) + label_fingerprint = (known after apply) + location = "us-central1" + logging_service = (known after apply) + master_version = (known after apply) + monitoring_service = (known after apply) + name = "raspbernetes-gke" + network = "raspbernetes-vpc" + node_locations = (known after apply) + node_version = (known after apply) + operation = (known after apply) + project = (known after apply) + remove_default_node_pool = true + self_link = (known after apply) + services_ipv4_cidr = (known after apply) + subnetwork = "raspbernetes-subnet" + tpu_ipv4_cidr_block = (known after apply) + addons_config { + cloudrun_config { + disabled = (known after apply) + load_balancer_type = (known after apply) } + horizontal_pod_autoscaling { + disabled = (known after apply) } + http_load_balancing { + disabled = (known after apply) } + network_policy_config { + disabled = (known after apply) } } + authenticator_groups_config { + security_group = (known after apply) } + cluster_autoscaling { + enabled = (known after apply) + auto_provisioning_defaults { + oauth_scopes = (known after apply) + service_account = (known after apply) } + resource_limits { + maximum = (known after apply) + minimum = (known after apply) + resource_type = (known after apply) } } + database_encryption { + key_name = (known after apply) + state = (known after apply) } + default_snat_status { + disabled = (known after apply) } + master_auth { + client_certificate = (known after apply) + client_key = (sensitive value) + cluster_ca_certificate = (known after apply) + client_certificate_config { + issue_client_certificate = false } } + network_policy { + enabled = (known after apply) + provider = (known after apply) } + node_config { + disk_size_gb = (known after apply) + disk_type = (known after apply) + guest_accelerator = (known after apply) + image_type = (known after apply) + labels = (known after apply) + local_ssd_count = (known after apply) + machine_type = (known after apply) + metadata = (known after apply) + min_cpu_platform = (known after apply) + oauth_scopes = (known after apply) + preemptible = (known after apply) + service_account = (known after apply) + tags = (known after apply) + taint = (known after apply) + shielded_instance_config { + enable_integrity_monitoring = (known after apply) + enable_secure_boot = (known after apply) } + workload_metadata_config { + node_metadata = (known after apply) } } + node_pool { + initial_node_count = (known after apply) + instance_group_urls = (known after apply) + max_pods_per_node = (known after apply) + name = (known after apply) + name_prefix = (known after apply) + node_count = (known after apply) + node_locations = (known after apply) + version = (known after apply) + autoscaling { + max_node_count = (known after apply) + min_node_count = (known after apply) } + management { + auto_repair = (known after apply) + auto_upgrade = (known after apply) } + node_config { + disk_size_gb = (known after apply) + disk_type = (known after apply) + guest_accelerator = (known after apply) + image_type = (known after apply) + labels = (known after apply) + local_ssd_count = (known after apply) + machine_type = (known after apply) + metadata = (known after apply) + min_cpu_platform = (known after apply) + oauth_scopes = (known after apply) + preemptible = (known after apply) + service_account = (known after apply) + tags = (known after apply) + taint = (known after apply) + shielded_instance_config { + enable_integrity_monitoring = (known after apply) + enable_secure_boot = (known after apply) } + workload_metadata_config { + node_metadata = (known after apply) } } + upgrade_settings { + max_surge = (known after apply) + max_unavailable = (known after apply) } } + release_channel { + channel = (known after apply) } } # google_container_node_pool.primary_nodes will be created + resource "google_container_node_pool" "primary_nodes" { + cluster = "raspbernetes-gke" + id = (known after apply) + initial_node_count = (known after apply) + instance_group_urls = (known after apply) + location = "us-central1" + max_pods_per_node = (known after apply) + name = "raspbernetes-gke-node-pool" + name_prefix = (known after apply) + node_count = 1 + node_locations = (known after apply) + operation = (known after apply) + project = (known after apply) + version = (known after apply) + management { + auto_repair = (known after apply) + auto_upgrade = (known after apply) } + node_config { + disk_size_gb = (known after apply) + disk_type = (known after apply) + guest_accelerator = (known after apply) + image_type = (known after apply) + labels = { + "env" = "raspbernetes" } + local_ssd_count = (known after apply) + machine_type = "n1-standard-4" + metadata = { + "disable-legacy-endpoints" = "true" } + oauth_scopes = [ + "https://www.googleapis.com/auth/logging.write", + "https://www.googleapis.com/auth/monitoring", ] + preemptible = false + service_account = (known after apply) + tags = [ + "gke-node", + "raspbernetes-gke", ] + taint = (known after apply) + shielded_instance_config { + enable_integrity_monitoring = (known after apply) + enable_secure_boot = (known after apply) } + workload_metadata_config { + node_metadata = (known after apply) } } + upgrade_settings { + max_surge = (known after apply) + max_unavailable = (known after apply) } } Plan: 4 to add, 0 to change, 0 to destroy. Changes to Outputs: + kubernetes_cluster_name = "raspbernetes-gke" + region = "us-central1" ------------------------------------------------------------------------ Note: You didn't specify an "-out" parameter to save this plan, so Terraform can't guarantee that exactly these actions will be performed if "terraform apply" is subsequently run. ```

Pusher: @anthr76, Action: pull_request, Working Directory: infrastructure/gcp, Workflow: terraform-plan