profile
viewpoint

fork cdtft/cli

A simple, fast, and fun package for building command line apps in Go

fork in a month

PR opened goodrain/rainbond

拼写错误
+4 -4

0 comment

3 changed files

pr created time in a month

push eventcdtft/rainbond

wangcheng

commit sha 6f3c1c7fb6d2d28f7a5f8c60b1bfb74d192bfe3f

:ok_hand: 拼写错误

view details

push time in a month

PR closed goodrain/rainbond

拼写错误
+1 -1

0 comment

1 changed file

cdtft

pr closed time in a month

PR opened goodrain/rainbond

拼写错误
+1 -1

0 comment

1 changed file

pr created time in a month

push eventcdtft/rainbond

wangcheng

commit sha 8e5546d161c552b94ae2e8e31fdbee5bcd43c15a

拼写错误

view details

push time in a month

fork cdtft/rainbond

Enterprise application cloud operating system(企业应用云操作系统)

http://www.rainbond.com

fork in a month

fork cdtft/moby

Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

https://mobyproject.org/

fork in a month

push eventcdtft/netty_learn

wangcheng

commit sha b45abc4f750e03cb2b250f1fd8ae8c3f9a009f8d

nio

view details

wangcheng

commit sha 3c7e47187fc7e229b4826c020fc2e5593741a6de

Merge branch 'master' of https://github.com/cdtft/netty_learn

view details

wangcheng

commit sha 08cf7c84df6367afa800c770ba933338bfe50cf6

nio simple example

view details

push time in 2 months

issue closedfabric8io/kubernetes-client

How can I init the KubernetesClient?

       Config config = new ConfigBuilder()
                .withMasterUrl("https://172.16.56.89:6443")
                .withApiVersion("1.13")
                .withOauthToken(token)
                .build();
        KubernetesClient client = new DefaultKubernetesClient(config);
        PodList podList = client.pods().inNamespace("49").list();
        for (Pod pod : podList.getItems()) {
            System.out.println(JsonUtil.prettyPrintObject(pod));
        }

But there has been a failure that made me feel bad

io.fabric8.kubernetes.client.KubernetesClientException: Operation: [list]  for kind: [Pod]  with name: [null]  in namespace: [49]  failed.

	at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:64)
	at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:72)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.listRequestHelper(BaseOperation.java:149)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.list(BaseOperation.java:612)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.list(BaseOperation.java:63)
	at cn.cechealth.platform.etl.paas.kubernetes.CreateNamespaceTest.testJavaClient(CreateNamespaceTest.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74)
	at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
	at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
	at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
	at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
	at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1639)
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
	at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:281)
	at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:251)
	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:151)
	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:195)
	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121)
	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at io.fabric8.kubernetes.client.utils.BackwardsCompatibilityInterceptor.intercept(BackwardsCompatibilityInterceptor.java:119)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at io.fabric8.kubernetes.client.utils.ImpersonatorInterceptor.intercept(ImpersonatorInterceptor.java:68)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at io.fabric8.kubernetes.client.utils.HttpClientUtils.lambda$createHttpClient$3(HttpClientUtils.java:110)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185)
	at okhttp3.RealCall.execute(RealCall.java:69)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:404)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:365)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:347)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.listRequestHelper(BaseOperation.java:145)
	... 33 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:362)
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:270)
	at sun.security.validator.Validator.validate(Validator.java:262)
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1621)
	... 72 more
Caused by: java.security.cert.CertPathValidatorException: signature check failed
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:233)
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:141)
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:80)
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357)
	... 78 more
Caused by: java.security.SignatureException: Signature does not match.
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:449)
	at sun.security.provider.certpath.BasicChecker.verifySignature(BasicChecker.java:166)
	at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:147)
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125)
	... 83 more

closed time in 2 months

cdtft

issue commentfabric8io/kubernetes-client

How can I init the KubernetesClient?

When having issues with certificates setting

KUBERNETES_TRUST_CERTIFICATES=true

usually helps. thank you for your reply. I solved this problem earlier. i setting caCertData when i init kubernetes client. like this:

Config config = new ConfigBuilder()
                .withCaCertData(caCert)
                .withOauthToken(token)
                .withMasterUrl(masterUrl)
                .build();

I will try your suggestion.

cdtft

comment created time in 2 months

startedingokegel/jclasslib

started time in 2 months

push eventcdtft/netty_learn

wangcheng

commit sha 274dfe1748e0985c60ba4f39de8ffa61cdf5e85b

add protocolbuffer message

view details

push time in 2 months

push eventcdtft/netty_learn

wangcheng

commit sha d99e3e6f91f6a931fb14402e5dc6074ca69d50d3

modify package

view details

push time in 2 months

push eventcdtft/netty_learn

wangcheng

commit sha bbfc63447d3c51ff2026abf774c06b44d1955aae

modify some javascript

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha 0c6c031d27d11c4767e5de4ac819bcdfd2eda993

websocket

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha c71930779f75db722810b6419967b7c0cc32f521

websocket

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha acb61faa8409bdd8586eacbc5ae086d76e1ddb59

rename websocket to socket

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha a4a252d825cc462554f85076c7432e284305d97a

heart beat server

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha a7aa1980cba1f115b107ac84ae258b0c93f2e995

聊天程序客户端,当客户端关闭的时候会有一个异常

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha 8b546018104415a8d05c6dffc77fb43c40dc7b0e

configur gradle setting java source dir

view details

push time in 3 months

startedalibaba/canal

started time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha e261a50d6f830de5cedc636a998492ef16e62e88

websocket client

view details

push time in 3 months

startedTencent/TubeMQ

started time in 3 months

startedfabric8io/kubernetes-client

started time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha 190e04a3fd0744b609e0cbb6eb46a76d3ba482d1

add readme

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha 3e3a8a24fc60c8d2b18f28d37d7ecd0554183665

websocket server example

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha 6b1a8cc653f94e8961ad839a88a7d3c8697110b8

refactor package

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha ba861dda364adf136bb23a53312f9f9da2cd9886

添加一些注释

view details

push time in 3 months

push eventcdtft/netty_learn

wangcheng

commit sha b175e05a6caef4df261e7a1ee54830da9d37b405

simple http server

view details

push time in 3 months

create barnchcdtft/netty_learn

branch : master

created branch time in 3 months

created repositorycdtft/netty_learn

created time in 3 months

push eventcdtft/CephMonitorAPI

wangcheng

commit sha a38a15f9133bf6b777d2159a959d6cc1479d171a

test

view details

wangcheng

commit sha aacaf42ecf8e148722df48fa30c1774c98eaf9d3

test

view details

wangcheng

commit sha 008562650dad54044b5bda92ad2c086311e23724

Merge branch 'master' of https://github.com/cdtft/CephMonitorAPI

view details

wangcheng

commit sha 3be7d0beaeae8c04cdcbc2c5e7b084949134cc38

test

view details

push time in 3 months

push eventcdtft/CephMonitorAPI

wangcheng

commit sha f9dd0d636a065a257a45ae28e70750f97d6a31c6

a

view details

push time in 3 months

more