Coder Social home page Coder Social logo

kubesphere / console Goto Github PK

View Code? Open in Web Editor NEW
564.0 564.0 435.0 26.54 MB

KubeSphere Console is the web-based UI for KubeSphere clusters.

Home Page: https://kubesphere.io

License: GNU Affero General Public License v3.0

JavaScript 94.67% Dockerfile 0.01% CSS 0.08% HTML 0.10% Makefile 0.01% SCSS 5.11% Shell 0.01%
console container dashboard hacktoberfest kubernetes kubesphere

console's Introduction

banner

The container platform tailored for Kubernetes multi-cloud, datacenter, and edge management

A+ good first issue follow on Twitter


What is KubeSphere

English | 中文

KubeSphere is a distributed operating system for cloud-native application management, using Kubernetes as its kernel. It provides a plug-and-play architecture, allowing third-party applications to be seamlessly integrated into its ecosystem. KubeSphere is also a multi-tenant container platform with full-stack automated IT operation and streamlined DevOps workflows. It provides developer-friendly wizard web UI, helping enterprises to build out a more robust and feature-rich platform, which includes most common functionalities needed for enterprise Kubernetes strategy, see Feature List for details.

The following screenshots give a close insight into KubeSphere. Please check What is KubeSphere for further information.

Workbench Project Resources
CI/CD Pipeline App Store

Demo environment

🎮 KubeSphere Lite provides you with free, stable, and out-of-the-box managed cluster service. After registration and login, you can easily create a K8s cluster with KubeSphere installed in only 5 seconds and experience feature-rich KubeSphere.

🖥 You can view the Demo Video to get started with KubeSphere.

Features

