Coder Social home page Coder Social logo

alibaba / sreworks Goto Github PK

View Code? Open in Web Editor NEW
1.7K 52.0 381.0 232.14 MB

Cloud Native DataOps & AIOps Platform | 云原生数智运维平台

Home Page: https://sreworks.cn

License: Apache License 2.0

Shell 1.21% Smarty 3.31% Python 5.10% Mustache 5.21% Java 62.83% Dockerfile 0.12% Makefile 0.21% Go 0.78% Groovy 2.18% SCSS 0.38% TypeScript 0.08% JavaScript 12.24% Batchfile 0.02% CSS 0.19% HTML 0.78% Less 5.32% Vue 0.01% MDX 0.03%
kubernetes sre application saas cloudnative dataops aiops oam engineering maintenance

sreworks's Introduction

SREWorks

Cloud Native DataOps & AIOps Platform

Documentation Website


English | 中文

Introduction

SREWorks: Alibaba Cloud Big Data SRE team's cloud-native operation and maintenance (O&M) platform was born out of nearly a decade of business precipitation, using the thinking of "Big Data and AI" for O&M work(we call it DataOps and AIOps), to help more practitioners use DataOps and AIOps to do a efficient O&M work.

Google suggested a job title of SRE (Site Reliability Engineer) in 2003. It consists of a team of software engineers and system administrators who place a premium on O & M personnel's development skills, forcing them to devote less than half of their time to daily tasks and the other half to the creation of automation technologies to decrease labor needs.

SREWorks focuses on the application-centric one-stop "cloud native" and "DataOps and AIOps" O & M SaaS management suite as an engineering practice for the Alibaba Cloud Big Data SRE team's SRE concept. It enables companies to achieve the delivery and maintenance of cloud-native apps and resources via two primary capabilities: enterprise application and resource management and O & M development.

Alibaba Cloud Big Data SRE team has been working hard to practice the "DataOps and AIOps" concept, the industry's DataOps (data operation and maintenance) first proposed by the team, is naturally close to big data and AI, is very familiar with Big Data & AI technology, and has the big data and AI computing power resources on demand, has been working hard to practice the "DataOps and AIOps" concept, the industry's DataOps Standard O & M warehouses, data O & M platforms, and operation centers are among the end-to-end DataOps closed-loop engineering methods in the SREWorks.

There are many excellent open-source O & M platforms that reflect cloud-native scenarios in the traditional IT O&M field. There are currently no systematic O & M solutions available. With the rise of the cloud-native era, the Alibaba Cloud Big Data SRE team will open-source its O & M platform, SREWorks, in the hopes of providing O & M engineers with an out-of-the-box experience.

image.png

Getting Started

Roadmap

ROADMAP

Contributing

We'd love to accept your patches and contributions to SREWorks. Please refer to CONTRIBUTING for a few small guidelines you need to follow.

Community

  • Wechat Chat Group (Chinese): Broker wechat to add you into the user group.

  • Dingtalk Chat Group (Chinese): 35853026

Code of Conduct

Contributions to the SREWorks are expected to adhere to our Code of Conduct.

sreworks's People

Contributors

alibaba-oss avatar antuw avatar bluemj050517 avatar bobcao avatar chenz24567 avatar co63oc avatar doraemonext avatar fjzhzhyy avatar karryloving avatar kimmy-wang avatar kingsleypattinson avatar liuyujie-tx avatar nicqiang avatar sreworks avatar stdnt-xiao avatar twwy avatar w0lfier avatar xushaoyu avatar yesei avatar zhengxiang5965 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sreworks's Issues

runtime为containerd是否影响部署?,目前部分组件无法正常运行

Install

helm install sreworks ./ --create-namespace --namespace sreworks --set global.accessMode="nodePort" --set appmanager.home.url="http://xxx:xxxx" --set global.storageClass="my_sc" --set platformName="OneOps"

运行结果

sreworks                       sreworks-appmanager-cluster-initjob-tzjms                         0/1     CrashLoopBackOff        4 (33s ago)         3m1s
sreworks                       sreworks-appmanager-operator-controller-manager-74948f9668k454s   2/2     Running                 0                   3m2s
sreworks                       sreworks-appmanager-postrun-dprtp                                 1/1     Running                 2 (44s ago)         3m2s
sreworks                       sreworks-appmanager-server-6fd5455df5-srfkw                       0/1     Init:CrashLoopBackOff   4 (81s ago)         3m2s
sreworks                       sreworks-core-init-job-gpwbx                                      0/1     CrashLoopBackOff        4 (39s ago)         3m2s
sreworks                       sreworks-kafka-0                                                  1/1     Running                 2 (2m37s ago)       3m2s
sreworks                       sreworks-minio-65f775b959-5k6x6                                   1/1     Running                 0                   3m2s
sreworks                       sreworks-mysql-0                                                  1/1     Running                 0                   3m2s
sreworks                       sreworks-redis-master-0                                           1/1     Running                 0                   3m2s
sreworks                       sreworks-saas-aiops-init-job-2llnm                                1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-app-init-job-5f8p6                                  1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-cluster-init-job-7pswz                              1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-dataops-init-job-kpkb8                              1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-demoapp-init-job-tcpc4                              1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-healing-init-job-dq79b                              1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-health-init-job-9csks                               1/1     Running                 0                   3m2s
sreworks                       sreworks-saas-help-init-job-fv7j8                                 1/1     Running                 0                   3m2s
sreworks                       sreworks-saas-job-init-job-mpcw2                                  1/1     Running                 0                   3m2s
sreworks                       sreworks-saas-ocenter-init-job-4p4tj                              1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-search-init-job-z646b                               1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-system-init-job-v877c                               1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-team-init-job-7cwjr                                 1/1     Running                 0                   3m1s
sreworks                       sreworks-saas-upload-init-job-t6qs9                               1/1     Running                 0                   3m1s
sreworks                       sreworks-zookeeper-0                                              1/1     Running                 0                   3m2s

logs

# kubectl logs -f -n sreworks sreworks-appmanager-cluster-initjob-tzjms
+ python /app/sbin/cluster_init.py
Traceback (most recent call last):
  File "/app/sbin/cluster_init.py", line 98, in <module>
    init_cluster()
  File "/app/sbin/cluster_init.py", line 74, in init_cluster
    items = requests.get("%s/clusters" % ENDPOINT, headers=HEADERS).json().get('data', {}).get('items', [])
  File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='sreworks-appmanager', port=80): Max retries exceeded with url: /clusters (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f680c8b8190>: Failed to establish a new connection: [Errno 111] Connection refused',))

# kubectl logs -f -n sreworks sreworks-appmanager-server-6fd5455df5-srfkw
Error from server (BadRequest): container "server" in pod "sreworks-appmanager-server-6fd5455df5-srfkw" is waiting to start: PodInitializing

# kubectl logs -f -n sreworks sreworks-core-init-job-gpwbx
+ cat /swcli/swcli.yaml

endpoint: http://sreworks-appmanager
username: superuser
password: yJfIYmjAiCL0ondV3kY7e5x6kVTpvC3h
client-id: superclient
client-secret: stLCjCPKbWmki65DsAj2jPoeBLPimpJa
+ cd /root/saas/swcore/api/core/
+ '[[' false '==' true ]]
+ cat /run/secrets/kubernetes.io/serviceaccount/namespace
+ export 'NAMESPACE_ID=sreworks'
+ '[[' nodePort '==' ingress ]]
+ envsubst
+ /root/swcli --config /swcli/swcli.yaml app-package import '--app-id=flycore' --filepath /root/saas/swcore/flycore.zip '--print-only-app-package-id=true' '--reset-version=true'
Error: Post "http://sreworks-appmanager/oauth/token": dial tcp 10.96.37.125:80: connect: connection refused
+ result=

