Skip to content

Commit 22abd8b

Browse files
committed
Update crd yaml file.
1 parent 5340cdd commit 22abd8b

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ $(addsuffix -verify,$(CRD_GEN_FILES)): bin/gen-crds-yaml_$(GOOS)_$(GOARCH)
133133
diff -Naupr $(FILE:.$(GROUP_NAME).yaml=.yaml) <(bin/gen-crds-yaml_$(GOOS)_$(GOARCH) --crd $(CRD))
134134

135135
gen-crds-clean:
136-
rm -f $(CRD_GEN_FILES)
136+
rm -f $(CRD_GEN_FILES:.$(GROUP_NAME).yaml=.yaml)
137137

138138

139139
# Code generation targets

deploy/mysqlclusters.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,45 @@ spec:
6262
nodeSelector:
6363
type: object
6464
resources: {}
65+
queryLimits:
66+
properties:
67+
ignoreCommands:
68+
description: IgnoreCommands
69+
items:
70+
type: string
71+
type: array
72+
ignoreDb:
73+
description: IgnoreDb is the lost of tatabase that are ignored by
74+
pt-kill (--ignore-db flag)
75+
items:
76+
type: string
77+
type: array
78+
ignoreUser:
79+
description: IgnoreUser
80+
items:
81+
type: string
82+
type: array
83+
kill:
84+
description: Kill represents the mode of which the matching queries
85+
in each class will be killed, (the --victims flag). Can be one
86+
of oldest|all|all-but-oldest
87+
type: string
88+
killMode:
89+
description: 'KillMode can be: `connection` or `query`, when it''s
90+
used `connection` means that when a query is matched the connection
91+
is killed (using --kill flag) and if it''s used `query` means
92+
that the query is killed (using --kill-query flag)'
93+
type: string
94+
maxIdleTime:
95+
description: MaxIdleTime match queries that have benn idle for longer
96+
then this time. (--idle-time flag)
97+
format: int32
98+
type: integer
99+
maxQueryTime:
100+
description: MaxQueryTime match queries that have been running for
101+
longer then this time. (--busy-time flag)
102+
format: int32
103+
type: integer
65104
replicas:
66105
description: The number of pods. This updates replicas filed Defaults
67106
to 0

0 commit comments

Comments
 (0)