I am using this command to intercep the service:
telepresence intercept chat-server-service --port 8002:8002 --env-file ./env
how do I terminate the intercept safety? I check the intercept command:
telepresence intercept --help
did not found the exists command. I also tried to kill the process but could not found which process should I kill:
> ps aux|grep intercept
xiaoqiangjiang 30747 0.0 0.0 408626880 1312 s009 S+ 1:48PM 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox intercept
> ps aux|grep telepresence
xiaoqiangjiang 78916 0.3 0.3 413777600 88416 ?? S Tue12PM 9:46.96 /opt/homebrew/bin/telepresence connector-foreground
root 78937 0.1 0.2 413599888 81328 ?? S Tue12PM 6:10.95 /opt/homebrew/bin/telepresence daemon-foreground /Users/xiaoqiangjiang/Library/Logs/telepresence /Users/xiaoqiangjiang/Library/Application Support/telepresence
xiaoqiangjiang 49214 0.0 0.0 408627424 336 s008 S+ 11:07PM 0:00.01 bash ./macbook-backup-full-reddwarf-dolphin-telepresence.sh
root 78936 0.0 0.0 408646448 2848 ?? S Tue12PM 0:00.01 sudo --non-interactive /opt/homebrew/bin/telepresence daemon-foreground /Users/xiaoqiangjiang/Library/Logs/telepresence /Users/xiaoqiangjiang/Library/Application Support/telepresence
xiaoqiangjiang 30771 0.0 0.0 408626880 1312 s009 S+ 1:48PM 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox telepresence
what should I do to terminal the telepresence process safety? Today I have tried the leave command with current service infra-server-service
:
telepresence leave infra-server-service
but the server side still output this log:
traffic-agent 2024-05-15 14:58:20.0369 info envoy-server : Management server listening on 18000 │
│ traffic-agent │
│ traffic-agent 2024-05-15 14:58:20.0377 info envoy : started command ["envoy" "-l" "warning" "-c" "bootstrap-ads.pb" "--base-id" "1"] : dexec.pid="13" │
│ traffic-agent 2024-05-15 14:58:20.0377 info envoy : : dexec.pid="13" dexec.stream="stdin" dexec.err="EOF" │
│ traffic-agent 2024-05-15 14:58:20.0926 info sidecar : probing for HTTP/2 support using fallback false... : base-url="http://127.0.0.1:8081" │
│ traffic-agent 2024-05-15 14:58:20.0932 info sidecar : HTTP/2 support = false : base-url="http://127.0.0.1:8081" │
│ traffic-agent 2024-05-15 14:58:20.0969 info sidecar : Connected to Manager 2.19.4 │
│ traffic-agent 2024-05-15 14:58:20.1107 info sidecar : LoadConfig: asking traffic-manager for license information... │
│ traffic-agent 2024-05-15 14:58:20.1112 error sidecar : error(s) getting license: license not found │
│ traffic-agent 2024-05-15 14:58:20.1113 info sidecar : LoadConfig: asking traffic-manager for Ambassador Cloud configuration... │
│ traffic-agent 2024-05-15 14:58:20.1118 info sidecar : trying to connect to ambassador cloud at app.getambassador.io:443 │
│ traffic-agent 2024-05-15 14:58:20.3256 info sidecar : connected to ambassador cloud at app.getambassador.io:443 │
│ traffic-agent 2024-05-15 15:02:43.4839 error sidecar/handleIntercept : !! CLI tcp 127.0.0.1:51726 -> 127.0.0.1:8081, read from grpc.ClientStream failed: rpc error: code = DeadlineExceeded desc = timeout while esta │
│ traffic-agent 2024-05-15 15:02:53.4773 error sidecar/handleIntercept : !! CLI tcp 127.0.0.1:34598 -> 127.0.0.1:8081, read from grpc.ClientStream failed: rpc error: code = DeadlineExceeded desc = timeout while esta │
│ traffic-agent 2024-05-15 15:03:03.6010 error sidecar/handleIntercept : !! CLI tcp 127.0.0.1:50470 -> 127.0.0.1:8081, read from grpc.ClientStream failed: rpc error: code = DeadlineExceeded desc = timeout while esta │
│ traffic-agent 2024-05-15 15:03:23.4768 error sidecar/handleIntercept : !! CLI tcp 127.0.0.1:53092 -> 127.0.0.1:8081, read from grpc.ClientStream failed: rpc error: code = DeadlineExceeded desc = timeout while esta │
│ traffic-agent 2024-05-15 15:03:33.4797 error sidecar/handleIntercept : !! CLI tcp 127.0.0.1:47944 -> 127.0.0.1:8081, read from grpc.ClientStream failed: rpc error: code = DeadlineExceeded desc = timeout while esta │
│ traffic-agent 2024-05-15 15:03:43.4821 error sidecar/handleIntercept : !! CLI tcp 127.0.0.1:37614 -> 127.0.0.1:8081, read from grpc.ClientStream failed: rpc error: code = DeadlineExceeded desc = timeout while esta │
│ traffic-agent 2024-05-15 15:06:43.4788 error sidecar/handleIntercept : !! CLI tcp 127.0.0.1:51130 -> 127.0.0.1:8081, read from grpc.ClientStream failed: rpc error: code = DeadlineExceeded desc = timeout while esta │
│ traffic-agent 2024-05-15 15:07:03.4807 error sidecar/handleIntercept : !! CLI tcp 127.0.0.1:32854 -> 127.0.0.1:8081, read from grpc.ClientStream failed: rpc error: code = DeadlineExceeded desc = timeout while esta │
│ Stream closed EOF for reddwarf-pro/infra-server-service-6fd6ddb9cd-ws8pc (tel-agent-init) │
│ Stream closed EOF for reddwarf-pro/infra-server-service-6fd6ddb9cd-ws8pc (infra-server-service)
this is the command I am using right now:
telepresence intercept infra-server-service --mount=false --port 8081:8081 --env-file ./env
this is the telepresence list output:
> telepresence list
Connected to context kubernetes-admin@kubernetes (https://106.14.183.131:6443)
admin-service : ready to intercept (traffic-agent not yet installed)
ai-web : ready to intercept (traffic-agent not yet installed)
alt-service : ready to intercept (traffic-agent not yet installed)
chat-server-service : ready to intercept (traffic-agent not yet installed)
cruise-web : ready to intercept (traffic-agent not yet installed)
cv-render-service : ready to intercept (traffic-agent not yet installed)
cv-service : ready to intercept (traffic-agent not yet installed)
cv-web : ready to intercept (traffic-agent not yet installed)
dolphin-dict-service : ready to intercept (traffic-agent not yet installed)
dolphin-music-service: ready to intercept (traffic-agent not yet installed)
dolphin-post-service : ready to intercept (traffic-agent not yet installed)
fortune-service : ready to intercept (traffic-agent not yet installed)
infra-server-service : ready to intercept (traffic-agent already installed)
official-website : ready to intercept (traffic-agent not yet installed)
pydolphin-service : ready to intercept (traffic-agent not yet installed)
react-admin : ready to intercept (traffic-agent not yet installed)
react-admin-new : ready to intercept (traffic-agent not yet installed)
rss-sync-service : ready to intercept (traffic-agent not yet installed)
snap-web : ready to intercept (traffic-agent not yet installed)
texhub-server-service: ready to intercept (traffic-agent not yet installed)
texhub-web : ready to intercept (traffic-agent not yet installed)
time-capsule-service : ready to intercept (traffic-agent not yet installed)
tool-web : ready to intercept (traffic-agent not yet installed)
y-websocket-service : ready to intercept (traffic-agent not yet installed)
in order to terminate intercept you need to run
telepresence leave
- (Remove existing intercept)
for example:
telepresence intercept notifications --port 8080
telepresence leave notifications