# kubectl logs -f -n sreworks sreworks-appmanager-postrun-dprtp
+ set -e
+ PYTHON_BIN=python
+ RUN_DIR=/app/postrun
+ SPLIT_STRING=.
+ PYTHON_SUFFIX=.py
++ awk 'BEGIN{for(v in ENVIRON) printf "${%s} ", v;}'
+ ENV_ARG='${ABM_CLUSTER} ${SREWORKS_INIT} ${K8S_DOCKER_SECRET} ${SREWORKS_MINIO_PORT} ${SREWORKS_APPMANAGER_PORT_80_TCP_PROTO} ${SREWORKS_APPMANAGER_PORT_80_TCP_PORT} ${SREWORKS_ZOOKEEPER_PORT_2888_TCP_ADDR} ${KUBERNETES_SERVICE_HOST} ${JVM_XMX} ${K8S_NAMESPACE} ${APPMANAGER_KAFKA_BROKERS} ${SREWORKS_MINIO_SERVICE_PORT_MINIO} ${KANIKO_IMAGE} ${KUBERNETES_SERVICE_PORT} ${CLOUD_TYPE} ${APPMANAGER_ACCESS_SECRET} ${APPMANAGER_OPERATOR_CONTROLLER_MANAGER_METRICS_SERVICE_SERVICE_HOST} ${SREWORKS_ZOOKEEPER_PORT_2888_TCP} ${SREWORKS_KAFKA_PORT} ${APPMANAGER_OPERATOR_CONTROLLER_MANAGER_METRICS_SERVICE_SERVICE_PORT} ${ACCOUNT_SUPER_SECRET_KEY} ${SREWORKS_KAFKA_PORT_9092_TCP_PROTO} ${GPG_KEY} ${SREWORKS_MYSQL_PORT_3306_TCP_ADDR} ${SREWORKS_KAFKA_SERVICE_PORT_TCP_CLIENT} ${SREWORKS_KAFKA_PORT_9092_TCP_ADDR} ${APPMANAGER_KAFKA_DEFAULT_BROKER_PORT} ${PWD} ${SREWORKS_ZOOKEEPER_PORT_2181_TCP_PROTO} ${APPMANAGER_JWT_SECRET_KEY} ${APPMANAGER_PACKAGE_ENDPOINT_PROTOCOL} ${SREWORKS_APPMANAGER_PORT_80_TCP} ${APPMANAGER_DB_HOST} ${SREWORKS_REDIS_MASTER_PORT_6379_TCP_ADDR} ${APPMANAGER_OPERATOR_CONTROLLER_MANAGER_METRICS_SERVICE_PORT_8443_TCP_ADDR} ${SREWORKS_ZOOKEEPER_PORT_2181_TCP_ADDR} ${PYTHON_GET_PIP_URL} ${SHLVL} ${SREWORKS_ZOOKEEPER_PORT_2888_TCP_PORT} ${SREWORKS_MYSQL_PORT_3306_TCP_PROTO} ${SREWORKS_REDIS_MASTER_SERVICE_HOST} ${APPMANAGER_CLIENT_ID} ${SREWORKS_ZOOKEEPER_PORT_2181_TCP} ${APPMANAGER_DB_PORT} ${SREWORKS_ZOOKEEPER_SERVICE_PORT_TCP_CLIENT} ${HOME} ${SREWORKS_REDIS_MASTER_SERVICE_PORT} ${SREWORKS_MYSQL_PORT_3306_TCP} ${SREWORKS_ZOOKEEPER_PORT_3888_TCP_ADDR} ${APPMANAGER_PACKAGE_DRIVER} ${SREWORKS_ZOOKEEPER_SERVICE_HOST} ${SREWORKS_ZOOKEEPER_SERVICE_PORT} ${APPMANAGER_OPERATOR_CONTROLLER_MANAGER_METRICS_SERVICE_PORT} ${HOSTNAME} ${APPMANAGER_CLIENT_SECRET} ${APPMANAGER_ROCKETMQ_NAMESRV_ENDPOINT} ${SREWORKS_ZOOKEEPER_PORT_2888_TCP_PROTO} ${APPMANAGER_DAG_BUCKET_NAME} ${SREWORKS_ZOOKEEPER_PORT_3888_TCP} ${SREWORKS_MYSQL_PORT_3306_TCP_PORT} ${SREWORKS_KAFKA_PORT_9092_TCP} ${APPMANAGER_OPERATOR_CONTROLLER_MANAGER_METRICS_SERVICE_PORT_8443_TCP_PROTO} ${STORAGE_CLASS} ${SREWORKS_KAFKA_PORT_9092_TCP_PORT} ${SREWORKS_MINIO_PORT_9000_TCP} ${KUBERNETES_PORT_443_TCP_ADDR} ${APPMANAGER_ACCESS_ID} ${SREWORKS_MYSQL_SERVICE_PORT_MYSQL} ${SREWORKS_REDIS_MASTER_PORT_6379_TCP_PORT} ${APPMANAGER_OPERATOR_CONTROLLER_MANAGER_METRICS_SERVICE_PORT_8443_TCP} ${APPMANAGER_OPERATOR_CONTROLLER_MANAGER_METRICS_SERVICE_PORT_8443_TCP_PORT} ${SREWORKS_ZOOKEEPER_PORT_3888_TCP_PROTO} ${SREWORKS_ZOOKEEPER_PORT_2181_TCP_PORT} ${SREWORKS_APPMANAGER_PORT} ${DOCKER_REGISTRY} ${APPMANAGER_PACKAGE_SECRET_KEY} ${SREWORKS_ZOOKEEPER_PORT_3888_TCP_PORT} ${PYTHON_GET_PIP_SHA256} ${SREWORKS_ZOOKEEPER_PORT} ${SREWORKS_MINIO_PORT_9000_TCP_ADDR} ${DB_HOST} ${SREWORKS_MINIO_SERVICE_HOST} ${APPMANAGER_OPERATOR_CONTROLLER_MANAGER_METRICS_SERVICE_SERVICE_PORT_HTTPS} ${REMOTE_DOCKER_DAEMON} ${SREWORKS_MINIO_SERVICE_PORT} ${KUBERNETES_PORT_443_TCP} ${DB_PORT} ${SREWORKS_MYSQL_PORT} ${PYTHONIOENCODING} ${_} ${ACCOUNT_SUPER_ID} ${APPMANAGER_REDIS_HOST} ${SREWORKS_ZOOKEEPER_SERVICE_PORT_TCP_ELECTION} ${APPMANAGER_REDIS_PORT} ${APPMANAGER_REDIS_PASSWORD} ${KUBERNETES_PORT_443_TCP_PORT} ${APPMANAGER_PACKAGE_ENDPOINT} ${APPMANAGER_ENV} ${KUBERNETES_PORT} ${APPMANAGER_DB_PASSWORD} ${NETWORK_PROTOCOL} ${SREWORKS_MYSQL_SERVICE_HOST} ${SREWORKS_MYSQL_SERVICE_PORT} ${SREWORKS_MINIO_PORT_9000_TCP_PORT} ${APPMANAGER_DB_NAME} ${PATH} ${ENDPOINT_PAAS_APPMANAGER} ${APPMANAGER_PACKAGE_ACCESS_KEY} ${DOCKER_HOST} ${APPMANAGER_DB_USER} ${ACCOUNT_SUPER_CLIENT_SECRET} ${DB_PASSWORD} ${KUBERNETES_SERVICE_PORT_HTTPS} ${SREWORKS_REDIS_MASTER_PORT_6379_TCP_PROTO} ${APPMANAGER_PACKAGE_BUCKET_NAME} ${SREWORKS_ZOOKEEPER_SERVICE_PORT_FOLLOWER} ${DOCKER_NAMESPACE} ${SREWORKS_MINIO_PORT_9000_TCP_PROTO} ${SREWORKS_KAFKA_SERVICE_HOST} ${SREWORKS_APPMANAGER_PORT_80_TCP_ADDR} ${APPMANAGER_ENABLE_AUTH} ${APPMANAGER_REDIS_DATABASE} ${SREWORKS_APPMANAGER_SERVICE_HOST} ${PYTHON_PIP_VERSION} ${SREWORKS_KAFKA_SERVICE_PORT} ${SREWORKS_APPMANAGER_SERVICE_PORT} ${ACCOUNT_SUPER_CLIENT_ID} ${SREWORKS_REDIS_MASTER_SERVICE_PORT_REDIS} ${SREWORKS_REDIS_MASTER_PORT} ${PYTHON_VERSION} ${DB_NAME} ${SREWORKS_REDIS_MASTER_PORT_6379_TCP} ${LANG} ${KUBERNETES_PORT_443_TCP_PROTO} ${COOKIE_DOMAIN} ${ENABLE_KANIKO} ${HOME_URL} ${DB_USER} '
++ find /app/postrun
+ for file in $(find $RUN_DIR)
+ '[' trun == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' a.py == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' n.py == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' l.py == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' emas == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
+ '[' json == .tpl ']'
+ for file in $(find $RUN_DIR)
...

