Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nacos 同步 到K8S 失败 #12

Open
im-jinxinwang opened this issue Dec 18, 2024 · 0 comments
Open

Nacos 同步 到K8S 失败 #12

im-jinxinwang opened this issue Dec 18, 2024 · 0 comments

Comments

@im-jinxinwang
Copy link

DynamicConfiguration配置

apiVersion: nacos.io/v1
kind: DynamicConfiguration
metadata:
    name: dc-demo-server2cluster
spec:
  dataIds:
  - test123
  nacosServer:
    endpoint: omc-nacos.omc:8848  #注明: 这个svc开放了9848
    namespace: "test123"
    group: DEFAULT_GROUP
    authRef:
      apiVersion: v1
      kind: Secret
      name: nacos-auth
  strategy:
    syncPolicy: Always
    syncDirection: server2cluster
    syncDeletion: true
---
apiVersion: v1
kind: Secret
metadata:
    name: nacos-auth
data:
    ak: bmFjb3MK
    sk: bmFjb3MK

报错日志:

image
nacos配置信息
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant