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

Cannot finish watch process successfully #465

Open
richie-tt opened this issue Nov 18, 2020 · 0 comments
Open

Cannot finish watch process successfully #465

richie-tt opened this issue Nov 18, 2020 · 0 comments

Comments

@richie-tt
Copy link

richie-tt commented Nov 18, 2020

Hi,
I trying to start working with KSync, but it crash in loop. I tried to use both guides k8s doc and github but still I have some problems when I run ksync watch -n dok

I did following commands:

❯ ksync init -n dok
==== Preflight checks ====
Cluster Config                              ✓
Cluster Connection                          ✓
Cluster Version                             ✓
Cluster Permissions                         ✓

==== Cluster Environment ====
Adding ksync to the cluster                 ✓
Waiting for pods to be healthy              ✓

==== Postflight checks ====
Cluster Service                             ✓
Service Health                              ✓
Service Version                             ✓
Docker Version                              ✓
Docker Storage Driver                       ✓
Docker Storage Root                         ✓

==== Initialization Complete ====

And I see a new pods in kube-system namespace

kube-system            ksync-ccsxt                                    2/2     Running     0          15m
kube-system            ksync-jkrd5                                    2/2     Running     0          15m
kube-system            ksync-zwl8q                                    2/2     Running     0          15m

Now when I start the ksync watch -n dok I have following results

❯ ksync watch -n dok
INFO[0000] new pod detected                              pod=default-http-backend-75b5c88cd6-nkk9l spec=busy-pheasant
INFO[0000] new pod detected                              pod=knode-d9df4bff7-7fhw6 spec=close-hog
INFO[0000] listening                                     bind=127.0.0.1 port=40322
ERRO[0006] context deadline exceeded                     ContainerName= LocalPath=/file/ksync LocalReadOnly=false Name=busy-pheasant Namespace=default Pod=knode-d9df4bff7-7fhw6 Reload=true RemotePath=/ RemoteReadOnly=false Selector="[]"
ERRO[0006] context deadline exceeded                     ContainerName= LocalPath=/file/ksync LocalReadOnly=false Name=close-hog Namespace=app Pod=knode-d9df4bff7-7fhw6 Reload=true RemotePath=/ RemoteReadOnly=false Selector="[]"
INFO[0006] new pod detected                              pod=aerospike-server-7ffb885f8b-rcnh9 spec=close-hog
ERRO[0012] context deadline exceeded                     ContainerName= LocalPath=/file/ksync LocalReadOnly=false Name=close-hog Namespace=app Pod=knode-d9df4bff7-7fhw6 Reload=true RemotePath=/ RemoteReadOnly=false Selector="[]"
INFO[0012] new pod detected                              pod=klist-7f5c6998-4pkjj spec=close-hog
FATA[0014] Get "http://localhost:8384/rest/system/config": dial tcp [::1]:8384: connect: connection refused 

Can You please give me a TIP what I should check to fix this issue.

MyKSync version is

❯ ksync version
ksync:
Version:    Release
Go Version: go1.14.4
Git Commit: 9f40bf1
Git Tag:    0.4.5
Built:      Tue Jun 30 06:36:57 +0000 2020
OS/Arch:    linux/amd64
service:
Version:    Release
Go Version: go1.14.4
Git Commit: 9f40bf1
Git Tag:    0.4.5
Built:      Tue Jun 30 06:40:33 +0000 2020

Kubernetes Version is 1.17.11

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