You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Simon <go...@163.com> on 2022/06/16 11:57:58 UTC

connect k8s failed

hi,
   env
       1. guac run in docker, with mysql mode
       2. k8s create by kind, signle node cluster.




$ kubectl cluster-info --context kind-test
Kubernetes control plane is running at https://127.0.0.1:61026
CoreDNS is running at https://127.0.0.1:61026/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy


$ kubectl get pods
NAME        READY   STATUS    RESTARTS   AGE
nginx-pod   1/1     Running   0          27m




There is no other configs for the link. But failed to connect target.
k8s' ca and key come from .kube/config.


guacd err msg
guacd[1132]: INFO:      User "@17b5870f-41f3-4875-b581-40d1dd50c67e" joined connection "$391617a2-aa14-4505-9a69-a0149fd9befc" (1 users now present)
guacd[1132]: ERROR:     Error connecting to Kubernetes server: (no error description available)
guacd[1132]: INFO:      User "@17b5870f-41f3-4875-b581-40d1dd50c67e" disconnected (0 users remain)
guacd[1132]: INFO:      Last user of connection "$391617a2-aa14-4505-9a69-a0149fd9befc" disconnected
guacd[1132]: INFO:      Kubernetes connection ended.
guacd[11]: INFO:        Connection "$391617a2-aa14-4505-9a69-a0149fd9befc" removed.




please give me a hand, thx.










Re:connect k8s failed

Posted by Simon <go...@163.com>.
solved. Network issue.


but, when i enter, just black screen, nothing can do. pod is running nginx.

confusing




pls tell me something










thx. all
























At 2022-06-16 19:57:58, "Simon" <go...@163.com> wrote:

hi,
   env
       1. guac run in docker, with mysql mode
       2. k8s create by kind, signle node cluster.




$ kubectl cluster-info --context kind-test
Kubernetes control plane is running at https://127.0.0.1:61026
CoreDNS is running at https://127.0.0.1:61026/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy


$ kubectl get pods
NAME        READY   STATUS    RESTARTS   AGE
nginx-pod   1/1     Running   0          27m




There is no other configs for the link. But failed to connect target.
k8s' ca and key come from .kube/config.


guacd err msg
guacd[1132]: INFO:      User "@17b5870f-41f3-4875-b581-40d1dd50c67e" joined connection "$391617a2-aa14-4505-9a69-a0149fd9befc" (1 users now present)
guacd[1132]: ERROR:     Error connecting to Kubernetes server: (no error description available)
guacd[1132]: INFO:      User "@17b5870f-41f3-4875-b581-40d1dd50c67e" disconnected (0 users remain)
guacd[1132]: INFO:      Last user of connection "$391617a2-aa14-4505-9a69-a0149fd9befc" disconnected
guacd[1132]: INFO:      Kubernetes connection ended.
guacd[11]: INFO:        Connection "$391617a2-aa14-4505-9a69-a0149fd9befc" removed.




please give me a hand, thx.