+ sleep 60s
++ find /app/postrun -maxdepth 1 -type f -name '*.sh' -o -name '*.py'
++ sort
+ for script in `find $RUN_DIR -maxdepth 1 -type f -name "*.sh" -o -name "*.py" | sort`
+ SRCPWD=/app/postrun/01_init_definition_schema
+ '[' /app/postrun/01_init_definition_schema '!=' /app/postrun/01_init_definition_schema.py ']'
+ echo 'Execute python script: ,' /app/postrun/01_init_definition_schema.py, /app/postrun/01_init_definition_schema
+ SRCPWD=/app/postrun/01_init_definition_schema
Execute python script: , /app/postrun/01_init_definition_schema.py, /app/postrun/01_init_definition_schema
+ python /app/postrun/01_init_definition_schema.py
Traceback (most recent call last):
  File "/app/postrun/01_init_definition_schema.py", line 54, in <module>
    apply_all_definition_schemas()
  File "/app/postrun/01_init_definition_schema.py", line 50, in apply_all_definition_schemas
    apply(post_json)
  File "/app/postrun/01_init_definition_schema.py", line 29, in apply
    response = requests.post(ENDPOINT + '/definition-schemas', json=post_json)
  File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='sreworks-appmanager', port=80): Max retries exceeded with url: /definition-schemas (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5592bd84d0>: Failed to establish a new connection: [Errno 111] Connection refused',))

安装管控组件metricbeat失败

安装管控组件metricbeat失败,出现“error setting up kubernetes autodiscover provider: missing or invalid condition”报错。
image

anomalydetectionAPI接口代码bug

SREWorks/saas/aipos/anomalydetection/AnomalyDetection/anomaly_detection.py文件:
第208行
detect_result['ts'] = detect_result.astype(str)
是否应该改成:
detect_result['ts'] = detect_result['ts'].astype(str)
否则会报错:
Columns must be same length as key

install error

my k8s version is v1.25.6+k3s1
error message:
helm install sreworks ./ --create-namespace --namespace sreworks --set global.accessMode="nodePort" --set appmanager.home.url="http://127.0.0.1:30767" --set saas.onlyBase=true
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "local-path-provisioner-role" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "sreworks"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "sreworks"

提供一个k3s安装方式-完整的yaml方便部署

#公有云申请一台8核心32G的centos系统机器(按量计算)(CentOS Linux release 7.6)
#开一个终端安装K3s 2min
curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh
#k3s默认的STORAGE_CLASS: "local-path"
#域名是sreworks.cypggs.com,可以把sed第二个sreworks.cypggs.com替换成自己的
wget https://gitee.com/qcypggs/casetemp/raw/master/sreworks.yaml && sed "s/sreworks.cypggs.com/sreworks.cypggs.com/g" sreworks.yaml |kubectl apply -f - --record=true

#等待10几20分钟,看看有没有ing创建
kubectl get ing -A
#配置个host 查看公网ip
curl ip.cip.cc
#window在这里 C:\Windows\System32\drivers\etc\hosts
81.71.164.175 sreworks.cypggs.com
81.71.164.175 vvp.cypggs.com

#访问 http://sreworks.cypggs.com/#/desktop/portal
#账密 admin 12345678

#最后记得销毁云资源,云一个小时用了我2块钱左右

在运维开发时,提供网关的中台化服务,让用户方便将外部已有服务接口挂入运维网关,配合前端开发使用

1,可以将运维网关的配置类似productops前端配置抽成运维中台化服务(区分生产和测试配置域),并在swadmin 开发应用时按 页签展示
2,开发测试态配置外部服务接入网关后,实时刷入网关测试dev配置域,配合前端走通测试场景
3,部署后,刷入网关生产prod配置域,配合前端走通生产场景

prod-job-job-worker deployment失败

SREWorks用helm部署完成,网页能进去,不过和运维相关的功能都提示404错误.
看k8s相关资源,有个sreworks命名空间下的prod-job-job-worker deployment失败了,不知道是不是这个原因.

相关信息:
git commit id:e85c723
k8s版本:v1.23.4,v1.23.5
ingress控制器:nginx ingress
storageClass:nfs-client
失败的pod log:

[2022-03-24 10:31:21 234] WARN [main][o.s.data.convert.CustomConversions:263]- Registering converter from interface java.util.Map to class org.springframework.data.geo.Point as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
[2022-03-24 10:31:21 235] WARN [main][o.s.data.convert.CustomConversions:273]- Registering converter from class org.springframework.data.elasticsearch.core.geo.GeoPoint to interface java.util.Map as writing converter although it doesn't convert to a store-supported type! You might want to check your annotation setup at the converter implementation.
[2022-03-24 10:31:21 235] WARN [main][o.s.data.convert.CustomConversions:263]- Registering converter from interface java.util.Map to class org.springframework.data.elasticsearch.core.geo.GeoPoint as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
[2022-03-24 10:31:21 400] INFO [main][o.s.d.e.support.VersionInfo:59]- Version Spring Data Elasticsearch: 4.0.7.RELEASE
[2022-03-24 10:31:21 401] INFO [main][o.s.d.e.support.VersionInfo:60]- Version Elasticsearch Client in build: 7.6.2
[2022-03-24 10:31:21 401] INFO [main][o.s.d.e.support.VersionInfo:61]- Version Elasticsearch Client used: 7.6.2
[2022-03-24 10:31:21 401] INFO [main][o.s.d.e.support.VersionInfo:69]- Version Elasticsearch cluster: 7.10.2
[2022-03-24 10:31:21 401] WARN [main][o.s.d.e.support.VersionInfo:72]- Version mismatch in between Elasticsearch Client and Cluster: 7.6.2 - 7.10.2
[2022-03-24 10:31:21 877] INFO [main][org.reflections.Reflections:229]- Reflections took 68 ms to scan 1 urls, producing 2 keys and 7 values
[2022-03-24 10:31:21 919] INFO [main][o.s.s.c.ThreadPoolTaskExecutor:181]- Initializing ExecutorService
[2022-03-24 10:31:22 177] WARN [main][o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:559]- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'heartBeatService': Invocation of init method failed; nested exception is java.net.ConnectException
[2022-03-24 10:31:22 178] INFO [main][o.s.s.c.ThreadPoolTaskExecutor:218]- Shutting down ExecutorService
[2022-03-24 10:31:22 181] INFO [main][o.s.o.j.LocalContainerEntityManagerFactoryBean:601]- Closing JPA EntityManagerFactory for persistence unit 'default'
[2022-03-24 10:31:22 184] INFO [main][com.zaxxer.hikari.HikariDataSource:350]- HikariPool-1 - Shutdown initiated...
[2022-03-24 10:31:22 216] INFO [main][com.zaxxer.hikari.HikariDataSource:352]- HikariPool-1 - Shutdown completed.
[2022-03-24 10:31:22 220] INFO [main][o.a.catalina.core.StandardService:173]- Stopping service [Tomcat]
[2022-03-24 10:31:22 250] INFO [main][o.s.b.a.l.ConditionEvaluationReportLoggingListener:136]-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
[2022-03-24 10:31:22 257] ERROR [main][o.s.boot.SpringApplication:837]- Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'heartBeatService': Invocation of init method failed; nested exception is java.net.ConnectException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:415)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1791)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at com.alibaba.sreworks.job.WorkerApplication.main(WorkerApplication.java:18)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:107)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: java.net.ConnectException: null
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:563)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:119)
at com.alibaba.sreworks.job.utils.Requests.post(Requests.java:57)
at com.alibaba.sreworks.job.worker.services.HeartBeatService.report(HeartBeatService.java:48)
at com.alibaba.sreworks.job.worker.services.HeartBeatService.init(HeartBeatService.java:41)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
... 27 common frames omitted
Caused by: java.net.ConnectException: null
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1034)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:179)
at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:238)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$8(Exchange.java:435)
at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:367)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:439)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:946)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2337)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:439)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:343)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:335)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:347)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:384)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:946)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2337)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:374)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:293)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1776)
at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:155)
at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2670)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:246)
at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:643)
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:542)
... 38 common frames omitted
Caused by: java.nio.channels.UnresolvedAddressException: null
at java.base/sun.nio.ch.Net.checkAddress(Net.java:131)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:708)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:722)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:165)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:554)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:167)
... 63 common frames omitted

