From d7e8d1fe4e9a119b304b0244e89ce4d69e780d6d Mon Sep 17 00:00:00 2001 From: Paul Johnston Date: Fri, 2 Apr 2021 11:31:22 -0700 Subject: [PATCH] feature: max ip limit for NodeNetworkConfig --- nodenetworkconfig/api/v1alpha/nodenetworkconfig.go | 1 + .../manifests/acn.azure.com_nodenetworkconfigs.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go b/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go index f33e7ac3c4..1035db6d3d 100644 --- a/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go +++ b/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go @@ -62,6 +62,7 @@ type Scaler struct { BatchSize int64 `json:"batchSize,omitempty"` ReleaseThresholdPercent int64 `json:"releaseThresholdPercent,omitempty"` RequestThresholdPercent int64 `json:"requestThresholdPercent,omitempty"` + MaxIPCount int64 `json:"maxIPCount,omitempty"` } // NetworkContainer defines the structure of a Network Container as found in NetworkConfigStatus diff --git a/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml b/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml index 21747bfc64..53cf6ecbae 100644 --- a/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml +++ b/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml @@ -86,6 +86,9 @@ spec: batchSize: format: int64 type: integer + maxIPCount: + format: int64 + type: integer releaseThresholdPercent: format: int64 type: integer