Skip to content

Commit

Permalink
Remove the QPS limit for CRDs
Browse files Browse the repository at this point in the history
Signed-off-by: ii2day <ji.li@daocloud.io>
  • Loading branch information
ii2day committed Jul 28, 2023
1 parent 25a4b56 commit 6d8e145
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion charts/crds/kdoctor.io_apphttphealthies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ spec:
type: integer
qps:
default: 5
maximum: 100
minimum: 1
type: integer
type: object
Expand Down
1 change: 0 additions & 1 deletion charts/crds/kdoctor.io_netdnses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ spec:
qps:
default: 5
format: int64
maximum: 20
minimum: 1
type: integer
type: object
Expand Down
1 change: 0 additions & 1 deletion charts/crds/kdoctor.io_netreaches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ spec:
type: integer
qps:
default: 5
maximum: 100
minimum: 1
type: integer
type: object
Expand Down
1 change: 0 additions & 1 deletion pkg/k8s/apis/kdoctor.io/v1beta1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ type NetHttpRequest struct {

// +kubebuilder:validation:Optional
// +kubebuilder:default=5
// +kubebuilder:validation:Maximum=100
// +kubebuilder:validation:Minimum=1
QPS int `json:"qps,omitempty"`

Expand Down
1 change: 0 additions & 1 deletion pkg/k8s/apis/kdoctor.io/v1beta1/netdns_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ type NetdnsRequest struct {
// +kubebuilder:validation:Optional
// +kubebuilder:default=5
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=20
QPS *uint64 `json:"qps,omitempty"`

// +kubebuilder:validation:Optional
Expand Down

0 comments on commit 6d8e145

Please sign in to comment.