Python2 EOL

Python2 已经 EOL,能否更新一下python版本到3?

v1.3-sreworks-saas-dataops-init-job 一直重启

启动命令:

helm install sreworks ./ \
    --create-namespace --namespace sreworks \
    --set global.accessMode="nodePort" \
    --set appmanager.home.url="http://my_ip:30767" \
    --set global.storageClass="local" \
    --set appmanagerbase.openebs.enabled=false

组件问题:

sreworks-saas-dataops-init-job 一直在重启
image

Name:         sreworks-saas-dataops-init-job-8jm7g
Namespace:    sreworks
Priority:     0
Node:         ydms-bk-sreworks/<my_ip>
Start Time:   Thu, 24 Nov 2022 22:02:34 +0800
Labels:       controller-uid=918c6c03-dee2-4096-8d11-5d86313628bc
              job-name=sreworks-saas-dataops-init-job
Annotations:  cni.projectcalico.org/containerID: 284ffcf9d0456a9076174fbb474183afc9921806bbb9a9ae01c5440d78a95018
              cni.projectcalico.org/podIP: 10.233.109.170/32
              cni.projectcalico.org/podIPs: 10.233.109.170/32
Status:       Running
IP:           10.233.109.170
IPs:
  IP:           10.233.109.170
Controlled By:  Job/sreworks-saas-dataops-init-job
Containers:
  job:
    Container ID:  docker://c7cb3369d1fbe81d4ec3a20dc486b0951bb1ddc3dd2ce09272c07db89d7b8af5
    Image:         sreworks-registry.cn-beijing.cr.aliyuncs.com/sreworks/swcli-builtin-package:v1.3
    Image ID:      docker-pullable://sreworks-registry.cn-beijing.cr.aliyuncs.com/sreworks/swcli-builtin-package@sha256:52116b29a0b806864c7ae33954fbdc8ae69bfd4fcfd894fe7258a416fd66c2e8
    Port:          <none>
    Host Port:     <none>
    Command:
      sh
    Args:
      /app/saas-dataops.sh
    State:          Running
      Started:      Thu, 24 Nov 2022 23:11:21 +0800
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Thu, 24 Nov 2022 23:08:54 +0800
      Finished:     Thu, 24 Nov 2022 23:09:53 +0800
    Ready:          True
    Restart Count:  12
    Environment Variables from:
      init-configmap  ConfigMap  Optional: false
    Environment:      <none>
    Mounts:
      /app from run-volume (rw)
      /swcli from swcli-volume (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-rfcjx (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             True 
  ContainersReady   True 
  PodScheduled      True 
Volumes:
  run-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      init-run
    Optional:  false
  swcli-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      init-swcli
    Optional:  false
  kube-api-access-rfcjx:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason   Age                  From     Message
  ----     ------   ----                 ----     -------
  Normal   Pulled   59m                  kubelet  Successfully pulled image "sreworks-registry.cn-beijing.cr.aliyuncs.com/sreworks/swcli-builtin-package:v1.3" in 481.134293ms
  Normal   Pulled   57m                  kubelet  Successfully pulled image "sreworks-registry.cn-beijing.cr.aliyuncs.com/sreworks/swcli-builtin-package:v1.3" in 503.300511ms
  Normal   Pulling  51m (x5 over 70m)    kubelet  Pulling image "sreworks-registry.cn-beijing.cr.aliyuncs.com/sreworks/swcli-builtin-package:v1.3"
  Normal   Created  51m (x5 over 70m)    kubelet  Created container job
  Normal   Started  51m (x5 over 70m)    kubelet  Started container job
  Normal   Pulled   51m                  kubelet  Successfully pulled image "sreworks-registry.cn-beijing.cr.aliyuncs.com/sreworks/swcli-builtin-package:v1.3" in 491.60991ms
  Warning  BackOff  5m5s (x73 over 59m)  kubelet  Back-off restarting failed container

日志如下:

[root@ydms-bk-sreworks ~]# kubectl -n sreworks logs -f sreworks-saas-dataops-init-job-8jm7g
+ cd /root
+ sh /app/core-deploy-check.sh
check flycore deploy success!
+ export 'NAMESPACE_ID=sreworks-dataops'
+ export 'NODE_NAME=${NODE_NAME}'
+ export 'NODE_IP=${NODE_IP}'
+ envsubst
+ envsubst
+ envsubst
+ envsubst
+ envsubst
+ python /app/pack.py --src /root/saas/dataops/build --dest /root/saas/dataops/build.zip
+ '[[' prod-dataops-mysql.sreworks-dataops '!=' prod-dataops-mysql.sreworks-dataops ]]
+ '[[' prod-dataops-elasticsearch-master.sreworks-dataops '!=' prod-dataops-elasticsearch-master.sreworks-dataops ]]
+ '[[' true '==' false ]]
+ '[[' true '==' false ]]
+ '[[' false '==' true ]]
+ sh /app/import.sh dataops /root/saas/dataops/build.zip /root/saas/dataops/launch.yaml /root/saas/dataops/launch-frontend-dev.yaml
+ sh /app/core-action-service-check.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   102    0   102    0     0  14548      0 --:--:-- --:--:-- --:--:-- 17000
+ /root/swcli --config /swcli/swcli.yaml app-package import --app-id dataops --filepath /root/saas/dataops/build.zip '--print-only-app-package-id=true' '--reset-version=true'
{"timestamp":"2022-11-24T15:08:55.735+00:00","status":404,"error":"Not Found","message":"","path":"/"}action service is ok
2022-11-24T15:08:57Z INF app package has imported to appmanager
+ result=131
+ /root/swcli --config /swcli/swcli.yaml deployment launch --namespace sreworks-dataops --stage prod --app-id dataops --path /root/saas/dataops/launch.yaml --app-package-id 131 --arch x86 '--wait=true' --cluster master
2022-11-24T15:08:57Z INF app package has deployed, deploy app id 72
2022-11-24T15:08:57Z INF not finished yet...
2022-11-24T15:09:02Z INF not finished yet...
2022-11-24T15:09:07Z INF not finished yet...
2022-11-24T15:09:12Z INF not finished yet...
2022-11-24T15:09:17Z INF not finished yet...
2022-11-24T15:09:22Z INF not finished yet...
2022-11-24T15:09:27Z INF not finished yet...
2022-11-24T15:09:32Z INF not finished yet...
2022-11-24T15:09:37Z INF not finished yet...
2022-11-24T15:09:43Z INF not finished yet...
2022-11-24T15:09:48Z INF not finished yet...
{
  "namespaceId": "sreworks-dataops",
  "gmtStart": null,
  "deployCreator": "superuser",
  "id": 72,
  "appId": "dataops",
  "readableGmtEnd": null,
  "stageId": "prod",
  "readableGmtStart": null,
  "clusterId": "master",
  "cost": "54000",
  "deployStatus": "WAIT_FOR_OP",
  "gmtModified": 1669302591000,
  "packageVersion": "1.3.5+20221124150855860683",
  "readableGmtModified": "2022-11-24 15:09:51",
  "appPackageId": 131,
  "simplePackageVersion": "1.3.5",
  "gmtEnd": null,
  "deployErrorMessage": "[{\"nodeId\":\"DeployAppWaitComponentNode\",\"details\":\"[ERR-10008] deploy component K8S_MICROSERVICE|pmdb|1.3.5+20221124150856691929 failed|status=WAIT_FOR_OP|errorMessage={\\\"condition\\\":\\\"Failure\\\",\\\"conditions\\\":[{\\\"lastTransitionTime\\\":\\\"2022-11-24T11:08:46Z\\\",\\\"message\\\":\\\"OK\\\",\\\"observedGeneration\\\":2,\\\"reason\\\":\\\"LastReconcileCycleSucceded\\\",\\\"status\\\":\\\"True\\\",\\\"type\\\":\\\"ReconcileSuccess\\\"}]}\\n\\tat com.alibaba.tesla.appmanager.server.dag.nodes.DeployAppWaitComponentNode.waitForAvailableComponent(DeployAppWaitComponentNode.java:156)\\n\\tat com.alibaba.tesla.appmanager.server.dag.nodes.DeployAppWaitComponentNode.run(DeployAppWaitComponentNode.java:58)\\n\\tat com.alibaba.tesla.dag.services.LocalTaskService$LocalTask.run(LocalTaskService.java:232)\\n\\tat java.base\/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\\n\\tat java.base\/java.util.concurrent.FutureTask.run(FutureTask.java:264)\\n\\tat java.base\/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\\n\\tat java.base\/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\\n\\tat java.base\/java.lang.Thread.run(Thread.java:829)\\n\"}]",
  "deployAppConfiguration": null,
  "gmtCreate": 1669302537000,
  "readableGmtCreate": "2022-11-24 15:08:57",
  "deployComponents": [
    {
      "deployProcessId": null,
      "identifier": "TRAIT_ADDON|K8S_MICROSERVICE~dataset~gateway.trait.abm.io|_",
      "appId": "dataops",
      "gmtStart": 1669302590000,
      "gmtEnd": 1669302590000,
      "deployErrorMessage": null,
      "readableGmtModified": "2022-11-24 15:09:50",
      "deployId": 72,
      "deployType": "TRAIT",
      "readableGmtStart": "2022-11-24 15:09:50",
      "readableGmtEnd": "2022-11-24 15:09:50",
      "deployStatus": "SUCCESS",
      "gmtCreate": 1669302590000,
      "gmtModified": 1669302590000,
      "clusterId": "master",
      "stageId": "prod",
      "cost": "0",
      "id": 917,
      "readableGmtCreate": "2022-11-24 15:09:50",
      "namespaceId": "sreworks-dataops",
      "deployCreator": "superuser"
    },
    {
      "gmtStart": 1669302590000,
      "cost": "0",
      "deployType": "TRAIT",
      "appId": "dataops",
      "stageId": "prod",
      "readableGmtModified": "2022-11-24 15:09:50",
      "clusterId": "master",
      "readableGmtCreate": "2022-11-24 15:09:50",
      "gmtModified": 1669302590000,
      "namespaceId": "sreworks-dataops",
      "readableGmtStart": "2022-11-24 15:09:50",
      "deployStatus": "SUCCESS",
      "deployErrorMessage": null,
      "id": 916,
      "gmtCreate": 1669302590000,
      "deployProcessId": null,
      "gmtEnd": 1669302590000,
      "readableGmtEnd": "2022-11-24 15:09:50",
      "deployCreator": "superuser",
      "deployId": 72,
      "identifier": "TRAIT_ADDON|K8S_MICROSERVICE~dataset~service.trait.abm.io|_"
    },
    {
      "identifier": "TRAIT_ADDON|K8S_MICROSERVICE~warehouse~gateway.trait.abm.io|_",
      "appId": "dataops",
      "stageId": "prod",
      "cost": "0",
      "deployCreator": "superuser",
      "readableGmtCreate": "2022-11-24 15:09:48",
      "namespaceId": "sreworks-dataops",
      "readableGmtStart": "2022-11-24 15:09:47",
      "readableGmtEnd": "2022-11-24 15:09:48",
      "deployErrorMessage": null,
      "deployProcessId": null,
      "gmtEnd": 1669302588000,
      "deployStatus": "SUCCESS",
      "gmtCreate": 1669302588000,
      "gmtModified": 1669302588000,
      "deployId": 72,
      "deployType": "TRAIT",
      "clusterId": "master",
      "gmtStart": 1669302587000,
      "id": 915,
      "readableGmtModified": "2022-11-24 15:09:48"
    },
    {
      "readableGmtEnd": "2022-11-24 15:09:47",
      "deployStatus": "SUCCESS",
      "deployProcessId": null,
      "readableGmtCreate": "2022-11-24 15:09:47",
      "appId": "dataops",
      "stageId": "prod",
      "namespaceId": "sreworks-dataops",
      "gmtStart": 1669302587000,
      "gmtEnd": 1669302587000,
      "cost": "0",
      "deployErrorMessage": null,
      "deployId": 72,
      "deployType": "TRAIT",
      "identifier": "TRAIT_ADDON|K8S_MICROSERVICE~warehouse~service.trait.abm.io|_",
      "deployCreator": "superuser",
      "gmtCreate": 1669302587000,
      "clusterId": "master",
      "readableGmtStart": "2022-11-24 15:09:47",
      "id": 914,
      "gmtModified": 1669302587000,
      "readableGmtModified": "2022-11-24 15:09:47"
    },
    {
      "readableGmtCreate": "2022-11-24 15:09:43",
      "gmtModified": 1669302587000,
      "stageId": "prod",
      "cost": "4000",
      "deployProcessId": null,
      "appId": "dataops",
      "clusterId": "master",
      "readableGmtStart": "2022-11-24 15:09:43",
      "deployStatus": "SUCCESS",
      "id": 913,
      "readableGmtModified": "2022-11-24 15:09:47",
      "identifier": "HELM|ververica-platform|1.3.5+20221124150856263099",
      "namespaceId": "sreworks-dataops",
      "gmtStart": 1669302583000,
      "deployErrorMessage": null,
      "deployCreator": "superuser",
      "gmtCreate": 1669302583000,
      "deployId": 72,
      "deployType": "COMPONENT",
      "gmtEnd": null,
      "readableGmtEnd": null
    },
    {
      "gmtCreate": 1669302583000,
      "readableGmtCreate": "2022-11-24 15:09:43",
      "readableGmtModified": "2022-11-24 15:09:48",
      "gmtEnd": null,
      "deployCreator": "superuser",
      "deployProcessId": null,
      "gmtModified": 1669302588000,
      "deployType": "COMPONENT",
      "clusterId": "master",
      "cost": "5000",
      "appId": "dataops",
      "namespaceId": "sreworks-dataops",
      "gmtStart": 1669302583000,
      "readableGmtStart": "2022-11-24 15:09:43",
      "deployStatus": "SUCCESS",
      "id": 912,
      "deployId": 72,
      "identifier": "HELM|elasticsearch|1.3.5+20221124150856536863",
      "stageId": "prod",
      "readableGmtEnd": null,
      "deployErrorMessage": null
    },
    {
      "gmtCreate": 1669302583000,
      "readableGmtCreate": "2022-11-24 15:09:43",
      "deployId": 72,
      "deployType": "COMPONENT",
      "readableGmtStart": "2022-11-24 15:09:43",
      "deployCreator": "superuser",
      "id": 911,
      "gmtEnd": null,
      "deployProcessId": null,
      "clusterId": "master",
      "readableGmtModified": "2022-11-24 15:09:47",
      "identifier": "HELM|mysql|1.3.5+20221124150856998382",
      "namespaceId": "sreworks-dataops",
      "stageId": "prod",
      "cost": "4000",
      "deployErrorMessage": null,
      "gmtModified": 1669302587000,
      "gmtStart": 1669302583000,
      "readableGmtEnd": null,
      "deployStatus": "SUCCESS",
      "appId": "dataops"
    },
    {
      "appId": "dataops",
      "stageId": "prod",
      "readableGmtStart": "2022-11-24 15:09:43",
      "deployType": "COMPONENT",
      "clusterId": "master",
      "readableGmtEnd": null,
      "deployStatus": "SUCCESS",
      "deployErrorMessage": null,
      "deployProcessId": null,
      "id": 910,
      "gmtCreate": 1669302583000,
      "readableGmtModified": "2022-11-24 15:09:47",
      "deployId": 72,
      "identifier": "HELM|kibana|1.3.5+20221124150856221529",
      "gmtEnd": null,
      "deployCreator": "superuser",
      "readableGmtCreate": "2022-11-24 15:09:43",
      "gmtModified": 1669302587000,
      "namespaceId": "sreworks-dataops",
      "gmtStart": 1669302583000,
      "cost": "4000"
    },
    {
      "deployCreator": "superuser",
      "id": 909,
      "gmtModified": 1669302587000,
      "readableGmtModified": "2022-11-24 15:09:47",
      "readableGmtStart": "2022-11-24 15:09:42",
      "readableGmtEnd": null,
      "cost": "5000",
      "readableGmtCreate": "2022-11-24 15:09:42",
      "identifier": "HELM|prometheus|1.3.5+20221124150856871379",
      "deployProcessId": null,
      "stageId": "prod",
      "gmtStart": 1669302582000,
      "gmtEnd": null,
      "deployErrorMessage": null,
      "deployStatus": "SUCCESS",
      "gmtCreate": 1669302582000,
      "deployId": 72,
      "deployType": "COMPONENT",
      "appId": "dataops",
      "clusterId": "master",
      "namespaceId": "sreworks-dataops"
    },
    {
      "gmtStart": 1669302581000,
      "gmtEnd": null,
      "gmtCreate": 1669302581000,
      "readableGmtCreate": "2022-11-24 15:09:41",
      "clusterId": "master",
      "deployCreator": "superuser",
      "deployProcessId": null,
      "deployType": "COMPONENT",
      "namespaceId": "sreworks-dataops",
      "deployErrorMessage": null,
      "deployId": 72,
      "identifier": "HELM|filebeat|1.3.5+20221124150856909489",
      "appId": "dataops",
      "stageId": "prod",
      "readableGmtEnd": null,
      "id": 908,
      "gmtModified": 1669302585000,
      "readableGmtModified": "2022-11-24 15:09:45",
      "cost": "4000",
      "deployStatus": "SUCCESS",
      "readableGmtStart": "2022-11-24 15:09:41"
    },
    {
      "id": 907,
      "deployProcessId": null,
      "stageId": "prod",
      "deployStatus": "SUCCESS",
      "gmtCreate": 1669302580000,
      "readableGmtCreate": "2022-11-24 15:09:40",
      "readableGmtModified": "2022-11-24 15:09:44",
      "deployId": 72,
      "deployCreator": "superuser",
      "deployType": "COMPONENT",
      "readableGmtEnd": null,
      "cost": "4000",
      "deployErrorMessage": null,
      "namespaceId": "sreworks-dataops",
      "gmtStart": 1669302580000,
      "readableGmtStart": "2022-11-24 15:09:40",
      "gmtEnd": null,
      "gmtModified": 1669302584000,
      "identifier": "HELM|metricbeat|1.3.5+20221124150856498531",
      "appId": "dataops",
      "clusterId": "master"
    },
    {
      "readableGmtCreate": "2022-11-24 15:09:39",
      "gmtModified": 1669302584000,
      "readableGmtModified": "2022-11-24 15:09:44",
      "appId": "dataops",
      "namespaceId": "sreworks-dataops",
      "deployStatus": "SUCCESS",
      "id": 906,
      "clusterId": "master",
      "gmtStart": 1669302579000,
      "readableGmtEnd": null,
      "deployCreator": "superuser",
      "deployProcessId": null,
      "deployType": "COMPONENT",
      "identifier": "HELM|skywalking|1.3.5+20221124150856128370",
      "stageId": "prod",
      "readableGmtStart": "2022-11-24 15:09:39",
      "gmtEnd": null,
      "deployErrorMessage": null,
      "gmtCreate": 1669302579000,
      "cost": "5000",
      "deployId": 72
    },
    {
      "readableGmtStart": "2022-11-24 15:09:38",
      "readableGmtEnd": null,
      "identifier": "K8S_MICROSERVICE|warehouse|1.3.5+20221124150856386167",
      "readableGmtModified": "2022-11-24 15:09:39",
      "deployType": "COMPONENT",
      "appId": "dataops",
      "clusterId": "master",
      "namespaceId": "sreworks-dataops",
      "stageId": "prod",
      "cost": "1000",
      "gmtModified": 1669302579000,
      "deployStatus": "SUCCESS",
      "gmtCreate": 1669302578000,
      "gmtStart": 1669302578000,
      "gmtEnd": null,
      "deployErrorMessage": null,
      "deployCreator": "superuser",
      "id": 905,
      "deployId": 72,
      "deployProcessId": null,
      "readableGmtCreate": "2022-11-24 15:09:38"
    },
    {
      "readableGmtCreate": "2022-11-24 15:09:37",
      "identifier": "HELM|grafana|1.3.5+20221124150856735067",
      "appId": "dataops",
      "readableGmtStart": "2022-11-24 15:09:37",
      "deployStatus": "SUCCESS",
      "id": 904,
      "deployId": 72,
      "clusterId": "master",
      "gmtEnd": null,
      "deployCreator": "superuser",
      "gmtCreate": 1669302577000,
      "readableGmtModified": "2022-11-24 15:09:43",
      "cost": "6000",
      "deployErrorMessage": null,
      "gmtModified": 1669302583000,
      "deployType": "COMPONENT",
      "namespaceId": "sreworks-dataops",
      "stageId": "prod",
      "gmtStart": 1669302577000,
      "readableGmtEnd": null,
      "deployProcessId": null
    },
    {
      "readableGmtStart": "2022-11-24 15:09:37",
      "deployId": 72,
      "deployType": "COMPONENT",
      "identifier": "HELM|kubecost|1.3.5+20221124150856751925",
      "clusterId": "master",
      "stageId": "prod",
      "cost": "10000",
      "deployCreator": "superuser",
      "deployProcessId": null,
      "gmtModified": 1669302587000,
      "readableGmtModified": "2022-11-24 15:09:47",
      "appId": "dataops",
      "namespaceId": "sreworks-dataops",
      "deployErrorMessage": null,
      "readableGmtEnd": null,
      "deployStatus": "SUCCESS",
      "id": 903,
      "gmtCreate": 1669302577000,
      "readableGmtCreate": "2022-11-24 15:09:37",
      "gmtStart": 1669302577000,
      "gmtEnd": null
    },
    {
      "id": 902,
      "gmtCreate": 1669302575000,
      "appId": "dataops",
      "gmtStart": 1669302575000,
      "cost": "1000",
      "deployProcessId": null,
      "deployId": 72,
      "stageId": "prod",
      "gmtEnd": null,
      "readableGmtEnd": null,
      "deployCreator": "superuser",
      "readableGmtCreate": "2022-11-24 15:09:35",
      "gmtModified": 1669302576000,
      "deployType": "COMPONENT",
      "clusterId": "master",
      "readableGmtStart": "2022-11-24 15:09:35",
      "deployStatus": "WAIT_FOR_OP",
      "readableGmtModified": "2022-11-24 15:09:36",
      "identifier": "K8S_MICROSERVICE|pmdb|1.3.5+20221124150856691929",
      "namespaceId": "sreworks-dataops",
      "deployErrorMessage": "{\"condition\":\"Failure\",\"conditions\":[{\"lastTransitionTime\":\"2022-11-24T11:08:46Z\",\"message\":\"OK\",\"observedGeneration\":2,\"reason\":\"LastReconcileCycleSucceded\",\"status\":\"True\",\"type\":\"ReconcileSuccess\"}]}"
    },
    {
      "stageId": "prod",
      "readableGmtStart": "2022-11-24 15:09:35",
      "deployProcessId": null,
      "gmtModified": 1669302579000,
      "deployErrorMessage": null,
      "deployId": 72,
      "identifier": "HELM|kafka|1.3.5+20221124150856688696",
      "appId": "dataops",
      "clusterId": "master",
      "gmtStart": 1669302575000,
      "gmtEnd": null,
      "id": 901,
      "readableGmtCreate": "2022-11-24 15:09:35",
      "deployStatus": "SUCCESS",
      "deployCreator": "superuser",
      "deployType": "COMPONENT",
      "namespaceId": "sreworks-dataops",
      "readableGmtEnd": null,
      "cost": "4000",
      "gmtCreate": 1669302575000,
      "readableGmtModified": "2022-11-24 15:09:39"
    },
    {
      "readableGmtModified": "2022-11-24 15:09:46",
      "clusterId": "master",
      "namespaceId": "sreworks-dataops",
      "readableGmtEnd": null,
      "cost": "11000",
      "deployStatus": "SUCCESS",
      "deployProcessId": null,
      "identifier": "K8S_MICROSERVICE|dataset|1.3.5+20221124150856705740",
      "gmtCreate": 1669302575000,
      "deployId": 72,
      "gmtEnd": null,
      "deployErrorMessage": null,
      "deployCreator": "superuser",
      "id": 900,
      "readableGmtCreate": "2022-11-24 15:09:35",
      "gmtModified": 1669302586000,
      "deployType": "COMPONENT",
      "appId": "dataops",
      "stageId": "prod",
      "gmtStart": 1669302575000,
      "readableGmtStart": "2022-11-24 15:09:35"
    },
    {
      "readableGmtModified": "2022-11-24 15:09:15",
      "clusterId": "master",
      "readableGmtEnd": null,
      "id": 899,
      "namespaceId": "sreworks-dataops",
      "readableGmtStart": "2022-11-24 15:09:15",
      "deployErrorMessage": null,
      "gmtModified": 1669302555000,
      "identifier": "INTERNAL_ADDON|appmeta|1.3.5+20221124150856369596",
      "stageId": "prod",
      "gmtEnd": null,
      "deployCreator": "superuser",
      "readableGmtCreate": "2022-11-24 15:09:15",
      "deployId": 72,
      "deployType": "COMPONENT",
      "appId": "dataops",
      "gmtStart": 1669302555000,
      "cost": "0",
      "deployStatus": "SUCCESS",
      "deployProcessId": null,
      "gmtCreate": 1669302555000
    },
    {
      "id": 898,
      "deployId": 72,
      "deployType": "COMPONENT",
      "appId": "dataops",
      "namespaceId": "sreworks-dataops",
      "stageId": "prod",
      "readableGmtEnd": null,
      "deployErrorMessage": null,
      "deployCreator": "superuser",
      "gmtCreate": 1669302555000,
      "readableGmtModified": "2022-11-24 15:09:15",
      "identifier": "INTERNAL_ADDON|developmentmeta|1.3.5+20221124150856960748",
      "gmtEnd": null,
      "readableGmtCreate": "2022-11-24 15:09:15",
      "clusterId": "master",
      "gmtStart": 1669302555000,
      "cost": "0",
      "deployProcessId": null,
      "gmtModified": 1669302555000,
      "readableGmtStart": "2022-11-24 15:09:15",
      "deployStatus": "SUCCESS"
    },
    {
      "readableGmtModified": "2022-11-24 15:09:17",
      "appId": "dataops",
      "namespaceId": "sreworks-dataops",
      "stageId": "prod",
      "deployCreator": "superuser",
      "deployProcessId": null,
      "readableGmtCreate": "2022-11-24 15:09:15",
      "gmtModified": 1669302557000,
      "identifier": "INTERNAL_ADDON|productopsv2|1.3.5+20221124150856384710",
      "clusterId": "master",
      "gmtStart": 1669302555000,
      "deployStatus": "SUCCESS",
      "deployErrorMessage": null,
      "deployId": 72,
      "gmtEnd": null,
      "id": 897,
      "gmtCreate": 1669302555000,
      "deployType": "COMPONENT",
      "readableGmtStart": "2022-11-24 15:09:15",
      "readableGmtEnd": null,
      "cost": "2000"
    }
  ],
  "deployProcessId": 66201,
  "configSha256": "a4d0b1109ea2ec929164b935cdc23e6b1cf38ad1f19cbdeb041bb7838d90ea30"
}

