Generic Plugin Parameters
EnterpriseBacula Enterprise Only
This solution is only available for Bacula Enterprise. For subscription inquiries, please reach out to sales@baculasystems.com.
The following OpenShift Plugin parameters affect any type of Job (Backup, Estimate, or Restore).
- abort_on_error[=<0 or 1>]
specifies whether or not the plugin should abort execution (and the Bacula Job) if a fatal error occurs during a Backup, Estimate, or Restore operation. If not specified, the default value is 0.
This parameter is optional.
- config=</path/to/file>
points to the location of the config file which defines how to connect to the OpenShift cluster. Please check the OpenShift documentation for more details about the kubeconfig file. If this directive is omitted and no other access method is configured then a default config file location will be used -
$HOME/.kube/config.This parameter is optional.
- incluster
if this directive is defined then a standard in-cluster access to the OpenShift API will be used. This option should be used only when the Bacula File Daemon and OpenShift Plugin are deployed as an OpenShift cluster service in a Pod. In this case, OpenShift itself will provide the required access credentials. This option won’t work when executed outside of an OpenShift cluster and services.
This parameter is optional.
- host=<url-openshift-api>
defines an OpenShift API url. This option is used only with token parameter described below. If this option is specified, then both parameters are required.
This parameter is optional.
- token=<bearer-token>
defines a
Bearertokenused for authorization to the OpenShift API available at host=<url-openshift-api>. This option is used only with host parameter described above. You can read more about this type of authentication at: https://swagger.io/docs/specification/authentication/bearer-authentication/This parameter is optional.
- verify_ssl[=<0 or 1>]
specifies whether or not the plugin should verify an OpenShift API certificate when the connection uses SSL/TLS. If set to verify_ssl=0 then verification will be disabled. This is useful when connecting to an OpenShift API server with a self-signed certificate. The default behavior if this parameter if not set is to perform proper certificate validation.
This parameter is optional.
- ssl_ca_cert=</path/to/file>
specifies a file with the CA certificate used to customize the OpenShift API server identity to verify the peer.
This parameter is optional.
- timeout=<seconds>
specifies the number of seconds for various network operations. Examples include: waiting for Bacula Backup Proxy Pod connection or OpenShift API operations, waiting for Pod execution or removal. The default is 600 seconds. The minimum timeout you may set is 1 second. When an invalid value is set the default will be used.
This parameter is optional.
- debug[=1]
specifies that the plugin backend will generate an execution debug file at location
/bacula/working/backendplugin/. This file can help with troubleshooting the job execution if something goes wrong. If not defined then no debug file will be generated.This parameter is optional.
See also
Next articles:
Go back to: OpenShift: Configuration.