erda-project / erda Goto Github PK
View Code? Open in Web Editor NEWAn enterprise-grade Cloud-Native application platform for Kubernetes.
Home Page: http://www.erda.cloud
License: Apache License 2.0
An enterprise-grade Cloud-Native application platform for Kubernetes.
Home Page: http://www.erda.cloud
License: Apache License 2.0
erda通过uc页面输入用户名密码后无法跳转到主页面
通过在ingress-controller中添加 hide-header x-frame-option
外部起一个网站通过iframe嵌入erda
此时通过iframe访问erda会发生登录后无法跳转的问题
kubectl version
): 1.19.16cat /etc/os-release
): centos 7.6.18……
Sent from PPHub
clone太慢了,到码云做个镜像吧
集群配置 1master 3node , PS master也是Node , 4c 14G
快数据模块在哪
pipeline push package failed, err log as belows:
2021-12-30 19:12:58The push refers to repository [10.20.0.200:5000/test-java-demo/test1]
2021-12-30 19:13:08Get https://10.20.0.200:5000/v2/: net/http: TLS handshake timeout
use http but not https
start a pipeline line
kubectl version
):cat /etc/os-release
):uname -a
):基于 Docker Compose 本地安装成功后,访问报错,求指导如何解决,谢谢~
{"success":false,"err":{"code":"InternalError","msg":"获取访问权限失败: 异常 failed to Access permission","ctx":null}}
微服务观测项目的基本设置里可以新建一个devops应用,对这个应用新建流水线时,报错提示( 创建流水线失败: 异常 创建流水线失败: 缺少参数 clusterName)
应该新建流水线成功,微信群里沟通后,刘浩杨老师说这个是功能上的bug,这个功能不用应该出现,应该隔离起来,看不到才对。
新手理解客观测项目的使用难度太大,我以为客观测的程序对语言是不限的,搞的我一头雾水。请在完善下文档,并在其中体现下 erda 平台可以自动观测到项目,不需要额外配置,但是目前只支持java和nodejs项目。期望能够观测到 python 项目
kubectl version
): v1.21.7cat /etc/os-release
):uname -a
): 62~18.04.1-Ubuntu SMP Fri Oct 22 21:51:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux现在使用C#(.net core)的公司也非常多,看语言支持里面还没有C#
或者是否能考虑把dapr整合进来呢?
When I compile the gittar module, it throws the following error
------------ Start Build Version Details ------------
AppName: gittar
Arch: arm64
OS: darwin
Version: 4.0
BuildTime: 2021-05-16 23:20:58
GoVersion: go version go1.16.4 darwin/arm64
CommitID: 0c4e0654b9e934164f1ea03e2e5b0de0fb8775ed
DockerImage:
------------ End Build Version Details ------------
git submodule update --init
go mod tidy: already have vendor dir, skip tidy
cd "/Users/liuhaoyang/projects/github/erda/erda/cmd/gittar" && \
PROJ_PATH=/Users/liuhaoyang/projects/github/erda/erda GOPRIVATE= go build -ldflags " -X 'github.com/erda-project/erda-infra/base/version.Version=4.0' -X 'github.com/erda-project/erda-infra/base/version.BuildTime=2021-05-16 23:20:58' -X 'github.com/erda-project/erda-infra/base/version.CommitID=0c4e0654b9e934164f1ea03e2e5b0de0fb8775ed' -X 'github.com/erda-project/erda-infra/base/version.GoVersion=go version go1.16.4 darwin/arm64' -X 'github.com/erda-project/erda-infra/base/version.DockerImage='" -tags dynamic -o "/Users/liuhaoyang/projects/github/erda/erda/bin/gittar"
# github.com/libgit2/git2go/v30
../../vendor/github.com/libgit2/git2go/v30/blame.go:4:10: fatal error: 'git2.h' file not found
#include <git2.h>
^~~~~~~~
1 error generated.
make: *** [build] Error 2
I have confirmed that I have installed libgit2 with reference to https://github.com/odewahn/git2go-test.
How should I solve this problem next ?
1.support go build action module go version dynamic or be optional.
2.Increase the display of the current go version and other language version in the action to facilitate the location of problems.
some feature is not support , like 1.16 feature “go embed”.
You can create any number of queues if you need, and bind one workflow to one queue.
There is a priority between and inside queues. Each queue holds certain resources.
Between queues, queue with large priority number will be scheduled earlier, and workflow inside queue will be scheduled order by workflow's priority number one by one.
Only after all the workflows in the queue with the highest priority are executed successfully, will the workflows in the queue with the second highest priority be executed, and so on.
Achieve more fine-grained workflow scheduling.
To a certain extent, more important workflows can be completed with high priority.
an error occurred when install nfs:
Failed to enable unit: Unit file nfs.service does not exist.
You may only need to change nfs
to nfs-server
in script when enable/start nfs server
cat /etc/os-release
):NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
uname -a
):Linux xxx 4.18.0-147.5.1.el8_1.x86_64 #1 SMP Wed Feb 5 02:00:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
无法通过自建集群的方式创建一个集群,报get cloud resource context failed, err:
应该能够通过界面自建一个Erda的托管集群
get cloud resource context failed, err:<nil>
make build-image
发现找不到项目根目录cmd/build 文件
希望出一个 怎么编译readme
kubectl version
):cat /etc/os-release
):uname -a
):已完成k8s集群搭建,应用已经部署,ingress-controller已经安装,由于没有域名,有外网可访问的IP地址,配置了一台master三台node,不知如何配置ingress-controller才可以使外网访问到,已试过用master节点外网ip地址访问,无效。
可以通过配置外网IP+端口访问到erda平台,谢谢。
kubectl version
): 1.17.0cat /etc/os-release
):uname -a
):trigger pipeline by git tag
e.g.
on:
push:
tags: "release*"
I have deployed a erda in my local k8s cluster, but I don't know how to found admin account and password
show me a away to get admin password
no
no
Erda version:1.4
Kubernetes version (use kubectl version
):1.21.2
Cloud provider or hardware configuration: aws
OS (e.g: cat /etc/os-release
): ubuntu 18.04
Kernel (e.g. uname -a
): 5.4.0-1059-aws
Network plugin and version (if this is a network-related bug): calio
Others:
在当前的管理员视图中(通过admin登录erda.io),不能够创建集群。
管理员应该可以创建集群,这样能够减轻组织自行创建集群的负担。
如果必须到组织才能创建集群,请也在前台给出明显提示,并且告知原因为什么不可以创建。
kubectl version
): v1.18.16cat /etc/os-release
): CentOS Linux release 7.9.2009uname -a
): 3.10.0-1160.31.1.el7.x86_64我有个想法,看板那里,我把任务拖到已完成,能不能就顺便加上部署的操作,拖进来就自动完成部署,应该就很完美了
integrating wechat mini-program ci which is provided by wechat official:
https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html
have a fluent continue integration about wechat mini-program
kubectl version
):cat /etc/os-release
):uname -a
):目前公司内部,使用的是正版 Windows 服务器,为了保证企业内部平台运行稳定,以及考虑到运维人员的工作量,Erda 需要部署在Windows 的 Docker 环境上,期待在官方文档中,增加对 Windows 的部署。
按照此安装说明来安装,在安装子章节的第3步中,有一个通过 Helm 安装 Erda Helm 包的步骤,但是直接输入helm install 命令会报以下错误:
# helm install package/erda-base-0.1.0.tgz --generate-name
Error: failed to download "package/erda-base-0.1.0.tgz" (hint: running `helm repo update` may help)
期望安装成功。
这里是因为必须在erda这个文件夹中进行安装导致的。而安装途中变更了目录。
安装好k8s之后,按照此安装说明进行操作即可。
kubectl version
): v1.21.0cat /etc/os-release
): centos 7.9uname -a
): 3.10.0-1160.11.1.el7.x86_64Hello, I am a personal developer. I recently read erda open source and would like to ask if there is a deployment tutorial. I personally want to study the erda source code
按照安装指导,在第3步和第4步之间不能够正常安装。
helm install package/erda-0.1.0.tgz --generate-name
# kubectl get all
NAME READY STATUS RESTARTS AGE
pod/addon-cassandra-dc1-rack1-0 2/2 Running 0 37m
pod/addon-elasticsearch-0 1/1 Running 0 37m
pod/addon-kafka-8686c5dc7d-kzn5t 1/1 Running 1 37m
pod/addon-kms-5ffb9c994d-mzs7n 1/1 Running 0 37m
pod/addon-nexus-59478988-5lf7g 1/1 Running 0 37m
pod/addon-registry-65c5bc9fc5-v2ppd 1/1 Running 0 37m
pod/addon-sonar-7fcbd7f6f6-l62lf 1/1 Running 0 37m
pod/addon-zookeeper-776dbf8694-bvsgs 1/1 Running 0 37m
pod/cassandra-operator-6bfff7d475-92f97 1/1 Running 0 45m
pod/elasticsearch-operator-ff85d4bc4-pf76x 1/1 Running 0 45m
pod/erda-etcd-745674469c-gkxzj 1/1 Running 0 37m
pod/erda-init-image-nvh6l 0/1 Completed 0 34m
pod/erda-mysql-f868ccd5f-ckwr4 1/1 Running 0 37m
pod/erda-operator-676dc98cc-9snjk 1/1 Running 0 45m
pod/netportal-7d6c49c8d7-9fs8c 1/1 Running 0 37m
pod/redis-operator-7f5cfdf469-xm66p 1/1 Running 0 45m
pod/rfr-addon-redis-0 1/1 Running 0 37m
pod/rfs-addon-redis-559494bf95-frv2z 1/1 Running 0 37m
pod/volume-provisioner-5cnpc 1/1 Running 0 45m
pod/volume-provisioner-bdgtv 1/1 Running 0 45m
pod/volume-provisioner-dgj8g 1/1 Running 0 45m
pod/volume-provisioner-g4zhj 1/1 Running 0 45m
pod/volume-provisioner-pgjln 1/1 Running 0 45m
pod/volume-provisioner-pqjw4 1/1 Running 0 45m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/addon-cassandra ClusterIP None <none> 9042/TCP 37m
service/addon-cassandra-exporter-jmx ClusterIP None <none> 9500/TCP 37m
service/addon-elasticsearch ClusterIP 10.68.176.167 <none> 9200/TCP 37m
service/addon-elasticsearch-master ClusterIP 10.68.5.114 <none> 9300/TCP 37m
service/addon-kafka ClusterIP None <none> 9092/TCP,9988/TCP,8778/TCP 37m
service/addon-kms ClusterIP 10.68.158.39 <none> 3082/TCP 37m
service/addon-nexus ClusterIP 10.68.166.35 <none> 8081/TCP,5000/TCP,5500/TCP 37m
service/addon-registry ClusterIP 10.68.175.212 <none> 5000/TCP,5050/TCP 37m
service/addon-sonar ClusterIP 10.68.130.217 <none> 9000/TCP 37m
service/addon-zookeeper ClusterIP 10.68.32.22 <none> 2181/TCP,2888/TCP,3888/TCP 37m
service/cassandra-operator-metrics ClusterIP 10.68.221.183 <none> 8383/TCP 45m
service/elasticsearch-operator ClusterIP 10.68.219.118 <none> 443/TCP 45m
service/erda-etcd ClusterIP 10.68.176.156 <none> 2379/TCP 37m
service/erda-mysql ClusterIP 10.68.135.23 <none> 3306/TCP 37m
service/kubernetes ClusterIP 10.68.0.1 <none> 443/TCP 4h50m
service/netportal ClusterIP 10.68.201.196 <none> 80/TCP 37m
service/rfs-addon-redis ClusterIP 10.68.62.148 <none> 26379/TCP 37m
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
daemonset.apps/volume-provisioner 6 6 6 6 6 <none> 45m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/addon-kafka 1/1 1 1 37m
deployment.apps/addon-kms 1/1 1 1 37m
deployment.apps/addon-nexus 1/1 1 1 37m
deployment.apps/addon-registry 1/1 1 1 37m
deployment.apps/addon-sonar 1/1 1 1 37m
deployment.apps/addon-zookeeper 1/1 1 1 37m
deployment.apps/cassandra-operator 1/1 1 1 45m
deployment.apps/elasticsearch-operator 1/1 1 1 45m
deployment.apps/erda-etcd 1/1 1 1 37m
deployment.apps/erda-mysql 1/1 1 1 37m
deployment.apps/erda-operator 1/1 1 1 45m
deployment.apps/netportal 1/1 1 1 37m
deployment.apps/redis-operator 1/1 1 1 45m
deployment.apps/rfs-addon-redis 1/1 1 1 37m
NAME DESIRED CURRENT READY AGE
replicaset.apps/addon-kafka-8686c5dc7d 1 1 1 37m
replicaset.apps/addon-kms-5ffb9c994d 1 1 1 37m
replicaset.apps/addon-nexus-59478988 1 1 1 37m
replicaset.apps/addon-registry-65c5bc9fc5 1 1 1 37m
replicaset.apps/addon-sonar-7fcbd7f6f6 1 1 1 37m
replicaset.apps/addon-zookeeper-776dbf8694 1 1 1 37m
replicaset.apps/cassandra-operator-6bfff7d475 1 1 1 45m
replicaset.apps/elasticsearch-operator-ff85d4bc4 1 1 1 45m
replicaset.apps/erda-etcd-745674469c 1 1 1 37m
replicaset.apps/erda-mysql-f868ccd5f 1 1 1 37m
replicaset.apps/erda-operator-676dc98cc 1 1 1 45m
replicaset.apps/netportal-7d6c49c8d7 1 1 1 37m
replicaset.apps/redis-operator-7f5cfdf469 1 1 1 45m
replicaset.apps/rfs-addon-redis-559494bf95 1 1 1 37m
NAME READY AGE
statefulset.apps/addon-cassandra-dc1-rack1 1/1 37m
statefulset.apps/addon-elasticsearch 1/1 37m
statefulset.apps/rfr-addon-redis 1/1 37m
NAME COMPLETIONS DURATION AGE
job.batch/erda-init-image 1/1 57s 34m
NAME AGE
redisfailover.databases.spotahome.com/addon-redis 37m
bash scripts/push-ext.sh
脚本,易得知此时第4步会陷入死循环中。因为此时openapi的svc为空,无法生成正确的hosts...
echo `kubectl get svc -n default | grep openapi | awk '{print $3}'` openapi.${ERDA_NAMESPACE}.svc.cluster.local >> /etc/hosts
...
再参考quickstart的安装,可以看到quickstart的docker中有openapi的镜像。
当我们忽略前面的错误继续配置,然后通过浏览器访问,得到404 错误,反馈消息是
backend server not found
在helm install package/erda-0.1.0.tgz --generate-name
命令执行之后,可以生成对应的openapi pod和service;抑或是该服务更改了名字的情况下,需要修改bash-ext.sh脚本。
kubectl version
): v1.21.0cat /etc/os-release
): centos 7.9uname -a
): 3.10.0-1160.11.1.el7.x86_64a docker-compose.yml file that let users to run erda in their own computer.
everyone can have a try of our product, with no dizzy~
What happened:
导入已有集群报错
能够通过界面导入一个已有的k8s集群
多云管理平台 ->添加集群 -> 导入已创建的Erda Kubernetes集群
Environment:
kubectl version
): 1.18.20cat /etc/os-release
): CentOS Linux release 7.6.1810 (Core)uname -a
): 3.10.0-957.el7.x86_64When I installed erda by Helm, the status of erda is failed and cannot go on.
In the erda-system namespace, only the middleware pod, there are no erda's pod.
And there's no pod in default namespace.
kubectl version
): 1.21.6cat /etc/os-release
): centos 7.4uname -a
): 3.10.0-693.el7.x86_64After adding the cluster, it is found that the memory resource of the display server is too small, which is not equal to the actual memory resource.
当我尝试将页面嵌入其他网站时,发生了错误。
查看发现是x-frame-options参数设置的是sameorigin。
希望可以参考下grafana,将此参数设置为可配置参数
自助添加k8s集群的时候,无法根据现在的界面来添加
添加集群的时候,泛域名和集群入口能够有相应的提示,并且能够配置
目前erda能够导入的K8S集群,只能够是erda自身创建的吗?能否导入外部的集群?
我现在主要是想要体验一下erda的各种功能;如果不添加额外的K8S集群,是否可以用erda目前所在的集群做DevOps、部署这类的操作呢?
kubectl version
): v1.18.16cat /etc/os-release
): CentOS Linux release 7.9.2009uname -a
): 3.10.0-1160.31.1.el7.x86_64都是国人,我就不写英文了
安装的时候,我看启动了一个job,但是它执行失败,日志如下:
Waiting for generate ssl files for etcd...
panic: Error creating etcd secrets: can not detect secret erda-etcd-server-secret in namespace erda-system exist or not
goroutine 1 [running]:
main.createEtcdSecretsByK8sClient(0xc00035cb00, 0x1516e43, 0x19)
/Users/tianxiang.liu/work/go/wip-erda-release/erda-helm/etcd_ssl/etcd_ssl.go:120 +0xc0f
main.main()
/Users/tianxiang.liu/work/go/wip-erda-release/erda-helm/etcd_ssl/etcd_ssl.go:48 +0x9a
这是helm包里面的内容吧,我找到了那个etcd_ssl.go的文件,看来是创建 secret失败了,createEtcdSecretsByK8sClient这个方法。
我看了这个job镜像的Entrypoint
"Entrypoint": [
"/bin/sh",
"-c",
"/opt/etcd_ssl/etcd_ssl"
],
这是把erda-release项目中,etcd-ssl的文件打成了job镜像吧,大致看了一下代码,之前有个读取文件的
createEtcdSecretsByK8sClient(clientset, "./etcd-server-secret.yaml")
总感觉这个有问题,这个路径难道不应该是./templates/etcd-client-secret.yaml
吗?不过看代码,检查的步骤都是通过的,是执行
_, err = cli.CoreV1().Secrets(secret.Namespace).Get(context.TODO(), secret.Name, metav1.GetOptions{})
进到了这个逻辑中,panic了
if errors.IsNotFound(err) {
_, err = cli.CoreV1().Secrets(secret.Namespace).Create(context.TODO(), &secret, metav1.CreateOptions{})
if err != nil {
panic(err.Error())
}
fmt.Printf("Create secret %s in namespace %s by file %s successfully.\n", secret.Name, secret.Namespace, filename)
} else if err != nil {
panic(fmt.Errorf("Error creating etcd secrets: can not detect secret %s in namespace %s exist or not", secret.Name, secret.Namespace).Error())
}
我测试了 v1.5 v1.4 都是不行的,求助一下
补充一下环境:
centos 8,内核 4.18,k8s 1.19.6
版本:1.2.1
操作流程:
使用邮箱注册成功后登录,提示OAuth Error: invalid_request, At least one redirect_uri must be registered with the client.
cluster-manage: 我理解是控制端用来管理集群,集群的增删改查
cluster-init
cluster-agent
cluster-dialer
这几个的作用是什么?
在安装到步骤三的时候,执行说明中的步骤:
helm install erda-base package/erda-base-$(cat VERSION).tgz
无法下载包
可以顺利安装试用
kubectl version
):1.17.0cat /etc/os-release
):Centos7.8uname -a
):this file will be delete totally soon. after all modules migrate to erda, then adjust it, move const like SnippetLogo to configurations.
Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a SECURITY.md
file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)
the whole project is more than 800k go code, may be is too large to maintain
多云管理平台导入自建kubernetes集群后,只显示master节点信息,无work node节点相关信息,添加kubernetes中work node节点时,操作窗口卡死无响应
kubectl version
):v1.18.4cat /etc/os-release
):centos7.6 1810uname -a
):3.10.0-957.el7.x86_64A 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.