github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/redis/config/redis7-config-constraint.cue (about)

     1  //Copyright (C) 2022-2023 ApeCloud Co., Ltd
     2  //
     3  //This file is part of KubeBlocks project
     4  //
     5  //This program is free software: you can redistribute it and/or modify
     6  //it under the terms of the GNU Affero General Public License as published by
     7  //the Free Software Foundation, either version 3 of the License, or
     8  //(at your option) any later version.
     9  //
    10  //This program is distributed in the hope that it will be useful
    11  //but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13  //GNU Affero General Public License for more details.
    14  //
    15  //You should have received a copy of the GNU Affero General Public License
    16  //along with this program.  If not, see <http://www.gnu.org/licenses/>.
    17  
    18  #RedisParameter: {
    19  
    20  	"acllog-max-len": int & >=1 & <=10000 | *128
    21  
    22  	"acl-pubsub-default"?: string & "resetchannels" | "allchannels"
    23  
    24  	activedefrag?: string & "yes" | "no"
    25  
    26  	"active-defrag-cycle-max": int & >=1 & <=75 | *75
    27  
    28  	"active-defrag-cycle-min": int & >=1 & <=75 | *5
    29  
    30  	"active-defrag-ignore-bytes": int | *104857600
    31  
    32  	"active-defrag-max-scan-fields": int & >=1 & <=1000000 | *1000
    33  
    34  	"active-defrag-threshold-lower": int & >=1 & <=100 | *10
    35  
    36  	"active-defrag-threshold-upper": int & >=1 & <=100 | *100
    37  
    38  	"active-expire-effort": int & >=1 & <=10 | *1
    39  
    40  	appendfsync?: string & "always" | "everysec" | "no"
    41  
    42  	appendonly?: string & "yes" | "no"
    43  
    44  	"client-output-buffer-limit-normal-hard-limit": int | *0
    45  
    46  	"client-output-buffer-limit-normal-soft-limit": int | *0
    47  
    48  	"client-output-buffer-limit-normal-soft-seconds": int | *0
    49  
    50  	"client-output-buffer-limit-pubsub-hard-limit": int | *33554432
    51  
    52  	"client-output-buffer-limit-pubsub-soft-limit": int | *8388608
    53  
    54  	"client-output-buffer-limit-pubsub-soft-seconds": int | *60
    55  
    56  	"client-output-buffer-limit-replica-soft-seconds": int | *60
    57  
    58  	"client-query-buffer-limit": int & >=1048576 & <=1073741824 | *1073741824
    59  
    60  	"close-on-replica-write"?: string & "yes" | "no"
    61  
    62  	"cluster-allow-pubsubshard-when-down"?: string & "yes" | "no"
    63  
    64  	"cluster-allow-reads-when-down"?: string & "yes" | "no"
    65  
    66  	"cluster-enabled"?: string & "yes" | "no"
    67  
    68  	"cluster-preferred-endpoint-type"?: string & "tls-dynamic" | "ip"
    69  
    70  	"cluster-require-full-coverage"?: string & "yes" | "no"
    71  
    72  	databases: int & >=1 & <=10000 | *16
    73  
    74  	"hash-max-listpack-entries": int | *512
    75  
    76  	"hash-max-listpack-value": int | *64
    77  
    78  	"hll-sparse-max-bytes": int & >=1 & <=16000 | *3000
    79  
    80  	"latency-tracking"?: string & "yes" | "no"
    81  
    82  	"lazyfree-lazy-eviction"?: string & "yes" | "no"
    83  
    84  	"lazyfree-lazy-expire"?: string & "yes" | "no"
    85  
    86  	"lazyfree-lazy-server-del"?: string & "yes" | "no"
    87  
    88  	"lazyfree-lazy-user-del"?: string & "yes" | "no"
    89  
    90  	"lfu-decay-time": int | *1
    91  
    92  	"lfu-log-factor": int | *10
    93  
    94  	"list-compress-depth": int | *0
    95  
    96  	"list-max-listpack-size": int | *-2
    97  
    98  	"lua-time-limit": int & 5000 | *5000
    99  
   100  	maxclients: int & >=1 & <=65000 | *65000
   101  
   102  	"maxmemory-policy"?: string & "volatile-lru" | "allkeys-lru" | "volatile-lfu" | "allkeys-lfu" | "volatile-random" | "allkeys-random" | "volatile-ttl" | "noeviction"
   103  
   104  	"maxmemory-samples": int | *3
   105  
   106  	"min-replicas-max-lag": int | *10
   107  
   108  	"min-replicas-to-write": int | *0
   109  
   110  	"notify-keyspace-events"?: string
   111  
   112  	"proto-max-bulk-len": int & >=1048576 & <=536870912 | *536870912
   113  
   114  	"rename-commands"?: string & "APPEND" | "BITCOUNT" | "BITFIELD" | "BITOP" | "BITPOS" | "BLPOP" | "BRPOP" | "BRPOPLPUSH" | "BZPOPMIN" | "BZPOPMAX" | "CLIENT" | "COMMAND" | "DBSIZE" | "DECR" | "DECRBY" | "DEL" | "DISCARD" | "DUMP" | "ECHO" | "EVAL" | "EVALSHA" | "EXEC" | "EXISTS" | "EXPIRE" | "EXPIREAT" | "FLUSHALL" | "FLUSHDB" | "GEOADD" | "GEOHASH" | "GEOPOS" | "GEODIST" | "GEORADIUS" | "GEORADIUSBYMEMBER" | "GET" | "GETBIT" | "GETRANGE" | "GETSET" | "HDEL" | "HEXISTS" | "HGET" | "HGETALL" | "HINCRBY" | "HINCRBYFLOAT" | "HKEYS" | "HLEN" | "HMGET" | "HMSET" | "HSET" | "HSETNX" | "HSTRLEN" | "HVALS" | "INCR" | "INCRBY" | "INCRBYFLOAT" | "INFO" | "KEYS" | "LASTSAVE" | "LINDEX" | "LINSERT" | "LLEN" | "LPOP" | "LPUSH" | "LPUSHX" | "LRANGE" | "LREM" | "LSET" | "LTRIM" | "MEMORY" | "MGET" | "MONITOR" | "MOVE" | "MSET" | "MSETNX" | "MULTI" | "OBJECT" | "PERSIST" | "PEXPIRE" | "PEXPIREAT" | "PFADD" | "PFCOUNT" | "PFMERGE" | "PING" | "PSETEX" | "PSUBSCRIBE" | "PUBSUB" | "PTTL" | "PUBLISH" | "PUNSUBSCRIBE" | "RANDOMKEY" | "READONLY" | "READWRITE" | "RENAME" | "RENAMENX" | "RESTORE" | "ROLE" | "RPOP" | "RPOPLPUSH" | "RPUSH" | "RPUSHX" | "SADD" | "SCARD" | "SCRIPT" | "SDIFF" | "SDIFFSTORE" | "SELECT" | "SET" | "SETBIT" | "SETEX" | "SETNX" | "SETRANGE" | "SINTER" | "SINTERSTORE" | "SISMEMBER" | "SLOWLOG" | "SMEMBERS" | "SMOVE" | "SORT" | "SPOP" | "SRANDMEMBER" | "SREM" | "STRLEN" | "SUBSCRIBE" | "SUNION" | "SUNIONSTORE" | "SWAPDB" | "TIME" | "TOUCH" | "TTL" | "TYPE" | "UNSUBSCRIBE" | "UNLINK" | "UNWATCH" | "WAIT" | "WATCH" | "ZADD" | "ZCARD" | "ZCOUNT" | "ZINCRBY" | "ZINTERSTORE" | "ZLEXCOUNT" | "ZPOPMAX" | "ZPOPMIN" | "ZRANGE" | "ZRANGEBYLEX" | "ZREVRANGEBYLEX" | "ZRANGEBYSCORE" | "ZRANK" | "ZREM" | "ZREMRANGEBYLEX" | "ZREMRANGEBYRANK" | "ZREMRANGEBYSCORE" | "ZREVRANGE" | "ZREVRANGEBYSCORE" | "ZREVRANK" | "ZSCORE" | "ZUNIONSTORE" | "SCAN" | "SSCAN" | "HSCAN" | "ZSCAN" | "XINFO" | "XADD" | "XTRIM" | "XDEL" | "XRANGE" | "XREVRANGE" | "XLEN" | "XREAD" | "XGROUP" | "XREADGROUP" | "XACK" | "XCLAIM" | "XPENDING" | "GEORADIUS_RO" | "GEORADIUSBYMEMBER_RO" | "LOLWUT" | "XSETID" | "SUBSTR" | "BITFIELD_RO" | "ACL" | "STRALGO"
   115  
   116  	"repl-backlog-size": int | *1048576
   117  
   118  	"repl-backlog-ttl": int | *3600
   119  
   120  	"replica-allow-chaining"?: string & "yes" | "no"
   121  
   122  	"replica-ignore-maxmemory"?: string & "yes" | "no"
   123  
   124  	"replica-lazy-flush"?: string & "yes" | "no"
   125  
   126  	"reserved-memory-percent": int & >=0 & <=100 | *25
   127  
   128  	"set-max-intset-entries": int & >=0 & <=500000000 | *512
   129  
   130  	"slowlog-log-slower-than": int | *10000
   131  
   132  	"slowlog-max-len": int | *128
   133  
   134  	"stream-node-max-bytes": int | *4096
   135  
   136  	"stream-node-max-entries": int | *100
   137  
   138  	"tcp-keepalive": int | *300
   139  
   140  	timeout: int | *0
   141  
   142  	"tracking-table-max-keys": int & >=1 & <=100000000 | *1000000
   143  
   144  	"zset-max-listpack-entries": int | *128
   145  
   146  	"zset-max-listpack-value": int | *64
   147  
   148  	"protected-mode"?: string & "yes" | "no"
   149  
   150  	"enable-debug-command"?: string & "yes" | "no" | "local"
   151  
   152  	...
   153  }
   154  
   155  configuration: #RedisParameter & {
   156  }