changing app language

Is there a way to change the language of the app (UI) to English while installing the app in the standalone mode? does the Distributed deployment support English?

现场问题抓取工具

  1. 不依赖AppManager,可一键拉取现场信息并打包。
  2. 可以通过命令触发,也可以通过页面触发。

编译不了

Cannot resolve com.alibaba.tesla:tesla-webmvc-spring-boot-starter:2.1.6-SNAPSHOT
————————

<!--自定义本地仓库路径-->
<localRepository>C:\Users\xxxx\.m2\repository</localRepository>

<pluginGroups>
</pluginGroups>

<proxies>
</proxies>

<servers>
    
</servers>

<mirrors>
    <mirror>
        <id>alimaven-central</id>
        <mirrorOf>central</mirrorOf>
        <name>aliyun maven</name>
        <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
    </mirror>
    <mirror>
        <id>jboss-public-repository-group</id>
        <mirrorOf>central</mirrorOf>
        <name>JBoss Public Repository Group</name>
        <url>http://repository.jboss.org/nexus/content/groups/public</url>
    </mirror>

</mirrors>

<profiles>
    <profile>
        <id>jdk18</id>
        <activation>
            <jdk>1.8</jdk>
            <activeByDefault>true</activeByDefault>
        </activation>
        <properties>
            <maven.compiler.source>1.8</maven.compiler.source>
            <maven.compiler.target>1.8</maven.compiler.target>
            <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
        </properties>
    </profile>

