mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Final changes to config sub-system (#8600)
- Introduces changes such as certain types of errors that can be ignored or which need to go into safe mode. - Update help text as per the review
This commit is contained in:
committed by
kannappanr
parent
794eb54da8
commit
c9940d8c3f
@@ -74,9 +74,9 @@ minio server /data
|
||||
|
||||
| Field | Type | Description |
|
||||
|:-------------------------------|:---------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| ``storageclass`` | | Set storage class for configurable data and parity, as per object basis. |
|
||||
| ``storageclass standard=EC:4`` | _string_ | Value for standard storage class. It should be in the format `EC:Parity`, for example to set 4 disk parity for standard storage class objects, set this field to `EC:4`. |
|
||||
| ``storageclass rrs=EC:2`` | _string_ | Value for reduced redundancy storage class. It should be in the format `EC:Parity`, for example to set 3 disk parity for reduced redundancy storage class objects, set this field to `EC:3`. |
|
||||
| ``storage_class`` | | Set storage class for configurable data and parity, as per object basis. |
|
||||
| ``storage_class standard=EC:4`` | _string_ | Value for standard storage class. It should be in the format `EC:Parity`, for example to set 4 disk parity for standard storage class objects, set this field to `EC:4`. |
|
||||
| ``storage_class rrs=EC:2`` | _string_ | Value for reduced redundancy storage class. It should be in the format `EC:Parity`, for example to set 3 disk parity for reduced redundancy storage class objects, set this field to `EC:3`. |
|
||||
|
||||
By default, parity for objects with standard storage class is set to `N/2`, and parity for objects with reduced redundancy storage class objects is set to `2`. Read more about storage class support in MinIO server [here](https://github.com/minio/minio/blob/master/docs/erasure/storage-class/README.md).
|
||||
|
||||
|
||||
@@ -1,340 +0,0 @@
|
||||
{
|
||||
"cache": {
|
||||
"_": {
|
||||
"drives": "",
|
||||
"exclude": "",
|
||||
"expiry": "90",
|
||||
"quota": "80",
|
||||
"state": "off"
|
||||
}
|
||||
},
|
||||
"compression": {
|
||||
"_": {
|
||||
"extensions": ".txt,.log,.csv,.json,.tar,.xml,.bin",
|
||||
"mime_types": "text/*,application/json,application/xml",
|
||||
"state": "off"
|
||||
}
|
||||
},
|
||||
"identity_ldap": {
|
||||
"_": {
|
||||
"group_name_attribute": "",
|
||||
"group_search_base_dn": "",
|
||||
"group_search_filter": "",
|
||||
"server_addr": "",
|
||||
"state": "off",
|
||||
"sts_expiry": "",
|
||||
"username_format": ""
|
||||
}
|
||||
},
|
||||
"identity_openid": {
|
||||
"_": {
|
||||
"config_url": "http://localhost:8080/auth/realms/demo/.well-known/openid-configuration",
|
||||
"state": "on"
|
||||
}
|
||||
},
|
||||
"kms_vault": {
|
||||
"_": {
|
||||
"auth_approle_id": "",
|
||||
"auth_approle_secret": "",
|
||||
"auth_type": "",
|
||||
"capath": "",
|
||||
"endpoint": "",
|
||||
"key_name": "",
|
||||
"key_version": "0",
|
||||
"namespace": "",
|
||||
"state": "off"
|
||||
}
|
||||
},
|
||||
"logger_http": {
|
||||
"1": {
|
||||
"auth_token": "",
|
||||
"endpoint": "",
|
||||
"state": "off"
|
||||
},
|
||||
"_": {
|
||||
"auth_token": "",
|
||||
"endpoint": "",
|
||||
"state": "off"
|
||||
}
|
||||
},
|
||||
"logger_http_audit": {
|
||||
"_": {
|
||||
"auth_token": "",
|
||||
"endpoint": "",
|
||||
"state": "off"
|
||||
}
|
||||
},
|
||||
"notify_amqp": {
|
||||
"1": {
|
||||
"auto_deleted": "off",
|
||||
"delivery_mode": "0",
|
||||
"durable": "off",
|
||||
"exchange": "",
|
||||
"exchange_type": "",
|
||||
"internal": "off",
|
||||
"mandatory": "off",
|
||||
"no_wait": "off",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"routing_key": "",
|
||||
"state": "off",
|
||||
"url": ""
|
||||
},
|
||||
"_": {
|
||||
"auto_deleted": "off",
|
||||
"delivery_mode": "0",
|
||||
"durable": "off",
|
||||
"exchange": "",
|
||||
"exchange_type": "",
|
||||
"internal": "off",
|
||||
"mandatory": "off",
|
||||
"no_wait": "off",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"routing_key": "",
|
||||
"state": "off",
|
||||
"url": ""
|
||||
}
|
||||
},
|
||||
"notify_elasticsearch": {
|
||||
"1": {
|
||||
"format": "namespace",
|
||||
"index": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off",
|
||||
"url": ""
|
||||
},
|
||||
"_": {
|
||||
"format": "namespace",
|
||||
"index": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off",
|
||||
"url": ""
|
||||
}
|
||||
},
|
||||
"notify_kafka": {
|
||||
"1": {
|
||||
"brokers": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"sasl_enable": "off",
|
||||
"sasl_password": "",
|
||||
"sasl_username": "",
|
||||
"state": "off",
|
||||
"tls_client_auth": "0",
|
||||
"tls_enable": "off",
|
||||
"tls_skip_verify": "off",
|
||||
"topic": ""
|
||||
},
|
||||
"_": {
|
||||
"brokers": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"sasl_enable": "off",
|
||||
"sasl_password": "",
|
||||
"sasl_username": "",
|
||||
"state": "off",
|
||||
"tls_client_auth": "0",
|
||||
"tls_enable": "off",
|
||||
"tls_skip_verify": "off",
|
||||
"topic": ""
|
||||
}
|
||||
},
|
||||
"notify_mqtt": {
|
||||
"1": {
|
||||
"broker": "",
|
||||
"keep_alive_interval": "0s",
|
||||
"password": "",
|
||||
"qos": "0",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"reconnect_interval": "0s",
|
||||
"state": "off",
|
||||
"topic": "",
|
||||
"username": ""
|
||||
},
|
||||
"_": {
|
||||
"broker": "",
|
||||
"keep_alive_interval": "0s",
|
||||
"password": "",
|
||||
"qos": "0",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"reconnect_interval": "0s",
|
||||
"state": "off",
|
||||
"topic": "",
|
||||
"username": ""
|
||||
}
|
||||
},
|
||||
"notify_mysql": {
|
||||
"1": {
|
||||
"database": "",
|
||||
"dsn_string": "",
|
||||
"format": "namespace",
|
||||
"host": "",
|
||||
"password": "",
|
||||
"port": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off",
|
||||
"table": "",
|
||||
"username": ""
|
||||
},
|
||||
"_": {
|
||||
"database": "",
|
||||
"dsn_string": "",
|
||||
"format": "namespace",
|
||||
"host": "",
|
||||
"password": "",
|
||||
"port": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off",
|
||||
"table": "",
|
||||
"username": ""
|
||||
}
|
||||
},
|
||||
"notify_nats": {
|
||||
"1": {
|
||||
"address": "",
|
||||
"password": "",
|
||||
"ping_interval": "0",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"secure": "off",
|
||||
"state": "off",
|
||||
"streaming_async": "off",
|
||||
"streaming_cluster_id": "",
|
||||
"streaming_enable": "off",
|
||||
"streaming_max_pub_acks_in_flight": "0",
|
||||
"subject": "",
|
||||
"token": "",
|
||||
"username": ""
|
||||
},
|
||||
"_": {
|
||||
"address": "",
|
||||
"password": "",
|
||||
"ping_interval": "0",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"secure": "off",
|
||||
"state": "off",
|
||||
"streaming_async": "off",
|
||||
"streaming_cluster_id": "",
|
||||
"streaming_enable": "off",
|
||||
"streaming_max_pub_acks_in_flight": "0",
|
||||
"subject": "",
|
||||
"token": "",
|
||||
"username": ""
|
||||
}
|
||||
},
|
||||
"notify_nsq": {
|
||||
"1": {
|
||||
"nsqd_address": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off",
|
||||
"tls_enable": "off",
|
||||
"tls_skip_verify": "off",
|
||||
"topic": ""
|
||||
},
|
||||
"_": {
|
||||
"nsqd_address": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off",
|
||||
"tls_enable": "off",
|
||||
"tls_skip_verify": "off",
|
||||
"topic": ""
|
||||
}
|
||||
},
|
||||
"notify_postgres": {
|
||||
"1": {
|
||||
"connection_string": "",
|
||||
"database": "",
|
||||
"format": "namespace",
|
||||
"host": "",
|
||||
"password": "",
|
||||
"port": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off",
|
||||
"table": "",
|
||||
"username": ""
|
||||
},
|
||||
"_": {
|
||||
"connection_string": "",
|
||||
"database": "",
|
||||
"format": "namespace",
|
||||
"host": "",
|
||||
"password": "",
|
||||
"port": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off",
|
||||
"table": "",
|
||||
"username": ""
|
||||
}
|
||||
},
|
||||
"notify_redis": {
|
||||
"1": {
|
||||
"address": "",
|
||||
"format": "namespace",
|
||||
"key": "",
|
||||
"password": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off"
|
||||
},
|
||||
"_": {
|
||||
"address": "",
|
||||
"format": "namespace",
|
||||
"key": "",
|
||||
"password": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off"
|
||||
}
|
||||
},
|
||||
"notify_webhook": {
|
||||
"1": {
|
||||
"endpoint": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off"
|
||||
},
|
||||
"_": {
|
||||
"auth_token": "",
|
||||
"endpoint": "",
|
||||
"queue_dir": "",
|
||||
"queue_limit": "0",
|
||||
"state": "off"
|
||||
}
|
||||
},
|
||||
"policy_opa": {
|
||||
"_": {
|
||||
"auth_token": "",
|
||||
"state": "off",
|
||||
"url": ""
|
||||
}
|
||||
},
|
||||
"region": {
|
||||
"_": {
|
||||
"name": "us-east-1"
|
||||
}
|
||||
},
|
||||
"storageclass": {
|
||||
"_": {
|
||||
"rrs": "",
|
||||
"standard": "",
|
||||
"state": "off"
|
||||
}
|
||||
},
|
||||
"worm": {
|
||||
"_": {
|
||||
"state": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user