ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

The continuous deployment function of V3.3.0 member clusters is not displayed

Open wubolive opened this issue 3 years ago • 3 comments
trafficstars

What is version of KubeSphere DevOps has the issue?

v3.3.0

How did you install the Kubernetes? Or what is the Kubernetes distribution?

在 Kubernetes 上安装 KubeSphere

What happened?

v3.3.0版本的DevOps在企业空间中成员集群上创建的DevOps项目看不到持续部署功能,该功能在主集群是正常的。

成员集群devops-systemargocd的Pod均处于Running状态:

$ kubectl get pod
NAME                                 READY   STATUS      RESTARTS   AGE
devops-27659670--1-x76l6             0/1     Completed   0          48m
devops-27659700--1-dncwz             0/1     Completed   0          18m
devops-apiserver-86c598df47-pmbvz    1/1     Running     0          5h
devops-controller-6c85d69dd5-4bbkx   1/1     Running     0          5h
devops-jenkins-58c6d9d868-hnjh6      1/1     Running     0          5h
s2ioperator-0                        1/1     Running     0          54m

$ kubectl get pod -n argocd
NAME                                                      READY   STATUS    RESTARTS   AGE
devops-argocd-application-controller-0                    1/1     Running   0          5h39m
devops-argocd-applicationset-controller-b88d4b875-l72zh   1/1     Running   0          5h39m
devops-argocd-dex-server-5f4c69cdb8-4pvv7                 1/1     Running   0          5h39m
devops-argocd-notifications-controller-6d86f8974f-n77hf   1/1     Running   0          5h39m
devops-argocd-redis-655969589d-lxfhs                      1/1     Running   0          5h39m
devops-argocd-repo-server-f77687668-zftk5                 1/1     Running   0          5h39m
devops-argocd-server-6c55bbb84f-54ms2                     1/1     Running   0          5h39m

Relevant log output

# 其中成员集群 devops-apiserver 的日志如下:
$ kubectl logs -f devops-apiserver-8fbfcc8c4-2vgx8 -n kubesphere-devops-system
I0803 03:37:12.508928       1 apiserver.go:317] 127.0.0.6 - "GET /kapis/gitops.kubesphere.io/v1alpha1/watch/workspaces/workspaces-dev/devops/devops-test5qtmj/cds HTTP/1.1" 404 19 0ms
I0803 08:20:04.975680       1 apiserver.go:317] 127.0.0.6 - "GET /kapis/gitops.kubesphere.io/v1alpha1/watch/workspaces/workspaces-dev/devops/devops-test5qtmj/cds HTTP/1.1" 404 19 0ms

Additional information

No response

wubolive avatar Aug 04 '22 03:08 wubolive

Duplicated with https://github.com/kubesphere/ks-devops/issues/755 /close

LinuxSuRen avatar Aug 04 '22 05:08 LinuxSuRen

@LinuxSuRen: Closing this issue.

In response to this:

Duplicated with https://github.com/kubesphere/ks-devops/issues/755 /close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

ks-ci-bot avatar Aug 04 '22 05:08 ks-ci-bot

截屏2023-02-15 18 06 04

Some users only want to use argocd in member cluster

The reason is host cluster is not allow permission to normal user And the host cluster has only little resource just for management.

chilianyi avatar Feb 15 '23 10:02 chilianyi