</profiles>

希望增加回调alert消息体自定义

目前表单提交的时候,提交成功时,写死了“操作已提交”的messag
image

希望在前端页面设计时,表单提交的时候,可以增加一个参数,支持alert自定义的message

[平台后续发展][DataOps][数智]任务调度及管理

SREWorks多次提到运维方面的数仓和ETL,并且也有Flink这类应用集成,后续有没有规划在这方面深入,如集成企业业务数仓相关功能?
1)数仓案例:一个数仓,采用Flink CDC做数据抽取,Flink SQL(批处理或流处理)或数据库SQL(批处理,如Hologres SQL)做数据处理,相关任务是需要上线的,批处理任务涉及到定时调度,流处理任务涉及到状态监控,任务可能会失败报错,需要收集错误日志,以上也属于运维的范畴,有没有计划增加Flink SQL和数据库SQL的任务调度及管理功能(参考Airflow、DolphinScheduler)?
2)数据资产:有没有计划通过Flink Catalog等方式收集各数据源信息来做一个这方面的元数据管理,进而实现数据资产目录和数据血缘功能(会用到上述的数据调度任务依赖元信息)。
3)数据服务:用户只需要写SQL,平台生成相关的数据服务API,以供外部访问数据。

pod启动不了,也没输出详细的错误昌, 一直重启中。。。。

