Skip to content

Conversation

paulyufan2
Copy link
Contributor

@paulyufan2 paulyufan2 commented Oct 9, 2025

Reason for Change:

This PR is to update cilium go dependencies

the AKS KubeProxyConfig types/fields we are using no longer exist in armcontainerservice/v4

Issue Fixed:

Requirements:

Notes:

@Copilot Copilot AI review requested due to automatic review settings October 9, 2025 13:23
@paulyufan2 paulyufan2 requested a review from a team as a code owner October 9, 2025 13:23
@paulyufan2 paulyufan2 added the dependencies Dependencies only. label Oct 9, 2025
@paulyufan2 paulyufan2 requested a review from apontejaj October 9, 2025 13:23
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates Cilium Go dependencies to newer versions, including a major Cilium version bump from v1.15.16 to v1.18.2. The update also removes deprecated kube-proxy configuration code that is no longer needed with the newer Cilium version.

  • Updates Cilium from v1.15.16 to v1.18.2
  • Updates various Go dependencies including golang.org/x packages and Azure SDK components
  • Removes obsolete kube-proxy configuration code from the test framework

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
go.mod Updates multiple Go dependencies to newer versions, including major Cilium upgrade
test/e2e/framework/azure/create-cilium-cluster.go Removes deprecated kube-proxy configuration code

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@paulyufan2
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

rbtr
rbtr previously approved these changes Oct 9, 2025
@paulyufan2
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@paulyufan2
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

subnetkey := fmt.Sprintf("/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s", c.SubscriptionID, c.ResourceGroupName, c.VnetName, c.SubnetName)
ciliumCluster.Properties.AgentPoolProfiles[0].VnetSubnetID = to.Ptr(subnetkey)

// Set the kubeproxy config
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we removing this in this PR ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after we updated armcontainerservice package to v4, the AKS KubeProxyConfig types/fields we are using no longer exist in armcontainerservice/v4; so we do not need KubeProxyConfig anymore...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

      TCPFinTimeoutSeconds: to.Ptr(int32(120)), //nolint:gomnd // set by existing kube-proxy in hack/aks/kube-proxy.json
      UDPTimeoutSeconds:    to.Ptr(int32(300)), //nolint:gomnd // set by existing kube-proxy in hack/aks/kube-proxy.json

These values are being set by the hack/aks file and are they are already present in the new version ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependencies only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants