Open im-jinxinwang opened 1 year ago
I solved the ipv6 unreachable problem with this configuration, but if my cluster is dual stack, that means I can only selectively configure one, right?
apiVersion: apps/v1
kind: Deployment
metadata:
name: xxl-job-admin
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: xxl-job-admin
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: xxl-job-admin
spec:
containers:
- env:
- name: PARAMS
value: '--spring.datasource.url=jdbc:mysql://address=(protocol=tcp)(host=2001:db8:42:1::bdda)(port=3306)/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai --spring.datasource.username=root --spring.datasource.password=root'
#value: "--spring.datasource.url=jdbc:mysql://10.244.33.69:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai --spring.datasource.username=root --spring.datasource.password=root"
image: xuxueli/xxl-job-admin:2.4.0
imagePullPolicy: Always
name: xxl-job-admin
ports:
- containerPort: 8080
protocol: TCP
resources: {}
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
骚气的还发英文,这部阻碍我们解决问题的速度吗
Please answer some questions before submitting your issue. Thanks!
Which version of XXL-JOB do you using?
xxl-job 2.4.0
Other information
I want to use ipv6 address to connect to mysql, how do I configure it?
ERROR LOG: