Closed I-want-to-knowledge closed 1 year ago
e.g. Java 11.0.11 is normal
其中key是null,Jackson解析是会报错,是不是这个原因导致的??
I don't think this is a client error. But more importantly this looks like it is running in a unit test?
We need much more detail on the environment and the stacktraces to see if there is a problem here in the client, but I suspect that there's a problem with your server.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
@k8s-triage-robot: Closing this issue.
Describe the bug
Service discovery error
Client Version
e.g.
13.0.2
Kubernetes Version
e.g.
1.20.+
Java Version
e.g. Java 11.0.5
To Reproduce
1---------------
spring-boot-starter-parent:2.6.4 spring-cloud-dependencies:2021.0.1 spring-boot-starter-web spring-cloud-starter-openfeign spring-boot-starter-actuator feign-httpclient (io.github.openfeign) spring-cloud-starter-kubernetes-client-all
2------------------
--Dockerfile-- ... java -Djdk.tls.client.protocols=TLSv1.2 -jar /*.jar ...
3------------------
Expected behavior
Can request 'caas-core-svc', @ feignclient when no URL is configured! Automatic service discovery!
KubeConfig
ordinary system
Server (please complete the following information):
Additional context
Or provide the implementation principle document of service discovery