Skip to content

Commit df8ea96

Browse files
committed
Merge remote-tracking branch 'upstream/master' into dynamic-alloc-impl
2 parents d2322dc + 9cb9fca commit df8ea96

20 files changed

Lines changed: 506 additions & 50 deletions

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ updates:
3232
exclude-patterns:
3333
- "k8s.io/*"
3434
- "sigs.k8s.io/*"
35+
- package-ecosystem: "docker"
36+
directories:
37+
- "/"
38+
- "/metis"
39+
schedule:
40+
interval: "weekly"
41+
labels:
42+
- "ok-to-test"
43+
- 'area/dependency'
44+
- 'release-note-none'
3545
- package-ecosystem: "github-actions"
3646
directory: "/"
3747
target-branch: "release-1.36"
@@ -66,6 +76,17 @@ updates:
6676
exclude-patterns:
6777
- "k8s.io/*"
6878
- "sigs.k8s.io/*"
79+
- package-ecosystem: "docker"
80+
directories:
81+
- "/"
82+
- "/metis"
83+
target-branch: "release-1.36"
84+
schedule:
85+
interval: "weekly"
86+
labels:
87+
- "ok-to-test"
88+
- 'area/dependency'
89+
- 'release-note-none'
6990

7091

7192

.github/workflows/dependabot-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: github.actor == 'dependabot[bot]'
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
18+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
1919
with:
2020
ref: ${{ github.event.pull_request.head.ref }}
2121

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
16+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1717
with:
1818
fetch-depth: 0 # Important for generating release notes
1919

.github/workflows/tag-auth-provider-gcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
contents: write
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
19+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
2020
with:
2121
fetch-depth: 0 # Fetch all history and tags
2222

.github/workflows/tag-ccm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
contents: write
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
18+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
1919
with:
2020
fetch-depth: 0 # Fetch all history and tags
2121

.github/workflows/tag-gke-gcloud-auth-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
contents: write
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
19+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
2020
with:
2121
fetch-depth: 0 # Fetch all history and tags
2222

cmd/cloud-controller-manager/main.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ var (
8181

8282
// enableGKETenantController enables the gke-tenant-controller-manager.
8383
enableGKETenantController bool
84+
85+
// enableL4ILBFineGrainedLocks enables resource-specific locking for L4 ILB.
86+
enableL4ILBFineGrainedLocks bool
8487
)
8588

8689
func main() {
@@ -102,6 +105,7 @@ func main() {
102105
cloudProviderFS.BoolVar(&enableL4DenyFirewall, "enable-l4-deny-firewall", false, "Enable creation and updates of Deny VPC Firewall Rules for L4 external load balancers. Requires --enable-pinhole and --enable-l4-deny-firewall-rollback-cleanup to be true.")
103106
cloudProviderFS.BoolVar(&enableL4DenyFirewallRollbackCleanup, "enable-l4-deny-firewall-rollback-cleanup", false, "Enable cleanup codepath of the deny firewalls for rollback. The reason for it not being enabled by default is the additional GCE API calls that are made for checking if the deny firewalls exist/deletion which will eat up the quota unnecessarily.")
104107
cloudProviderFS.BoolVar(&enableGKETenantController, "enable-gke-tenant-controller", false, "Enables the GKE Tenant Controller Manager for Multi-Tenancy.")
108+
cloudProviderFS.BoolVar(&enableL4ILBFineGrainedLocks, "enable-l4-ilb-fine-grained-lock", false, "Enable resource-specific locking for L4 ILB")
105109

106110
// add new controllers and initializers
107111
nodeIpamController := nodeIPAMController{}
@@ -227,5 +231,16 @@ func cloudInitializer(config *cloudcontrollerconfig.CompletedConfig) cloudprovid
227231
gceCloud.SetEnableL4DenyFirewallRule(enableL4DenyFirewall, enableL4DenyFirewallRollbackCleanup)
228232
}
229233

234+
if enableL4ILBFineGrainedLocks {
235+
gceCloud, ok := (cloud).(*gce.Cloud)
236+
if !ok {
237+
klog.Fatalf("enable-l4-ilb-fine-grained-lock requires GCE cloud provider, but got %T", cloud)
238+
}
239+
gceCloud.SetEnableL4ILBFineGrainedLocks(true)
240+
}
241+
242+
// Record feature gate metrics
243+
gce.RecordFeatureGateMetrics(enableL4ILBFineGrainedLocks)
244+
230245
return cloud
231246
}

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ require (
1010
github.com/spf13/pflag v1.0.10
1111
github.com/stretchr/testify v1.11.1
1212
golang.org/x/oauth2 v0.36.0
13+
golang.org/x/sync v0.21.0 // indirect
1314
google.golang.org/api v0.284.0
1415
gopkg.in/gcfg.v1 v1.2.3
1516
gopkg.in/warnings.v0 v0.1.2 // indirect
@@ -131,11 +132,10 @@ require (
131132
golang.org/x/crypto v0.51.0 // indirect
132133
golang.org/x/mod v0.35.0 // indirect
133134
golang.org/x/net v0.55.0 // indirect
134-
golang.org/x/sync v0.21.0 // indirect
135135
golang.org/x/sys v0.45.0 // indirect
136136
golang.org/x/term v0.43.0 // indirect
137137
golang.org/x/text v0.37.0 // indirect
138-
golang.org/x/time v0.15.0 // indirect
138+
golang.org/x/time v0.15.0
139139
golang.org/x/tools v0.44.0 // indirect
140140
google.golang.org/grpc v1.81.1 // indirect
141141
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect

go.work.sum

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
cloud.google.com/go v0.112.2 h1:ZaGT6LiG7dBzi6zNOvVZwacaXlmf3lRqnC4DQzqyRQw=
2+
cloud.google.com/go v0.115.1 h1:Jo0SM9cQnSkYfp44+v+NQXHpcHqlnRJk2qxh6yvxxxQ=
3+
cloud.google.com/go/compute v1.23.1 h1:V97tBoDaZHb6leicZ1G6DLK2BAaZLJ/7+9BB/En3hR0=
4+
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA=
5+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1/go.mod h1:Zanoh4+gvIgluNqcfMVTJueD4wSS5hT7zTt4Mrutd90=
6+
github.com/onsi/gomega v1.38.2/go.mod h1:W2MJcYxRGV63b418Ai34Ud0hEdTVXq9NW9+Sx6uXf3k=
7+
go.opentelemetry.io/proto/otlp v1.7.1/go.mod h1:b2rVh6rfI/s2pHWNlB7ILJcRALpcNDzKhACevjI+ZnE=
8+
golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
9+
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217/go.mod h1:+rXWjjaukWZun3mLfjmVnQi18E1AsFbDN9QdJ5YXLto=
210
k8s.io/pod-security-admission v0.36.0 h1:YgVsB5KFiUtZfHgcLf/GPGGR9KgoXN4/loadBLCRvhY=
311
k8s.io/pod-security-admission v0.36.0/go.mod h1:Brj/48uHTUApss1AaehnCw0dgI1Pxk/RAOo1oSNLqhI=

pkg/controller/nodeipam/ipam/cidr_allocator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ const (
7272
updateRetryTimeout = 250 * time.Millisecond
7373

7474
// maxUpdateRetryTimeout is the maximum amount of time between timeouts.
75-
maxUpdateRetryTimeout = 5 * time.Second
75+
maxUpdateRetryTimeout = 15 * time.Second
7676

7777
// updateMaxRetries is the max retries for a failed node
78-
updateMaxRetries = 10
78+
updateMaxRetries = 20
7979

8080
// The no. of workers in parallel to update nodetopology CR
8181
nodeTopologyWorkers = 30

0 commit comments

Comments
 (0)