koderover / zadig Goto Github PK
View Code? Open in Web Editor NEWZadig is a cloud native, distributed, developer-oriented DevOps platform
Home Page: https://koderover.com
License: Other
Zadig is a cloud native, distributed, developer-oriented DevOps platform
Home Page: https://koderover.com
License: Other
/kind feature
I hope to support the GIT warehouse of gogs. Gitlab is too heavy. We have used gogs for more than 3 years. Thank you
/kind bug
What steps did you take and what happened:
I install it with k8s
I create new user with the form.
What did you expect to happen:
500 : Can't add more than one organization
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
用户名 : [email protected]
密码:aa123456
Is your enhancement proposal related to a problem? Please describe.
The start and end of the build are not fast enough.
Describe the solution you'd like
Factors affecting efficiency: k8s resources and current feature implementation. The current bottleneck is that the system time depends on the k8s startup and resource destruction time, so there is room for optimization.
pipeline 的构建脚本中变量还不支持pipeline的ID,期望支持获取ID
Is there a trial key for zadig enterprise version?
/kind feature
Is your feature request related to a problem? Please describe.
[A clear and concise description of what the problem is. Ex. I'm always frustrated when ... ]
Describe the feature you'd like
[A clear and concise description of what you want to happen.]
Describe alternatives you've considered
[A clear and concise description of any alternative solutions or features you've considered.]
Additional context
[Add any other context or screenshots about the feature request here.]
/kind question
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
kind create cluster
export KUBECONFIG=~/.kube/config
curl -SsL https://github.com/koderover/zadig/releases/latest/download/install.sh | bash
kubectl -n zadig describe pvc
Name: zadig-nfs-server
Namespace: zadig
StorageClass: standard
Status: Pending
Volume:
Labels: app.kubernetes.io/instance=zadig-nfs-server
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=nfs-server
helm.sh/chart=nfs-server-0.9.5
Annotations: volume.beta.kubernetes.io/storage-provisioner: rancher.io/local-path
volume.kubernetes.io/selected-node: kind-control-plane
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: zadig-nfs-server-858477dfb7-fpdx2
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ExternalProvisioning 4m29s (x523 over 134m) persistentvolume-controller waiting for a volume to be created, either by external provisioner "rancher.io/local-path" or manually created by system administrator
Normal Provisioning 2m56s (x14 over 134m) rancher.io/local-path_local-path-provisioner-78776bfc44-9cz45_91e5ec11-ec4b-45b9-9057-38f5c580f26b External provisioner is provisioning volume for claim "zadig/zadig-nfs-server"
Warning ProvisioningFailed 2m56s (x14 over 134m) rancher.io/local-path_local-path-provisioner-78776bfc44-9cz45_91e5ec11-ec4b-45b9-9057-38f5c580f26b failed to provision volume with StorageClass "standard": Only support ReadWriteOnce access mode
What did you expect to happen:
The system is deployed successfully.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Tried https://github.com/koderover/zadig/releases/download/v1.2.0/install.sh and successed include jira 集成,
but pod “zadig-mongodb-865f554c8-wwmv9” status always “CrashLoopBackOff”,detail Message is “Back-off restarting failed container” and Exit Code is “100”,how figure out?
state:
waiting:
message: back-off 5m0s restarting failed container=mongodb pod=zadig-mongodb-865f554c8-wwmv9_zadig(bc509f98-13c9-40c7-a6de-2a8b7e737ae0)
reason: CrashLoopBackOff
Exit Code: 100
Events:
Type Reason Age From Message
Normal Scheduled 21m default-scheduler Successfully assigned zadig/zadig-mongodb-865f554c8-wwmv9 to localhost.localdomain
Normal Pulled 20m (x5 over 21m) kubelet Container image "docker.io/bitnami/mongodb:4.4.6-debian-10-r8" already present on machine
Normal Created 20m (x5 over 21m) kubelet Created container mongodb
Normal Started 20m (x5 over 21m) kubelet Started container mongodb
Warning BackOff 103s (x101 over 21m) kubelet Back-off restarting failed container
Originally posted by @janetTiramisu in #77 (comment)
2021-07-13T15:38:01.861+0800 build start
2021-07-13T15:38:01.862+0800 wait for docker daemon to start ...
2021-07-13T15:38:01.893+0800 login docker registry https://ccr.ccs.tencentyun.com
2021-07-13T15:38:02.436+0800 extracting workspace ...
2021-07-13T15:38:02.441+0800 no previous cache is found: cache not found
2021-07-13T15:38:02.446+0800 git init
Initialized empty Git repository in /workspace/voting-app/.git/
2021-07-13T15:38:02.450+0800 git fetch origin +refs/heads/main --depth=1
From https://github.com/guohechain/voting-app
2021-07-13T15:39:49.774+0800 build end. duration: 107.91 seconds
2021/07/13 15:39:49 Failed to run reaper, the error is: 1 error occurred:
* exit status 1
Originally posted by @zyu in #72 (comment)
/kind bug
the clientid Unable to enter '1e6f6a085a3187c85a03'
eg.
Client ID
1e6f6a085a3187c85a03
请问文档里面的质效中心-单测覆盖率数据总览从哪里看?
/kind question
helm uninstall zadig -n zadig
Error: uninstall: Release not loaded: zadig: release: not found
helm list 为空
无法使用域名访问,我要怎么查看设置对不对呢?
Zadig 什么时候支持gitee
zadig 安装在运维专用的namespace,卸载的时候没有提示,直接把ns删除了。这里需要做个提示,或者不要直接删除ns
/kind enhancement
An overview of Zadig architecture would help potential contributors a lot.
A typical overview of architecture could includes the following sections or more:
/kind bug
1.2.0版本
在系统设置用户账户集成添加 ldap,填写完成后点击测试并保存报错:400 : AD auth failed
openldap server 运行正常
如果选择 ad,能保存成功但同步用户信息失败
/kind question
管理员密码忘记了,现在登陆不进去了
Is your feature request related to a problem? Please describe.
Sometimes,I need to confirm whether the service discovery address is correct. But now I can't get the ip of the node where the pod is located on the Zadig Portal.
Describe the feature you'd like
Zadig Team:
We will support viewing the pod ip on the zadig Portal.
/kind question
开启使用工作空间缓存和配置缓存自定义目录后,下次构建依然会重新拉取依赖包
Zadig支持在ARM上部署吗?
/kind feature
Thanks @hoozecn for the advice #156 . Welcome to contribute PR for this issue 😊
Is your feature request related to a problem? Please describe.
If your namespace has a resource quota, it is helpful to have a default value in place for memory limit and cpu limit.
Describe the feature you'd like
The k8s resource limit and request quota can be configured via the Zadig UI.
/kind question
could you tell what support kubernetes version ?
Is your enhancement proposal related to a problem? Please describe.
The real-time log loading of the service is very slow, even unable to display
Describe the solution you'd like
Zadig Team:
The efficiency has been optimized, and the performance is OK under a certain amount of data. If the amount of data is too large, we do not recommend using the page to view real-time logs. In the future, we will strengthen the Kodespace CLI function to support the situation of excessive data.
Is your feature request related to a problem? Please describe.
It is troublesome to add services, because k8s yaml has many configuration items and is prone to errors. For those who are not familiar with k8s, it is more difficult to use
Describe the feature you'd like
In the future, we will provide custom service template feature to reduce the difficulty of service configuration
当前提供的三种部署方式均为在线部署,请问如果想离线部署的话,有什么好的建议?
如何在不卸载以前版本的基础上,直接安装升级到最新版v1.2.0 Release?
执行以下脚本后,打开未看到新版本功能,比如jira集成等。
curl -LO https://github.com/koderover/zadig/releases/latest/download/install_with_k8s.sh
chmod +x ./install_with_k8s.sh
export IP=
export PORT=< 30000 - 32767 任一端口>
./install_with_k8s.sh
/kind bug
通过下载源码master进行编译后的agent无法接入集群:
time="2021-07-22T09:20:38+08:00" level=info msg="Connecting to proxy" url="ws:///api/hub/connect"
time="2021-07-22T09:20:38+08:00" level=error msg="Failed to connect to proxy" error="dial tcp :80: connect: connection refused"
time="2021-07-22T09:20:38+08:00" level=error msg="Failed to connect to proxy" error="dial tcp :80: connect: connection refused"
serviceAccountName: koderover-agent
containers:
- name: agent
image: ccr.ccs.tencentyun.com/koderover-rc/hub-agent:20210706195834-9-main-pr-52
imagePullPolicy: Always
env:
- name: AGENT_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: HUB_AGENT_TOKEN
value: "43d0ebdaf29d7f878e276e712a6acad3187c20096fd0469915d4b69603d33e19cfa4537444beda45"
- name: HUB_SERVER_BASE_ADDR
value: "ws:///api/hub"
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
memory: 256Mi
updateStrategy:
type: RollingUpdate
HUB_SERVER_BASE_ADDR:ws:///api/hub
没有自动生成HUB_SERVER_BASE_ADDR地址
直接通过helm安装下载镜像是正常的.
helm list不显示
installing zadig ...
"koderover-chart" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "koderover-chart" chart repository
Update Complete. ⎈Happy Helming!⎈
Release "zadig-zadig" does not exist. Installing it now.
NAME: zadig-zadig
LAST DEPLOYED: Thu Jul 22 09:28:18 2021
NAMESPACE: zadig
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
error: error executing jsonpath "{.items[0].spec.clusterIP}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:
template was:
{.items[0].spec.clusterIP}
object given to jsonpath engine was:
map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":"", "selfLink":""}}
/kind bug
我之前是用了自定义的 Minio 组件,升级到1.3.0之后每次构建完成后界面都报”saveContainerLog s3 Upload error: RequestError: send request failed caused by...“ 看起来是 minio 的url规则变了,以前是 "http://接入点地址//...", 现在变成了”http://.接入点地址/", 所以请求失败。请问如何解决
Is your feature request related to a problem? Please describe.
In the process of actual use of the test environment, some services need to be offline. During the process of updating the environment, I do not want to start and update this offline service, but this service may be online after a period of time.
Describe the feature you'd like
Zadig Team:
In the furture, we will provide the offline feature of the service
/kind enhancement
To keep improving Zadig's source code quality. Should we consider to integrate with some linters ? For example: https://github.com/golangci/golangci-lint
/kind question
when run ./install_with_k8s.sh
Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
/kind question
the cmd main server graceful shutdown code seems does not meet expectations?
I wrote an example based on your code, it cant`t graceful shutdown !
package main
import (
"context"
"log"
"net/http"
"os/signal"
"syscall"
"time"
)
func main() {
ctx, _ := signal.NotifyContext(context.Background(), syscall.SIGTERM, syscall.SIGINT)
http.HandleFunc("/ping", ping)
server := &http.Server{Addr: ":6666", Handler: nil}
go func() {
<-ctx.Done()
t, _ := context.WithTimeout(context.TODO(), 5*time.Second)
if err := server.Shutdown(t); err != nil {
log.Printf("Failed to stop server, error: %s", err)
}
}()
if err := server.ListenAndServe(); err != nil && err != http.ErrServerClosed {
log.Printf("Failed to start http server, error: %s", err)
return
}
}
func ping(w http.ResponseWriter, r *http.Request) {
time.Sleep(4 * time.Second)
_, _ = w.Write([]byte("success"))
}
/kind enhancement
Currently, feishu supports more richable bot notification. Refer to : https://open.feishu.cn/document/ukTMukTMukTM/uMDMxEjLzATMx4yMwETM?op_tracking=hc.
Maybe we can improve this point.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.