🕸 Provisioning Kubernetes Cluster Support deploy Kubernetes on any infrastructure, support online and air-gapped installation. Learn more.
🔗 Kubernetes Multi-cluster Management Provide a centralized control plane to manage multiple Kubernetes clusters, and support the ability to propagate an app to multiple K8s clusters across different cloud providers.
🤖 Kubernetes DevOps Provide GitOps-based CD solutions and use Argo CD to provide the underlying support, collecting CD status information in real time. With the mainstream CI engine Jenkins integrated, DevOps has never been easier. Learn more.
🔎 Cloud Native Observability Multi-dimensional monitoring, events and auditing logs are supported; multi-tenant log query and collection, alerting and notification are built-in. Learn more.
🧩 Service Mesh (Istio-based) Provide fine-grained traffic management, observability and tracing for distributed microservice applications, provides visualization for traffic topology. Learn more.
💻 App Store Provide an App Store for Helm-based applications, and offer application lifecycle management on Kubernetes platform. Learn more.
💡 Edge Computing Platform KubeSphere integrates KubeEdge to enable users to deploy applications on the edge devices and view logs and monitoring metrics of them on the console. Learn more.
📊 Metering and Billing Track resource consumption at different levels on a unified dashboard, which helps you make better-informed decisions on planning and reduce the cost. Learn more.
🗃 Support Multiple Storage and Networking Solutions
  • Support GlusterFS, CephRBD, NFS, LocalPV solutions, and provide CSI plugins to consume storage from multiple cloud providers.
  • Provide Load Balancer Implementation OpenELB for Kubernetes in bare-metal, edge, and virtualization.
  • Provides network policy and Pod IP pools management, support Calico, Flannel, Kube-OVN
  • ..
    🏘 Multi-tenancy Provide unified authentication with fine-grained roles and three-tier authorization system, and support AD/LDAP authentication.
    🧠 GPU Workloads Scheduling and Monitoring Create GPU workloads on the GUI, schedule GPU resources, and manage GPU resource quotas by tenant.

    Architecture

    KubeSphere uses a loosely-coupled architecture that separates the frontend from the backend. External systems can access the components of the backend through the REST APIs.

    Architecture


    Latest release

    🎉 KubeSphere v3.4.0 was released! It brings enhancements and better user experience, see the Release Notes For 3.4.0 for the updates.

    Component supported versions table

    Component Version K8s supported version
    Alerting N/A 1.21,1.22,1.23,1.24,1.25,1.26
    Auditing v0.2.0 1.21,1.22,1.23,1.24,1.25,1.26
    Monitoring N/A 1.21,1.22,1.23,1.24,1.25,1.26
    DevOps v3.4.0 1.21,1.22,1.23,1.24,1.25,1.26
    EdgeRuntime v1.13.0 1.21,1.22,1.23
    Events N/A 1.21,1.22,1.23,1.24,1.25,1.26
    Logging opensearch:v2.6.0
    fluentbit-operator: v0.14.0
    fluent-bit-tag: v1.9.4
    1.21,1.22,1.23,1.24,1.25,1.26
    Metrics Server v0.4.2 1.21,1.22,1.23,1.24,1.25,1.26
    Network N/A 1.21,1.22,1.23,1.24,1.25,1.26
    Notification v2.3.0 1.21,1.22,1.23,1.24,1.25,1.26
    AppStore N/A 1.21,1.22,1.23,1.24,1.25,1.26
    Storage pvc-autoresizer: v0.3.0
    storageclass-accessor: v0.2.2
    1.21,1.22,1.23,1.24,1.25,1.26
    ServiceMesh Istio: v1.14.6 1.21,1.22,1.23,1.24
    Gateway Ingress NGINX Controller: v1.3.1 1.21,1.22,1.23,1.24

    Installation

    KubeSphere can run anywhere from on-premise datacenter to any cloud to edge. In addition, it can be deployed on any version-compatible Kubernetes cluster. The installer will start a minimal installation by default, you can enable other pluggable components before or after installation.

    Quick start

    Installing on K8s/K3s

    Ensure that your cluster has installed Kubernetes v1.21.x, v1.22.x, v1.23.x, * v1.24.x, * v1.25.x, or * v1.26.x. For Kubernetes versions with an asterisk, some features may be unavailable due to incompatibility.

    Run the following commands to install KubeSphere on an existing Kubernetes cluster:

    kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.4.0/kubesphere-installer.yaml
    
    kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.4.0/cluster-configuration.yaml

    All-in-one

    👨‍💻 No Kubernetes? You can use KubeKey to install both KubeSphere and Kubernetes/K3s in single-node mode on your Linux machine. Let's take K3s as an example:

    # Download KubeKey
    curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.10 sh -
    # Make kk executable
    chmod +x kk
    # Create a cluster
    ./kk create cluster --with-kubernetes v1.24.14 --container-manager containerd --with-kubesphere v3.4.0

    You can run the following command to view the installation logs. After KubeSphere is successfully installed, you can access the KubeSphere web console at http://IP:30880 and log in using the default administrator account ( admin/P@88w0rd).

    kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}') -f

    KubeSphere for hosted Kubernetes services

    KubeSphere is hosted on the following cloud providers, and you can try KubeSphere by one-click installation on their hosted Kubernetes services.

    You can also install KubeSphere on other hosted Kubernetes services within minutes, see the step-by-step guides to get started.

    👨‍💻 No internet access? Refer to

    the Air-gapped Installation on Kubernetes

    or Air-gapped Installation on Linux

    for instructions on how to use private registry to install KubeSphere.

    Guidance, discussion, contribution, and support

    We ❤️ your contribution. The community walks you through how to get started contributing KubeSphere. The development guide explains how to set up development environment.

    🤗 Please submit any KubeSphere bugs, issues, and feature requests to KubeSphere GitHub Issue.

    💟 The KubeSphere team also provides efficient official ticket support to respond in hours. For more information, click KubeSphere Online Support.

    Who are using KubeSphere

    The user case studies page includes the user list of the project. You can leave a comment to let us know your use case.

    Landscapes



        

    KubeSphere is a member of CNCF and a Kubernetes Conformance Certified platform , which enriches the CNCF CLOUD NATIVE Landscape.

    console's People

    Contributors

    bettygogo2021 avatar chengleqi avatar cw514102209 avatar dependabot[bot] avatar elichen95 avatar fuchunlan avatar harrisonliu5 avatar johnniang avatar justahole avatar ks-ci-bot avatar ks-crowdin-bot avatar leoendless avatar linuxsuren avatar liuboaibc avatar liyefox avatar mangogoforward avatar patrickluoyu avatar rayzhou2017 avatar serenashe avatar shaowenchen avatar sherlock113 avatar tracer1023 avatar turtlechang avatar weili520 avatar xuliwenwenwen avatar yazhouio avatar ydfu avatar ymh1028 avatar zhaohuiweixiao avatar zheng1 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

    console's Issues

    创建外部服务时,关联应用操作,拉取列表异常

    版本:2.1

    操作:

    1,创建示例应用 bookinfo
    2,在服务中创建【外部服务】

    image

    查看不到第一步中创建的应用。

    image

    尝试的方法:

    1,刷新页面,无法出现列表
    2,反复点击应用列表,可以看到 bookinfo 应用

    预期:

    创建外部服务时,点击高级设置,能查看当前项目下的完整应用列表。

    /area console
    /assign @leoendless

    创建资源时,镜像名功能优化的建议

    Describe the bug(描述下问题)
    我在测试灰度发布功能时,不小心把镜像名后面的空格也复制了并粘贴到了设置窗口中,然后就review v2服务就一直起不来,只能进集群查看replicaset才能发现问题。镜像名后面多一个空格本来就是一个错误,希望前端在接受用户输入时把镜像名前后的空格都去掉
    Snipaste_2019-12-24_16-09-40

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1.0
    Kubernetes: 1.15.7

    Environment(环境的硬件配置)
    1 masters: 4cpu/16g
    3 nodes: 4cpu/16g

    TypeError: Cannot read property 'concat' of undefined

    yarn

    yarn install v1.22.0
    [1/5] 🔍 Validating package.json...
    [2/5] 🔍 Resolving packages...
    [3/5] 🚚 Fetching packages...
    [4/5] 🔗 Linking dependencies...
    warning " > [email protected]" has unmet peer dependency "@types/react@^15.0.0 || ^16.0.0".
    warning " > [email protected]" has unmet peer dependency "babel-core@^6.0.0 || ^7.0.0-0".
    [5/5] 🔨 Building fresh packages...
    success Saved lockfile.
    $ rimraf .cache-loader
    ✨ Done in 72.88s.

    yarn lego

    yarn run v1.22.0
    $ webpack -p --config scripts/webpack.lego.js
    ✔ success webpack compiled in 1s 455ms
    Hash: a928e222abddf0e99f13
    Version: webpack 4.41.6
    Time: 1460ms
    Built at: 02/13/2020 8:30:31 AM
    Asset Size Chunks Chunk Names
    lego.css 370 KiB 0 [emitted] [big] lego
    lego.js 932 bytes 0 [emitted] lego
    Entrypoint lego [big] = lego.css lego.js
    [0] ./src/scss/lego.theme.scss 39 bytes {0} [built]
    + 1 hidden module
    Child mini-css-extract-plugin node_modules/cache-loader/dist/cjs.js!node_modules/css-loader/index.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!node_modules/sass-loader/dist/cjs.js!src/scss/lego.theme.scss:
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/cache-loader/dist/cjs.js!./node_modules/css-loader??ref--4-2!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/dist/cjs.js!./src/scss/lego.theme.scss 370 KiB {0} [built]
    + 1 hidden module
    ✨ Done in 2.32s.

    yarn start

    yarn run v1.22.0
    $ concurrently -k --raw 'yarn dev:client' 'yarn dev:server'
    $ cross-env NODE_ENV=development nodemon -w ./common -w ./server -e js,yaml server/server.js
    $ cross-env NODE_ENV=development webpack-dev-server --config scripts/webpack.dev.js -w
    [nodemon] 1.19.4
    [nodemon] to restart at any time, enter rs
    [nodemon] watching dir(s): common server/**/*
    [nodemon] watching extensions: js,yaml
    [nodemon] starting node server/server.js
    Dashboard app running at port 8000
    Happy[jsx]: Version: 5.0.1. Threads: 3
    ℹ 「wds」: Project is running at http://0.0.0.0:8001/
    ℹ 「wds」: webpack output is served from /
    ℹ 「wds」: Content not from webpack is served from /Users/ym-10458/Documents/devops/kubesphere.io/console
    Happy[jsx]: All set; signaling webpack to proceed.
    ✔ success webpack compiled in 605ms
    ✖ 「wdm」: Hash: 7eec6b63eb20fd752509
    Version: webpack 4.41.6
    Time: 694ms
    Built at: 02/13/2020 8:30:40 AM
    Asset Size Chunks Chunk Names
    main.js 33.5 KiB main [emitted] main
    vendor.js 1.3 MiB vendor [emitted] vendor
    Entrypoint main = vendor.js main.js
    [0] multi (webpack)-dev-server/client?http://0.0.0.0:8001 (webpack)/hot/dev-server.js react-hot-loader/patch ./src/core/index.js 64 bytes {main} [built]
    [./node_modules/react-hot-loader/dist/react-hot-loader.development.js] 97.1 KiB {vendor} [built]
    [./node_modules/react-hot-loader/patch.js] 229 bytes {vendor} [built]
    [./node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:8001] (webpack)-dev-server/client?http://0.0.0.0:8001 4.29 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {vendor} [built]
    [./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {vendor} [built]
    [./node_modules/webpack-dev-server/node_modules/strip-ansi/index.js] (webpack)-dev-server/node_modules/strip-ansi/index.js 161 bytes {vendor} [built]
    [./node_modules/webpack/hot sync ^./log$] (webpack)/hot sync nonrecursive ^./log$ 170 bytes {main} [built]
    [./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {vendor} [built]
    [./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 75 bytes {vendor} [built]
    [./src/core/index.js] 952 bytes {main} [built] [failed] [1 error]
    + 44 hidden modules

    ERROR in ./src/core/index.js
    Module build failed (from ./node_modules/happypack/loader.js):
    TypeError: Cannot read property 'concat' of undefined
    at findPath (/Users/ym-10458/Documents/devops/kubesphere.io/console/node_modules/babel-plugin-recharts/lib/index.js:55:26)
    at /Users/ym-10458/Documents/devops/kubesphere.io/console/node_modules/babel-plugin-recharts/lib/index.js:126:17
    at Array.forEach ()
    at Object. (/Users/ym-10458/Documents/devops/kubesphere.io/console/node_modules/babel-plugin-recharts/lib/index.js:118:21)
    at Module._compile (internal/modules/cjs/loader.js:1144:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1164:10)
    at Module.load (internal/modules/cjs/loader.js:993:32)
    at Function.Module._load (internal/modules/cjs/loader.js:892:14)
    at Module.require (internal/modules/cjs/loader.js:1033:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    @ multi react-hot-loader/patch ./src/core/index.js main[1]
    ℹ 「wdm」: Failed to compile.

    页面无法登陆

    Describe the bug(描述下问题)
    在多master集群部署kubesphere后无法登陆,提示用户名或密码错误。

    看了下kubesphere项目的login函数并测试了一下,err = conn.Bind(dn, password)会去openldap认证当前登录用户,这里传入的密码应该是用户的未加密密码,测试时发现传入的密码是加密后的。
    再看了下前端代码,在handlerLogin函数的如下代码段中

          if (params.encrypt) {
            params.password = decryptPassword(params.encrypt, ctx.session.salt)
            delete params.encrypt
          }
    
    

    ctx.session.salt参数打印是undefined,怀疑问题出在这里,没有成功对密码进行解密。不清楚这个salt参数为undefined是偶然还是必然。请帮忙确认下,谢谢

    For UI issues please also add a screenshot that shows the issue.

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1.1
    Kubernetes: 1.15.10

    Environment(环境的硬件配置)
    How many nodes and their hardware configuration:

    3 masters: 8cpu/8g
    1 nodes: 8cpu/16g

    (and other info are welcomed to help us debugging)

    To Reproduce(复现步骤)
    Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior(预期行为)
    页面可以登录

    本地无法运行代码

    2.1.0分支最新代码,本地Node版本1.13.7,yarn版本1.21.1。不知道是不是我的环境哪里有问题,请帮忙看下下面的错误,谢谢

    $ yarn start
    yarn run v1.21.1
    $ concurrently -k --raw 'yarn dev:client' 'yarn dev:server'
    $ cross-env NODE_ENV=development webpack-dev-server --config scripts/webpack.dev.js -w
    $ cross-env NODE_ENV=development nodemon -w ./common -w ./server -e js,yaml server/server.js
    [nodemon] 1.18.11
    [nodemon] to restart at any time, enter `rs`
    [nodemon] watching: ./common /Users/wupeng/work/console_360/server/**/*
    [nodemon] starting `node server/server.js`
    Dashboard app running at port 8000
    Happy[jsx]: Version: 5.0.1. Threads: 3
    ℹ 「wds」: Project is running at http://0.0.0.0:8001/
    ℹ 「wds」: webpack output is served from /
    ℹ 「wds」: Content not from webpack is served from /Users/wupeng/work/console_360
    Happy[jsx]: All set; signaling webpack to proceed.
    ✔ success webpack compiled in 581ms
    ✖ 「wdm」: Hash: 36f497e885671ccb4706
    Version: webpack 4.41.4
    Time: 667ms
    Built at: 02/06/2020 5:54:37 PM
        Asset      Size  Chunks             Chunk Names
      main.js  33.5 KiB    main  [emitted]  main
    vendor.js  1.31 MiB  vendor  [emitted]  vendor
    Entrypoint main = vendor.js main.js
    [0] multi (webpack)-dev-server/client?http://0.0.0.0:8001 (webpack)/hot/dev-server.js react-hot-loader/patch ./src/core/index.js 64 bytes {main} [built]
    [./node_modules/react-hot-loader/dist/react-hot-loader.development.js] 97.1 KiB {vendor} [built]
    [./node_modules/react-hot-loader/patch.js] 229 bytes {vendor} [built]
    [./node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:8001] (webpack)-dev-server/client?http://0.0.0.0:8001 4.29 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.89 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {vendor} [built]
    [./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {vendor} [built]
    [./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {vendor} [built]
    [./node_modules/webpack-dev-server/node_modules/strip-ansi/index.js] (webpack)-dev-server/node_modules/strip-ansi/index.js 161 bytes {vendor} [built]
    [./node_modules/webpack/hot sync ^\.\/log$] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {main} [built]
    [./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {vendor} [built]
    [./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 75 bytes {vendor} [built]
    [./src/core/index.js] 881 bytes {main} [built] [failed] [1 error]
        + 46 hidden modules
    
    ERROR in ./src/core/index.js
    Module build failed (from ./node_modules/happypack/loader.js):
    TypeError: Cannot read property 'concat' of undefined
        at findPath (/Users/wupeng/work/console_360/node_modules/babel-plugin-recharts/lib/index.js:55:26)
        at /Users/wupeng/work/console_360/node_modules/babel-plugin-recharts/lib/index.js:126:17
        at Array.forEach (<anonymous>)
        at Object.<anonymous> (/Users/wupeng/work/console_360/node_modules/babel-plugin-recharts/lib/index.js:118:21)
        at Module._compile (internal/modules/cjs/loader.js:1151:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
        at Module.load (internal/modules/cjs/loader.js:1000:32)
        at Function.Module._load (internal/modules/cjs/loader.js:899:14)
        at Module.require (internal/modules/cjs/loader.js:1040:19)
        at require (internal/modules/cjs/helpers.js:72:18)
     @ multi react-hot-loader/patch ./src/core/index.js main[1]
    ℹ 「wdm」: Failed to compile.
    
    

    构建镜像功能中,无法删除条目

    Describe the bug(描述下问题)
    构建镜像功能中,选择条目进行删除,本来是要填写条目名然后确定删除,现在是在填写条目名时对话框迅速自动切换为确认框,完全没法填写条目,这种情况下,点击确认框的确认按钮,无反应。
    我随后点击那个条目,进去后,在左上角下拉菜单里删除了这个条目
    Snipaste_2019-12-23_15-24-12

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1.0
    Kubernetes: 1.15.7

    Environment(环境的硬件配置)
    How many nodes and their hardware configuration:

    For example:
    1 masters: 4cpu/16g
    3 nodes: 4cpu/16g

    日志时间顺序混乱

    General remarks

    Please delete this section including header before submitting
    也可以使用中文

    This form is to report bugs. For general usage questions refer to our Slack channel
    KubeSphere-users

    Describe the bug(描述下问题)
    在全局日志里查询日志,开启实时后,顺序混乱。如下图,时间顺序 11:36:53 -> 11:36:08 -> 11:37:08

    image
    image

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: v2.1.0
    Kubernetes: (If KubeSphere installer used, you can skip this)

    Expected behavior(预期行为)
    日志顺序统一

    Feat:Display clear data if KubeSphere can't get pv capacity usage for nfs sc

    General remarks
    Describe the bug(描述下问题)
    A clear and concise description of what the bug is.

    For UI issues please also add a screenshot that shows the issue.

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1.1
    The default storage class is nfs

    To Reproduce(复现步骤)
    Steps to reproduce the behavior:
    As nfs limitation, there's no API provided from nfs to get mounted volume usage for each pv, but on KubeSphere console, it seems we always show it as '0%'.
    This is very confusing to end-users.

    nfs-usage

    Expected behavior(预期行为)
    on the volume list page, if those volumes belong to nfs sc, just tell end-users that 'capacity usage is not supported for nfs'.

    yarn start然后报错,在线等哈

    vscode执行的时候,已经在我的电脑中配置了yarn的环境变量
    yarn start然后报错如下:

    PS G:\代码例子\daima\console> yarn start
    yarn run v1.21.1
    $ concurrently -k --raw 'yarn dev:client' 'yarn dev:server'
    ''yarn' 不是内部或外部命令,也不是可运行的程序
    或批处理文件。
    文件名、目录名或卷标语法不正确。
    ''yarn' 不是内部或外部命令,也不是可运行的程序
    或批处理文件。
    文件名、目录名或卷标语法不正确。
    error Command failed with exit code 1.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    PS G:\daima\console>

    支持 Security Context 策略

    设计稿
    zpl://screen?sid=5dd24a47c5060b624f9ac5ff&pid=5cbd3e2d21c1ba7ba1eb412a

    /area console
    /kind design
    /milestone 2.1.1

    增加 访问记录 页面

    功能描述:
    浏览器中记录用户最近访问的 集群、企业空间、 项目、 DevOps工程。在用户开启访问记录的页面时可以快速切换之前访问的层级资源

    原型地址:
    zpl://screen?pid=5cbe7fbc2f55d8b73f56811b&sid=5e09a8be734c3d972510a296

    告警规则监控列表这里不是全部

    General remarks

    Please delete this section including header before submitting
    也可以使用中文

    This form is to report bugs. For general usage questions refer to our Slack channel
    KubeSphere-users

    Describe the bug(描述下问题)
    A clear and concise description of what the bug is.

    For UI issues please also add a screenshot that shows the issue.

    需要检查 resource kapi,应该做了分页(默认 limit=10,page=1)。api 返回里写了 total_count=12)。没有处理分页,所以只展示了10个item,而不是全部监控目标

    image

    image

    image

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1.0
    Kubernetes: (If KubeSphere installer used, you can skip this)

    Environment(环境的硬件配置)
    How many nodes and their hardware configuration:

    For example:
    3 masters: 8cpu/8g
    3 nodes: 8cpu/16g

    (and other info are welcomed to help us debugging)

    To Reproduce(复现步骤)
    Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior(预期行为)
    A clear and concise description of what you expected to happen.

    fail to create Deployment

    General remarks

    Please delete this section including header before submitting
    也可以使用中文

    This form is to report bugs. For general usage questions refer to our Slack channel
    KubeSphere-users

    Describe the bug(描述下问题)
    A clear and concise description of what the bug is.

    Click "create" button, get no response.
    image

    And an warning pops up when I expand "Add metadata"
    image

    Though metadata is filled, I still fail to creare
    image

    For UI issues please also add a screenshot that shows the issue.

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1.1-dev
    Kubernetes: (If KubeSphere installer used, you can skip this)

    Environment(环境的硬件配置)
    How many nodes and their hardware configuration:

    For example:
    3 masters: 8cpu/8g
    3 nodes: 8cpu/16g

    (and other info are welcomed to help us debugging)

    To Reproduce(复现步骤)
    Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior(预期行为)
    A clear and concise description of what you expected to happen.

    Test for slack integration

    General remarks

    Please delete this section including header before submitting
    也可以使用中文

    This form is to report bugs. For general usage questions refer to our Slack channel
    KubeSphere-users

    Describe the bug(描述下问题)
    A clear and concise description of what the bug is.

    For UI issues please also add a screenshot that shows the issue.

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere:
    Kubernetes: (If KubeSphere installer used, you can skip this)

    Environment(环境的硬件配置)
    How many nodes and their hardware configuration:

    For example:
    3 masters: 8cpu/8g
    3 nodes: 8cpu/16g

    (and other info are welcomed to help us debugging)

    To Reproduce(复现步骤)
    Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior(预期行为)
    A clear and concise description of what you expected to happen.

    右下角的工具箱有时候无法进入,且无法退出

    KubeSphere: 2.1.1
    Kubernetes: 1.13.7
    To Reproduce(复现步骤)
    1.使用GitHub上前端代码编译替换之前的前端镜像发现
    2.右下角工具箱有时候无法进入到终端,报错如下图
    1210

    3.就算进入点击X按钮也无法退出,截图如下
    12102
    4.编译的log
    yarn run v1.19.1
    $ rimraf dist
    $ yarn build:client && yarn build:server
    $ yarn lego && webpack -p --config scripts/webpack.prod.js --display errors-only
    $ webpack -p --config scripts/webpack.lego.js
    ✔ success webpack compiled in 779ms
    Hash: 0f19b80ca984b9617454
    Version: webpack 4.30.0
    Time: 788ms
    Built at: 2019-12-10 07:51:11
    Asset Size Chunks Chunk Names
    lego.css 370 KiB 0 [emitted] [big] lego
    lego.js 932 bytes 0 [emitted] lego
    Entrypoint lego [big] = lego.css lego.js
    [0] ./src/scss/lego.theme.scss 39 bytes {0} [built]
    + 1 hidden module
    Child mini-css-extract-plugin node_modules/cache-loader/dist/cjs.js!node_modules/css-loader/index.js??ref--4-2!node_modules/postcss-loader/src/index.js??postcss!node_modules/sass-loader/lib/loader.js!src/scss/lego.theme.scss:
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/cache-loader/dist/cjs.js!./node_modules/css-loader??ref--4-2!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/lib/loader.js!./src/scss/lego.theme.scss 370 KiB {0} [built]
    + 1 hidden module
    Happy[jsx]: Version: 5.0.1. Threads: 3
    Happy[jsx]: All set; signaling webpack to proceed.

    ✔ success webpack compiled in 1m 24s 913ms
    Webpack Bundle Analyzer saved report to /mnt/dist/report.html

    SMP ⏱
    General output time took 1 min, 32.53 secs

    SMP ⏱ Plugins
    WebpackBarPlugin took 17.026 secs
    MiniCssExtractPlugin took 10.11 secs
    OptimizeCssAssetsWebpackPlugin took 9.57 secs
    BundleAnalyzerPlugin took 7.6 secs
    CopyPlugin took 0.89 secs
    ChunksRenamePlugin took 0.484 secs
    DefinePlugin took 0.477 secs
    HappyPlugin took 0.191 secs

    SMP ⏱ Loaders
    cache-loader took 1 min, 9.27 secs
    module count = 3087
    happypack took 1 min, 0.825 secs
    module count = 1097
    mini-css-extract-plugin, and
    cache-loader, and
    css-loader, and
    postcss-loader, and
    fast-sass-loader took 56.4 secs
    module count = 491
    cache-loader, and
    css-loader, and
    postcss-loader, and
    fast-sass-loader took 51.55 secs
    module count = 491
    cache-loader, and
    @svgr/webpack, and
    url-loader took 4.53 secs
    module count = 9
    mini-css-extract-plugin, and
    cache-loader, and
    css-loader took 2.79 secs
    module count = 3
    modules with no loaders took 1.56 secs
    module count = 5
    cache-loader, and
    css-loader took 1.4 secs
    module count = 3
    file-loader took 0.274 secs
    module count = 18

    $ webpack -p --config scripts/webpack.server.js --display errors-only
    Done in 122.89s.

    Enhance: provide a secret setup link when setting env of a container

    For UI issues please also add a screenshot that shows the issue.
    Jietu20200110-224046

    To Reproduce(复现步骤)
    Steps to reproduce the behavior:

    1. Go to 'Deployment'
    2. Click on 'Create' button
    3. add a sample image, for example, tomcat,
    4. Config env variable for this container

    Expected behavior(预期行为)
    Providing a cm/secret setup link if no proper cm/secret is listed.

    UI theme

    请问是否可以添加换主题的功能呢?

    虽然提供的有variables.scss、lego.theme.scss、lego.custom.scss等样式文件
    但是项目中还是有很多零散的样式
    想要改主题色还需要手动去搜索更改
    并且涉及的文件还是挺多的

    后续可否在现有基础上统一样式添加换主题的功能呢?

    Lego-UI

    官方的Lego-UI文档打算开源么??

    getApplicationStatus should return Ready if status.conditions is empty

    // src/utils/object.mapper.js
    const getApplicationStatus = item => {
      const conditions = get(item, 'status.conditions', [])
    
      for (let index = 0; index < conditions.length; index++) {
        const condition = conditions[index]
        if (condition.type === 'Error' && condition.status === 'True') {
          return 'Error'
        }
        if (condition.type === 'Ready' && condition.status === 'True') {
          return 'Ready'
        }
      }
    
      return 'Updating'
    }
    

    if application's status.conditions is empty, app status should appear as Ready not Updateing.

    告警详情中,监控目标数量两处不一致

    General remarks

    Please delete this section including header before submitting
    也可以使用中文

    This form is to report bugs. For general usage questions refer to our Slack channel
    KubeSphere-users

    Describe the bug(描述下问题)
    A clear and concise description of what the bug is.

    For UI issues please also add a screenshot that shows the issue.

    这一处来源于告警模块:
    image

    这一处来源于 resource kapi:
    image

    应以后者为准。建议是前面的屏蔽监控目标一列?或者用 resource kapi 替换?

    这是个workaround,本质原因来源于监控算法(算法是正确的,只是不能做到 null 数据时返回0),导致告警模块返回的数量不正确。

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere:
    Kubernetes: (If KubeSphere installer used, you can skip this)

    Environment(环境的硬件配置)
    How many nodes and their hardware configuration:

    For example:
    3 masters: 8cpu/8g
    3 nodes: 8cpu/16g

    (and other info are welcomed to help us debugging)

    To Reproduce(复现步骤)
    Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior(预期行为)
    A clear and concise description of what you expected to happen.

    容器组模板编辑菜单“删除/编辑“栏与资源限制信息重叠

    General remarks

    Please delete this section including header before submitting
    也可以使用中文

    This form is to report bugs. For general usage questions refer to our Slack channel
    KubeSphere-users

    Describe the bug(描述下问题)
    A clear and concise description of what the bug is.

    For UI issues please also add a screenshot that shows the issue.

    image

    image

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1
    Kubernetes: (If KubeSphere installer used, you can skip this)

    Environment(环境的硬件配置)
    How many nodes and their hardware configuration:

    For example:
    3 masters: 8cpu/8g
    3 nodes: 8cpu/16g

    (and other info are welcomed to help us debugging)

    To Reproduce(复现步骤)
    Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior(预期行为)
    A clear and concise description of what you expected to happen.

    Mail setting page expose mail password

    1、login kubesphere system with admin account
    2、open devtools about chrome
    3、open mail setting page
    excepted result : cannot find mail password
    actual result: can find mail password

    应用管理->应用分类界面 不方便点击下一页

    Describe the bug(描述下问题)
    在浏览器页面上下翻动时,往上翻页下一页按钮和工具按钮很容易混在一起,往下翻页下一页按钮就跑到页面底部看不到了。导致很难点击下一页按钮。希望能优化下,谢谢
    Snipaste_2019-12-23_18-11-11

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1.0
    Kubernetes: 1.15.7

    Environment(环境的硬件配置)
    How many nodes and their hardware configuration:

    For example:
    1 masters: 4cpu/16g
    3 nodes: 4cpu/16g

    图形化创建流水线时,无法拖动任务进行排序

    Describe the bug(描述下问题)
    如下图,当我开始编辑这个流水线时,我能拖动任务进行排序但是鼠标松开后就恢复到原来顺序了。第二次再要拖动时,那里已经固定无法操作了。
    Snipaste_2019-12-25_18-54-41

    Versions used(KubeSphere/Kubernetes的版本)
    KubeSphere: 2.1.0
    Kubernetes: 1.15.7

    Environment(环境的硬件配置)
    1 masters: 4cpu/16g
    3 nodes: 4cpu/16g

    用户在使用私有仓库镜像时,镜像名称需要处理scheme

    2.1.1 将允许镜像名称包含 scheme,具体来说,镜像仓库密钥地址包含以下两种情况。

    1. 不带scheme
      例如: dockerhub.qingcloud.com
      在这种情况下前端无需特殊处理,镜像名称可能为 dockerhub.qingcloud.com/runzexia/hello:latest
    2. https/http
      例如 https://dockerhub.qingcloud.com
      在这种情况下前端需要去除镜像仓库地址中的scheme
      错误示例: https://dockerhub.qingcloud.com/runzexia/hello:latest
      http://dockerhub.qingcloud.com/runzexia/hello:latest
      正确示例:
      dockerhub.qingcloud.com/runzexia/hello:latest

    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.