4.8 KiB
4.8 KiB
KUBE / Options
Options
Options in script
config.sh
assetsPath- Directory assets (for script)dataPath- Directory data (for script)namespace- Default kubernetes namespacehostname- Hostname serverbasePath- Base path for all resourcesolsVhostsPath- Directory for vhostsdomainsList- File with domains list
k3sCmd- Path to k3s on hostk3sReadyRetries- Number of attempts to check k3s readinessk3sReadySleep- Pause between attempts
redisKube- Redis identifier in k3sredisSentinelKube- Redis Sentinel identifier in k3sredisYaml- Path to file template YAML for RedisredisPath- Directory for Redis configurationredisFileUsersAcl- Filename for users in RedisredisRootPass- Redis password
mariadbKube- MariaDB identifier in k3smariadbMasterKube- MariaDB Master node identifier in k3smariadbSlaveKube- MariaDB Slave node identifier in k3smariadbYaml- Path to file template YAML for MariaDBmariadbMasterPath- Directory for MariaDB Master node (replica)mariadbSlavePath- Directory for MariaDB Slave node (replica)mariadbRootPass- MariaDB root password
olsKube- Openlitespeed identifier in k3solsYaml- Path to file template YAML for OpenLiteSpeedolsPath- Directory for OpenLiteSpeed configurationolsAdminPath- Directory for OpenLiteSpeed Admin configurationolsConfigFile- OpenLiteSpeed configuration fileolsVhostsConfigPath- Directory for vhosts configuration filesolsAdminPass- OpenLiteSpeed admin panel password
postfixKube- Postfix identifier in k3spostfixYaml- Path to file template YAML for PostfixpostfixPath- Directory for PostfixpostfixConfigPath- Directory for Postfix configurationpostfixDkimPath- Directory for Postfix DKIMpostfixTlsCrtFile- File TLS certificate (if not specified, a self-signed one will be generated)postfixTlsKey- Fil TLS key (if not specified, a self-signed one will be generated)postfixHost- Host for MTApostfixPostmaster- Postmaster (email) for MTApostfixDefaultRealm- Default realm for MTApostfixDkimSelector- Selector DKIMpostfixDomainsFile- File of Domains listpostfixAliasesFile- File of Aliases listpostfixSendersFile- File of Senders listpostfixIp- IP address for MTA
workerKube- Worker identifier in k3sworkerYaml- Path to file template YAML for WorkerworkerPath- Directory for WorkerworkerAgentPath- Path to directory with agent scriptworkerTasksPath- Path to directory with tasks-filesworkerFilesPath- Path to directory with loading filesworkerName- Worker nameworkerApiUrl- URL to APIworkerApiGettingPause- Pause between requests for a new taskworkerApiSendingPause- Pause between sending task statuses
logPath- Directory journals (for script)logFile- Log file name format
backupPath- Directory for backups on current hostbackupLogPath- Directory for backups logsbackupType- Backup Type (rsync, archive)backupFirst- Directory name for the first backup of the daybackupDays- Number of last days of backup storage (excluding current day backups)backupMask- A mask for selecting backup storage day directories (must matchscriptDate)backupLongTermPath- Directory for long-term backupsbackupLongTermDays- Minimum number of days for a long-term backup.backupExcludeFile- List of files and directories that were excluded during backupbackupExcludeList- List of files and directories that should be excluded during backupbackupFileSizeMin- Minimum archive size during verification (bytes)backupElapsedMax- Maximum time elapsed since the last backup was created (min)
storagePath- Directory for backups on external storagestorageType- Directory external storage (rsync, ssh)storageDays- Number of last days of backup storage on external storage (excluding current day backups)
rsyncUri- URI (format:user@server[:port][/path]) (for rSync)rsyncPassFile- File with password (for rSync)rsyncPath- Directory for backups on external storage (for rSync)
ftpHost- Hostname (for FTP)ftpPort- Port (for FTP)ftpUser- Username (for FTP)ftpPass- Password (for FTP)ftpPath- Directory for backups on external storage (for FTP)
sshHost- Hostname (for SSH)sshUser- Username (for SSH)sshKeyFile- Public key file (for SSH)sshPath- Directory for backups on external storage (for SSH)
reportFile- Filename for reportsreportMask- Report filename mask
mailTo- Email for sending reports (to)mailFrom- Email for sending reports (from)
cronJobs- Jobs for adding to CRON
diskUsedSpaceLimit- Limiting the disk space used (%)