image
image

Labels: app=prod-dataops-ververica-platform-ververica-platform
component=ververica-platform
pod-template-hash=7f8c84d6bc
release=prod-dataops-ververica-platform
system=ververica-platform
Annotations: checksum/blobstoragesecret: 33f0416dd40148ebae70f524aa9fc046b5a45697de3211b75021df42b37d0e32
checksum/config: d05bd1a8336b68b557f08511b770670e3f44017a0c2ebb9ea0c812ff580e1712
Status: Running
IP: 10.244.1.42
IPs:
IP: 10.244.1.42
Controlled By: ReplicaSet/prod-dataops-ververica-platform-ververica-platform-7f8c84d6bc
Containers:
appmanager:
Container ID: docker://ebb699a8d37f5a78ec8b4104680b1827030d8729763922793f8716df097c8149
Image: sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-appmanager:2.6.1
Image ID: docker-pullable://sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-appmanager@sha256:8d4075356989c45655d9d639fe61349484d1f5d0ab847b9a768b95a9f65a1fd8
Ports: 9080/TCP, 9081/TCP
Host Ports: 0/TCP, 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 137
Started: Sat, 26 Mar 2022 14:45:04 +0800
Finished: Sat, 26 Mar 2022 14:47:26 +0800
Ready: False
Restart Count: 8
Limits:
cpu: 500m
memory: 700Mi
Requests:
cpu: 250m
memory: 512Mi
Liveness: http-get http://:management/actuator/health delay=90s timeout=10s period=10s #success=1 #failure=3
Readiness: http-get http://:management/actuator/health delay=10s timeout=10s period=10s #success=1 #failure=3
Environment:
spring.profiles.active: prod,prod-user
spring.config.additional-location: file:/vvp/etc/
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-nnxxf (ro)
/vvp/data from data (rw)
/vvp/etc from config (ro)
/vvp/secrets/blob-storage-creds from blob-storage-creds (ro)
gateway:
Container ID: docker://831e0e750f64c37c8c5c86d6031cf131b448e1467ce21450add877e12ddccc66
Image: sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-gateway:2.6.1
Image ID: docker-pullable://sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-gateway@sha256:d4e7e585207270a67ab5094889397b52ed9290c4d5f4f91ffa207986a0ab92e4
Ports: 8080/TCP, 8081/TCP
Host Ports: 0/TCP, 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 137
Started: Sat, 26 Mar 2022 14:45:48 +0800
Finished: Sat, 26 Mar 2022 14:48:16 +0800
Ready: False
Restart Count: 8
Limits:
cpu: 500m
memory: 1Gi
Requests:
cpu: 250m
memory: 500m
Liveness: http-get http://:management/actuator/health delay=90s timeout=1s period=10s #success=1 #failure=3
Readiness: http-get http://:management/actuator/health delay=10s timeout=1s period=10s #success=1 #failure=3
Environment:
spring.profiles.active: prod,prod-defaults,prod-user
spring.config.additional-location: file:/vvp/etc/
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-nnxxf (ro)
/vvp/data from data (rw)
/vvp/etc from config (ro)
/vvp/secrets/blob-storage-creds from blob-storage-creds (ro)
ui:
Container ID: docker://573b00f04d8d964983a0bbb1aa91fb29eaba5cc9c8a72c12ad1c488ae3adbb5e
Image: sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-ui:2.6.1
Image ID: docker-pullable://sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-ui@sha256:b2a8ad26cc5a161163a882b4273b490e1b64b32162840381cec416882257f807
Port: 4200/TCP
Host Port: 0/TCP
State: Running
Started: Sat, 26 Mar 2022 14:20:52 +0800
Ready: True
Restart Count: 0
Limits:
cpu: 100m
memory: 320Mi
Requests:
cpu: 100m
memory: 100Mi
Liveness: http-get http://:http/ delay=10s timeout=1s period=10s #success=1 #failure=3
Readiness: http-get http://:http/ delay=0s timeout=1s period=10s #success=1 #failure=3
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-nnxxf (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: prod-dataops-ververica-platform-ververica-platform-config
Optional: false
blob-storage-creds:
Type: Secret (a volume populated by a Secret)
SecretName: prod-dataops-ververica-platform-ververica-platform-blob-storage-credentials
Optional: false
data:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: prod-dataops-ververica-platform-ververica-platform
ReadOnly: false
kube-api-access-nnxxf:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional:
DownwardAPI: true
QoS Class: Burstable
Node-Selectors:
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message


Normal Scheduled 29m default-scheduler Successfully assigned sreworks-dataops/prod-dataops-ververica-platform-ververica-platform-7f8c84d86l7h to node-161
Normal Pulling 29m kubelet Pulling image "sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-appmanager:2.6.1"
Normal Created 29m kubelet Created container appmanager
Normal Started 29m kubelet Started container appmanager
Normal Pulling 29m kubelet Pulling image "sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-gateway:2.6.1"
Normal Pulled 29m kubelet Successfully pulled image "sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-appmanager:2.6.1" in 841.117704ms
Normal Pulled 29m kubelet Successfully pulled image "sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-gateway:2.6.1" in 855.096251ms
Normal Created 29m kubelet Created container gateway
Normal Pulling 29m kubelet Pulling image "sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-ui:2.6.1"
Normal Started 29m kubelet Started container gateway
Normal Pulled 29m kubelet Successfully pulled image "sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-ui:2.6.1" in 1.067686877s
Normal Created 29m kubelet Created container ui
Normal Started 29m kubelet Started container ui
Warning Unhealthy 24m (x33 over 29m) kubelet Readiness probe failed: Get "http://10.244.1.42:8081/actuator/health": dial tcp 10.244.1.42:8081: connect: connection refused
Warning Unhealthy 14m (x86 over 29m) kubelet Readiness probe failed: Get "http://10.244.1.42:9081/actuator/health": dial tcp 10.244.1.42:9081: connect: connection refused
Warning BackOff 9m29s (x7 over 10m) kubelet Back-off restarting failed container
Normal Pulled 4m35s (x10 over 18m) kubelet (combined from similar events): Successfully pulled image "sreworks-registry.cn-beijing.cr.aliyuncs.com/mirror/vvp-gateway:2.6.1" in 862.670149ms

作业调度平台安装失败

安装作业调度平台组件失败,出现“MountVolume.SetUp failed for volume "timezone-sync-trait-volume-config" : hostPath type check failed: /usr/share/zoneinfo/Asia/Shanghai is not a file”报错。

企业微信截图_20221010134015

install with helm and has some error

command:

helm install sreworks ./ --namespace sreworks --kubeconfig="kube.json" --set appmanager.home.url="http://sreworks.***.com"  --set global.storageClass="hostpath"

error message:

Error: parse error at (sreworks/charts/appmanagerbase/charts/kafka/charts/common/templates/_secrets.tpl:84): function "lookup" not defined

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.