All Questions
172 questions
0
votes
1
answer
63
views
Configuring auto scaling for Azure K8s Cluster via Terraform
When configuring auto scaling for an Azure K8s Cluster in Terraform, the interface offers the following field
auto_scaling_enabled
My question is what will happen in the following situation.
...
0
votes
2
answers
84
views
Terraform Kubernetes Provider Error: "dial tcp 127.0.0.1:80: connect: connection refused
I'm using Terraform to deploy an Azure Kubernetes Service (AKS) cluster and configure role-based access control (RBAC). However, I'm encountering an error when trying to create Kubernetes namespaces ...
0
votes
1
answer
119
views
Unable to push image to ACR from terraform - could not get auth config (the credentialhelper did not work or was not found):
I have a terraform project that creates an ACR registry, I am also using a Docker provider to build a node project locally, then push it to the ACR.
After running terraform init and trying to apply ...
1
vote
1
answer
186
views
terraform helm release resource fails but Helm command works
I am using HCP trying to deploy Grafana meta-monitoring and alloy helm chart using terraform helm_release and it is not successful and errors in context deadline passed but if I use helm command the ...
-1
votes
2
answers
72
views
How to connect HCP to authenticate to AKS cluster for deploying Helm and K8 resources?
I am trying to deploy some helm charts and K8 resources on my AKS cluster.
I am trying the following provider configuration. I got the following provider configuration from Terraform example
data &...
-1
votes
2
answers
78
views
How to execute kubectl commands in HCP?
I have very simple use case that I am trying to run kubectl command using terraform's HCP
resource "null_resource" "meta_create_namespace_and_secret" {
provisioner "local-...
0
votes
0
answers
134
views
AKS Deployment Error with HTTP Proxy Configuration in Terraform (Version 4.10): HTTPProxyConfigInputError
We are deploying an Azure Kubernetes Service (AKS) cluster using Terraform. In our environment, custom certificates are used for outbound communication via a network virtual appliance (NVA). The ...
0
votes
1
answer
389
views
Nat Gateway Profile for AKS using terraform
Hi I want to use userAssignedNatGateway for my private aks cluster.
Could anyone help me with network profile block for aks how can I pass the nat gateway that I've created using terraform only
Even I ...
-1
votes
1
answer
622
views
AKS with user defined routes
I have an aks setup in a Hub-Spoke Setup. The cluster itself is in a subnet in a 10.0.0.0/8 vnet and uses kubenet with 192.168.0.0/16. The outbound type is configured with userDefinedRouting. The ...
0
votes
0
answers
143
views
how to create cluster aks hci with terraform?
I try to create cluster aks hci (aks hybrid) with terraform i use this provisioner "local-exec"
this is my main.tf
resource "null_resource" "test_terraform" {
...
0
votes
0
answers
819
views
Terraform Azure - Error deploying AKS NoRegisteredProviderFound
I am trying to deploy an AKS cluster using this terraform code.
resource "azurerm_kubernetes_cluster" "k8s" {
name = local.k8s.name
location = ...
0
votes
1
answer
546
views
With Terraform, how do I integrate a basic-sku load balancer and basic-sku public ip address with an azurerm_kubernetes_cluster resource?
Provisioning a minimal aks cluster with azurerm_kubernetes_cluster with defaults creates a load_balancer_sku = standard along with a load_balancer_profile block. A LoadBalancer and IP Address is then ...
1
vote
0
answers
109
views
How to address kubernetes load balancer profile cyclic dependency
I have a Kubernetes cluster in my Terraform template, as follows:
resource "azurerm_kubernetes_cluster" "k8s-cluster-dev" {
name = "k8s-cluster-dev"
...
0
votes
1
answer
188
views
Terraform deployment of Fluent Bit which should direct specific namespaces' logs to separate Log Analytics workspaces
The overall idea should generate Fluent Bit's output blocks for each namespace.
This will allow the logs of each namespace to be directed to a designated Log Analytics workspace, within a table, ...
0
votes
2
answers
935
views
AKS can't pull from ACR registry when using custom vnet + subnet
I have an AKS cluster, and it needs to pull from an ACR created contextually. Pretty standard stuff.
It works using solutions like this when not specifying any subnet for the default_nodepool, but I ...