|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + creationTimestamp: null |
| 5 | + name: zabbixagent2s.kubernetes.zabbix.com |
| 6 | +spec: |
| 7 | + group: kubernetes.zabbix.com |
| 8 | + names: |
| 9 | + kind: ZabbixAgent2 |
| 10 | + listKind: ZabbixAgent2List |
| 11 | + plural: zabbixagent2s |
| 12 | + shortNames: |
| 13 | + - za2 |
| 14 | + singular: zabbixagent2 |
| 15 | + scope: Namespaced |
| 16 | + versions: |
| 17 | + - name: v1alpha1 |
| 18 | + schema: |
| 19 | + openAPIV3Schema: |
| 20 | + properties: |
| 21 | + spec: |
| 22 | + description: Configuration parameters for Zabbix agent 2 |
| 23 | + properties: |
| 24 | + active_allow: |
| 25 | + description: Enables or disables feature of active checks |
| 26 | + title: Enable active checks |
| 27 | + type: boolean |
| 28 | + activeservers: |
| 29 | + description: IP:port (or hostname:port) of Zabbix server or Zabbix |
| 30 | + proxy for active checks |
| 31 | + type: string |
| 32 | + allow_key: |
| 33 | + description: Whether remote commands from Zabbix server are allowed |
| 34 | + title: Allow key |
| 35 | + type: string |
| 36 | + allow_privileged: |
| 37 | + description: Run Zabbix agent 2 in privileged mode to monitor host |
| 38 | + resources |
| 39 | + title: Enable privileged mode |
| 40 | + type: boolean |
| 41 | + buffer_send: |
| 42 | + description: Do not keep data longer than N seconds in buffer |
| 43 | + maximum: 3600 |
| 44 | + minimum: 1 |
| 45 | + type: integer |
| 46 | + buffer_size: |
| 47 | + description: Maximum number of values in a memory buffer |
| 48 | + maximum: 65535 |
| 49 | + minimum: 2 |
| 50 | + type: integer |
| 51 | + debug_level: |
| 52 | + description: Specifies debug level for Zabbix agent 2 |
| 53 | + enum: |
| 54 | + - 0 |
| 55 | + - 1 |
| 56 | + - 2 |
| 57 | + - 3 |
| 58 | + - 4 |
| 59 | + - 5 |
| 60 | + title: Debug level |
| 61 | + type: integer |
| 62 | + deny_key: |
| 63 | + description: Deny execution of those item keys that match a pattern |
| 64 | + title: Deny key |
| 65 | + type: string |
| 66 | + enable_persistent_buffer: |
| 67 | + description: Enable usage of local persistent storage for active items |
| 68 | + type: boolean |
| 69 | + enable_status_port: |
| 70 | + description: Agent will listen on 31999/TCP port for HTTP status requests |
| 71 | + type: boolean |
| 72 | + ext_config: |
| 73 | + description: Additional configuration for Zabbix agent 2 |
| 74 | + title: Extended configuration |
| 75 | + type: string |
| 76 | + host_interface: |
| 77 | + description: Optional parameter that defines host interface |
| 78 | + maxLength: 255 |
| 79 | + type: string |
| 80 | + host_interface_item: |
| 81 | + description: Optional parameter that defines an item used for getting |
| 82 | + host interface |
| 83 | + type: string |
| 84 | + hostname_item: |
| 85 | + description: Optional parameter that defines a Zabbix agent 2 item |
| 86 | + used for getting host name |
| 87 | + type: string |
| 88 | + load_module: |
| 89 | + description: Module to load at agent 2 startup. Modules are used to |
| 90 | + extend functionality of the agent 2 |
| 91 | + type: string |
| 92 | + metadata: |
| 93 | + description: Optional parameter that defines host metadata |
| 94 | + maxLength: 255 |
| 95 | + type: string |
| 96 | + metadata_item: |
| 97 | + description: Optional parameter that defines a Zabbix agent 2 item |
| 98 | + used for getting host metadata |
| 99 | + type: string |
| 100 | + modules_claim: |
| 101 | + description: Zabbix agent 2 loadable modules volume claim |
| 102 | + title: Modules volume |
| 103 | + type: string |
| 104 | + passive_allow: |
| 105 | + description: Enables or disables feature of passive checks |
| 106 | + type: boolean |
| 107 | + passive_servers: |
| 108 | + description: List of comma delimited IP addresses, optionally in CIDR |
| 109 | + notation, or hostnames of Zabbix servers and Zabbix proxies |
| 110 | + title: Passive Zabbix servers |
| 111 | + type: string |
| 112 | + persistent_buffer_claim: |
| 113 | + description: The time period for which data should be stored, when |
| 114 | + there is no connection to the server or proxy |
| 115 | + type: string |
| 116 | + persistent_buffer_period: |
| 117 | + description: Enable usage of local persistent storage for active items |
| 118 | + pattern: ^(\d+|\d+[hmd])$ |
| 119 | + type: string |
| 120 | + refresh_active_checks: |
| 121 | + description: How often list of active checks is refreshed, in seconds |
| 122 | + maximum: 3600 |
| 123 | + minimum: 60 |
| 124 | + type: integer |
| 125 | + server_host: |
| 126 | + description: IP address, optionally in CIDR notation, or hostname |
| 127 | + of main Zabbix server or proxy for passive and active checks |
| 128 | + minLength: 1 |
| 129 | + title: Zabbix server host |
| 130 | + type: string |
| 131 | + start_agents: |
| 132 | + description: Number of pre-forked instances of zabbix_agent2 that |
| 133 | + process passive checks |
| 134 | + maximum: 100 |
| 135 | + minimum: 0 |
| 136 | + type: integer |
| 137 | + timeout: |
| 138 | + description: Spend no more than Timeout seconds on processing |
| 139 | + maximum: 30 |
| 140 | + minimum: 1 |
| 141 | + type: integer |
| 142 | + tls_accept: |
| 143 | + description: What incoming connections to accept. Used for a passive |
| 144 | + checks. Multiple values can be specified, separated by comma |
| 145 | + example: unencrypted,psk |
| 146 | + externalDocs: |
| 147 | + description: Zabbix documentation - Encryption |
| 148 | + url: https://www.zabbix.com/documentation/5.0/manual/encryption |
| 149 | + type: string |
| 150 | + tls_ca_file_name: |
| 151 | + description: File containing the top-level CA(s) certificates for |
| 152 | + peer certificate verification, used for encrypted communications |
| 153 | + between Zabbix components |
| 154 | + type: string |
| 155 | + tls_cert_file_name: |
| 156 | + description: File containing the agent certificate or certificate |
| 157 | + chain, used for encrypted communications with Zabbix components |
| 158 | + type: string |
| 159 | + tls_cipher_all: |
| 160 | + description: GnuTLS priority string or OpenSSL (TLS 1.2) cipher string. |
| 161 | + Override the default ciphersuite selection criteria for certificate- |
| 162 | + and PSK-based encryption |
| 163 | + type: string |
| 164 | + tls_cipher_cert: |
| 165 | + description: GnuTLS priority string or OpenSSL (TLS 1.2) cipher string. |
| 166 | + Override the default ciphersuite selection criteria for certificate-based |
| 167 | + encryption |
| 168 | + type: string |
| 169 | + tls_cipher_cert_13: |
| 170 | + description: Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3. |
| 171 | + Override the default ciphersuite selection criteria for certificate-based |
| 172 | + encryption |
| 173 | + type: string |
| 174 | + tls_cipher_psk: |
| 175 | + description: GnuTLS priority string or OpenSSL (TLS 1.2) cipher string. |
| 176 | + Override the default ciphersuite selection criteria for PSK-based |
| 177 | + encryption |
| 178 | + type: string |
| 179 | + tls_cipher_psk_13: |
| 180 | + description: Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3. |
| 181 | + Override the default ciphersuite selection criteria for PSK-based |
| 182 | + encryption |
| 183 | + type: string |
| 184 | + tls_cipherall_13: |
| 185 | + description: Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3. |
| 186 | + Override the default ciphersuite selection criteria for certificate- |
| 187 | + and PSK-based encryption |
| 188 | + type: string |
| 189 | + tls_connect: |
| 190 | + description: How the agent should connect to Zabbix server or proxy |
| 191 | + enum: |
| 192 | + - unencrypted |
| 193 | + - psk |
| 194 | + - cert |
| 195 | + externalDocs: |
| 196 | + description: Zabbix documentation - Encryption |
| 197 | + url: https://www.zabbix.com/documentation/5.0/manual/encryption |
| 198 | + type: string |
| 199 | + tls_crl_file_name: |
| 200 | + description: File containing revoked certificates. This parameter |
| 201 | + is used for encrypted communications with Zabbix components |
| 202 | + type: string |
| 203 | + tls_enc_secret: |
| 204 | + description: TLS certificates or / and PSK key files to enable encryption |
| 205 | + between Zabbix agent 2 and Zabbix server (proxy) |
| 206 | + title: TLS encryption secret |
| 207 | + type: string |
| 208 | + tls_key_file_name: |
| 209 | + description: File containing the agent private key used for encrypted |
| 210 | + communications with Zabbix components |
| 211 | + type: string |
| 212 | + tls_psk_file_name: |
| 213 | + description: File containing the agent pre-shared key used for encrypted |
| 214 | + communications with Zabbix components |
| 215 | + type: string |
| 216 | + tls_psk_identity: |
| 217 | + description: Pre-shared key identity string, used for encrypted communications |
| 218 | + with Zabbix server |
| 219 | + format: password |
| 220 | + title: TLS PSK identity |
| 221 | + type: string |
| 222 | + tls_server_cert_issuer: |
| 223 | + description: Allowed server (proxy) certificate issuer |
| 224 | + type: string |
| 225 | + tls_server_cert_subject: |
| 226 | + description: Allowed server (proxy) certificate subject |
| 227 | + type: string |
| 228 | + unsafe_user_parameters: |
| 229 | + description: Allow all characters to be passed in arguments to user-defined |
| 230 | + parameters |
| 231 | + type: boolean |
| 232 | + use_host_node_name: |
| 233 | + description: Use node name as Hostname |
| 234 | + title: Use node name as Hostname |
| 235 | + type: boolean |
| 236 | + required: |
| 237 | + - server_host |
| 238 | + type: object |
| 239 | + x-kubernetes-preserve-unknown-fields: true |
| 240 | + status: |
| 241 | + description: Deployment status information |
| 242 | + properties: |
| 243 | + agent_status: |
| 244 | + description: Status of agent 2 deployment operation |
| 245 | + title: Zabbix agent 2 status |
| 246 | + type: string |
| 247 | + agent_version: |
| 248 | + description: Zabbix agent 2 version |
| 249 | + type: string |
| 250 | + conditions: |
| 251 | + type: object |
| 252 | + phase: |
| 253 | + description: Zabbix agent 2 deployment status |
| 254 | + enum: |
| 255 | + - Running |
| 256 | + - Pending |
| 257 | + - Failed |
| 258 | + title: Deployment status |
| 259 | + type: string |
| 260 | + reason: |
| 261 | + description: Reason of current deployment status |
| 262 | + title: Reason |
| 263 | + type: string |
| 264 | + type: object |
| 265 | + type: object |
| 266 | + served: true |
| 267 | + storage: true |
| 268 | + subresources: |
| 269 | + status: {} |
| 270 | +status: |
| 271 | + acceptedNames: |
| 272 | + kind: "" |
| 273 | + plural: "" |
| 274 | + conditions: null |
| 275 | + storedVersions: null |
0 commit comments