https://www.xuxueli.com/xxl-job/
下载项目源码并解压,获取 “调度数据库初始化SQL脚本” 并执行即可
数据库初始化SQL脚本位置: /xxl-job/doc/db/tables_xxl_job.sql
Secret
apiVersion:v1data:mysql.database:eHhsX2pvYg==mysql.password:VFNIQG5hY29zZGIjMjAyNWxhbg==mysql.url:eHhsLWpvYi1hZG1pbi5zcHJpbmcuZGF0YXNvdXJjZS51cmw=mysql.user:eHhsLWpvYg==kind:Secretmetadata:labels:app:xxl-job-adminname:xxl-job-admin-credsnamespace:defaulttype:OpaqueConfigMap
apiVersion:v1data:application.yaml:|-management:health:mail:enabled:falseserver:servlet:context-path:/actuatormybatis:mapper-locations:classpath:/mybatis-mapper/*Mapper.xmlserver:port:8080servlet:context-path:/xxl-job-adminspring:datasource:driver-class-name:com.mysql.cj.jdbc.Driverhikari:auto-commit:trueconnection-test-query:SELECT 1connection-timeout:10000idle-timeout:30000max-lifetime:900000maximum-pool-size:30minimum-idle:10pool-name:HikariCPvalidation-timeout:1000password:xxxxxxtype:com.zaxxer.hikari.HikariDataSourceurl:jdbc:mysql://x.x.x.x:3306/xxl_job?useUnicode=true&useSSL=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=UTCusername:xxl_jobfreemarker:charset:UTF-8request-context-attribute:requestsettings:number_format:0.##########suffix:.ftltemplateLoaderPath:classpath:/templates/mail:properties:mail:smtp:auth:truesocketFactory:class:javax.net.ssl.SSLSocketFactorystarttls:enable:truerequired:truemvc:servlet:load-on-startup:0static-path-pattern:/static/**resources:static-locations:classpath:/static/xxl:job:accessToken:LUX9CiMlatGviDtzLCTBJo4eElani18n:zh_CNlogretentiondays:10triggerpool:fast:max:200slow:max:100kind:ConfigMapmetadata:labels:app:xxl-job-adminname:xxl-job-admin-confignamespace:defaultDeployment
apiVersion:apps/v1kind:Deploymentmetadata:labels:app:xxl-job-adminname:xxl-job-adminnamespace:defaultspec:replicas:1selector:matchLabels:app:xxl-job-admintemplate:metadata:labels:app:xxl-job-adminspec:containers:-env:-name:SPRING_CONFIG_IMPORTvalue:optional:configtree:/var/run/secrets/spring/-name:TZvalue:Asia/Shanghaiimage:xuxueli/xxl-job-adminimagePullPolicy:IfNotPresentlivenessProbe:failureThreshold:3httpGet:path:/xxl-job-admin/actuator/health/livenessport:httpscheme:HTTPperiodSeconds:10successThreshold:1timeoutSeconds:1name:xxl-job-adminports:-containerPort:8080name:httpprotocol:TCPreadinessProbe:failureThreshold:3httpGet:path:/xxl-job-admin/actuator/health/readinessport:httpscheme:HTTPperiodSeconds:10successThreshold:1timeoutSeconds:1resources:limits:cpu:"1"memory:2Girequests:cpu:"1"memory:2GistartupProbe:failureThreshold:30httpGet:path:/xxl-job-admin/actuator/health/livenessport:httpscheme:HTTPinitialDelaySeconds:15periodSeconds:10successThreshold:1timeoutSeconds:1volumeMounts:-mountPath:/configname:config-mountPath:/var/run/secrets/spring/name:creds-mountPath:/etcname:timezone-confsubPath:timezoneimagePullSecrets:-name:default-secretinitContainers:-command:-cp--rf-/usr/share/zoneinfo/Asia/Shanghai-/etc/localtimeimage:xuxueli/xxl-job-adminimagePullPolicy:IfNotPresentname:change-timezonevolumeMounts:-mountPath:/etcname:timezone-confsubPath:timezonerestartPolicy:Alwaysvolumes:-configMap:defaultMode:420name:xxl-job-admin-configname:config-name:credssecret:defaultMode:420secretName:xxl-job-admin-creds-emptyDir:{}name:timezone-confService
apiVersion:v1kind:Servicemetadata:labels:app:xxl-job-adminname:xxl-job-adminnamespace:defaultspec:allocateLoadBalancerNodePorts:trueexternalTrafficPolicy:ClusterinternalTrafficPolicy:Clusterports:-name:httpnodePort:30970port:32765protocol:TCPtargetPort:8080selector:app:xxl-job-admintype:LoadBalancer