Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.ContainerService - kubeProxyConfig isn't returned when preview feature is enabled #22208

Open
stephybun opened this issue Jan 17, 2023 · 6 comments
Labels
AKS Container Service customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@stephybun
Copy link

Service: Container Service
API Version: 2022-09-02-preview

We'd like to add support for this feature in Terraform, unfortunately we've run into some issues regarding the behaviour of the API.

As documented in the AKS Cluster Schema Kube Proxy is enabled by default on clusters. When the preview feature is enabled I would expect the API to return kubeProxyConfig in the response if it's enabled, i.e.

"networkProfile": {
...
    "kubeProxyConfig": {
        "enabled": true,
        "mode": "IPTABLES"
    }
...
}

Currently nothing is returned which doesn't accurately reflect the state of the cluster and also means Terraform can't know that Kube Proxy is enabled.

In addition, disabling Kube Proxy by sending

      "kubeProxyConfig": {
        "enabled": false
      }

results in the following response from the API.

"kubeProxyConfig": {}

Which isn't inconsistent with the behaviour of features in the rest of the API, like with AGIC for example.

Would you be able to look into:

  1. Adding Kube Proxy to the API response when the preview feature and is enabled and Kube Proxy is enabled.
  2. Return "enabled": false instead of an empty dictionary when Kube Proxy is disabled.

Thanks!

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Jan 17, 2023
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jan 19, 2023
@navba-MSFT navba-MSFT added AKS Service Attention Workflow: This issue is responsible by Azure service team. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Container Service and removed CXP Attention labels Jan 19, 2023
@ghost
Copy link

ghost commented Jan 19, 2023

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

Issue Details

Service: Container Service
API Version: 2022-09-02-preview

We'd like to add support for this feature in Terraform, unfortunately we've run into some issues regarding the behaviour of the API.

As documented in the AKS Cluster Schema Kube Proxy is enabled by default on clusters. When the preview feature is enabled I would expect the API to return kubeProxyConfig in the response if it's enabled, i.e.

"networkProfile": {
...
    "kubeProxyConfig": {
        "enabled": true,
        "mode": "IPTABLES"
    }
...
}

Currently nothing is returned which doesn't accurately reflect the state of the cluster and also means Terraform can't know that Kube Proxy is enabled.

In addition, disabling Kube Proxy by sending

      "kubeProxyConfig": {
        "enabled": false
      }

results in the following response from the API.

"kubeProxyConfig": {}

Which isn't inconsistent with the behaviour of features in the rest of the API, like with AGIC for example.

Would you be able to look into:

  1. Adding Kube Proxy to the API response when the preview feature and is enabled and Kube Proxy is enabled.
  2. Return "enabled": false instead of an empty dictionary when Kube Proxy is disabled.

Thanks!

Author: stephybun
Assignees: -
Labels:

question, AKS, Service Attention, customer-reported, needs-team-attention, Container Service

Milestone: -

@navba-MSFT
Copy link
Contributor

Adding Service team to look into this.

@Azure/aks-pm Could you please look into this once you get a chance ?

@husira
Copy link

husira commented Dec 15, 2023

Any updates on this topic?

@MaxAnderson95
Copy link

Any news to share on this?

@loomkoom
Copy link

Any info on this? It would be great if this could be supported by Terraform.

@mattwilder
Copy link

mattwilder commented Aug 22, 2024

Pinging this issue again as it has been over a year and a half since last update. Is this functionality going to be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS Container Service customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

7 participants