无法登录argocd cli

问题描述 投票:0回答:2

Argocd 登录

不起作用,我最终出现以下错误。

abilash@LAPTOP-BOSTG8L5:~$ argocd login 10.111.252.193  --sso --loglevel debug
FATA[0040] dial tcp 10.111.252.193:443: operation was canceled

我可以使用 kubenetes svc 登录用户界面。

NAME                                      TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                      AGE
argocd-applicationset-controller          ClusterIP   10.105.83.56     <none>        7000/TCP,8080/TCP            47h
argocd-dex-server                         ClusterIP   10.104.74.189    <none>        5556/TCP,5557/TCP,5558/TCP   47h
argocd-metrics                            ClusterIP   10.107.240.42    <none>        8082/TCP                     47h
argocd-notifications-controller-metrics   ClusterIP   10.109.142.245   <none>        9001/TCP                     47h
argocd-redis                              ClusterIP   10.105.210.237   <none>        6379/TCP                     47h
argocd-repo-server                        ClusterIP   10.104.196.224   <none>        8081/TCP,8084/TCP            47h
argocd-server                             ClusterIP   10.111.252.193   <none>        80/TCP,443/TCP               47h
argocd-server-metrics                     ClusterIP   10.108.32.131    <none>        8083/TCP                     47h

请帮忙!!

kubernetes argocd
2个回答
3
投票

在下面使用,就像经典负载均衡器的魅力一样。

argocd login your-argocd-server.com --skip-test-tls  --grpc-web

0
投票

我从版本

2.6.2
升级到
2.8.4
后遇到了这个问题。

下面的命令应该有效:

argocd --port-forward --port-forward-namespace=argocd --grpc-web --plaintext login --username=admin --password=Your-Password

我个人使用 kubectl 进行端口转发,并且在 this 线程之后,应该使用我上面指定的命令。

© www.soinside.com 2019 - 2024. All rights reserved.