Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds initialization for a new managed disk and log analytics workspace, as well as additional configurations for the Kubernetes cluster.
In the
hub-nva.tf
file, a new managed disk named "hub-nva-logs" with an increased size of 30GB is added, replacing the previous disk configuration. The corresponding data disk attachment is updated to reference this new disk.In the
spoke-k8s_cluster.tf
file, a local variablestreams
is defined to store a list of streams for data collection. Additionally, a new log analytics workspace is created with a retention period of 30 days. An Azure role assignment is updated to skip the service principal AAD check. The Kubernetes cluster configuration is modified to enable MSI authentication for monitoring and set the orchestrator version to "1.27".Furthermore, a new monitor data collection rule and its association are added to collect container insights data for the Kubernetes cluster.
Lastly, in the
terraform.auto.tfvars
file, several configurations related to the NVA setup are removed while adjusting the values for the spoke virtual network address prefix and spoke AKS DNS service IP.These changes aim to enhance the infrastructure setup by improving disk management, logging, monitoring, and Kubernetes cluster configurations.