MinIO Operator 环境变量
The MinIO Operator uses the following environment variables during startup to set configuration settings. Configure these variables in the minio-operator container.
在 Kubernetes 中设置环境变量
要设置这些环境变量,请修改 operator 容器的 yaml 在 .spec.env 或使用以下 kubectl 命令语法
kubectl set env -n minio-operator deployment/minio-operator <ENV_VARIABLE>=<value> ... <ENV_VARIABLE2>=<value2>
替换
minio-operatorwith the namespace for your Operator, if not using the default value.deployment/minio-operatorwith the deployment for your Operator, if not the default value. (Most deployments use the default value.)<ENV_VARIABLE>with the environment variable to set or modify.<value>with the value to use for the environment variable.
您可以通过用空格分隔每个 VARIABLE=value 对来设置或修改多个环境变量。
可用的 MinIO Operator 环境变量
- MINIO_OPERATOR_CERTIFICATES_VERSION
指定要使用的证书 API 版本。
有效值为
v1或v1beta1。如果未指定,则默认值为 Kubernetes 提供的 API。
- MINIO_OPERATOR_RUNTIME
指定要使用的运行时类型。
有效值为
EKS,Rancher, 或OpenShift. 如果不适用,请留空。当设置为
EKS时,MINIO_OPERATOR_CSR_SIGNER_NAME必须为beta.eks.amazonaws.com/app-serving。