Giter Club home page Giter Club logo

website's Introduction

KubeSphere Website

This repository contains branches that we are working on.

The master branch contains KubeSphere Doc 3.3 which has been released together with KubeSphere 3.3. The frontend website currently displays content based on the master branch. If the pull request you submit applies to both the master branch and other branches, use the command cherry-pick to submit the same pull request.

This project uses Hugo to build the KubeSphere website.

Contribute to the project

Contributions of any kind are welcome! Thanks goes to these wonderful contributors, they made our community and product grow fast.

Fork and clone the repository

  1. Fork the repository.

  2. Clone the repository to a local path and access it:

    git clone https://github.com/<username>/website
    cd website
    

Compile and preview the website

You need to build the website to publish it as static content.

Install Hugo extended

Go to the Hugo releases place and download the hugo_extended version that better suits your OS (version 0.70+).

EXTENDED version is MANDATORY to properly build the static content!

Note: If you install Hugo on Windows, you need to add environment variables for the .exe file of Hugo. For example, you place the .exe file in the path C:\Hugo\bin. You have to add this path in environment variables. Execute hugo version to view if the installation is successful.

Run the website locally

After you have installed Hugo, run the following command:

hugo server -D

Now you can preview the website in your browser using http://localhost:1313/.

Open a pull request

Open a pull request (PR) to make contributions to the repository. Please use DCO sign-off when you submit a pull request. Refer to the command below (add -s):

git commit -s -m "xxx"

Preview a pull request

Go to the Files changed tab. Click the three dots of the .md file you want to preview, and then click View file. Please note that this method can only give you a preview on the GitHub instead of on the website.

view-file

Cherry pick a commit

The command cherry-pick allows you to pick a commit in a branch and integrate it into another branch. For example, we are working on both the master branch and the release-3.2 branch. If the pull request you submit to the master branch applies to the release-3.2 branch as well, perform the following steps:

  1. In the master branch, find and copy the commit ID of your pull request.

    git log
    
  2. Switch to the release-3.2 branch:

    git checkout release-3.2
    
  3. Rebase first:

    git pull --rebase upstream release-3.2
  4. Use the branch release-3.2 to switch to a new branch:

    git checkout -b test
  5. Cherry pick the commit:

    git cherry-pick <CommitID>
  6. Push the commit:

    git push -u origin test

When you submit the pull request, make sure you submit it to the release-3.2 branch.

Localization

You are welcome to join the KubeSphere community to contribute to the localization. Please refer to Localizing the website for instructions.

Build and publish the website (optional)

Configure your domain

Edit the file config\_default\config.toml and modify the var baseURL (at the first line) to set your own domain. It will be hardcoded in the static files.

baseURL = "https://kubesphere.es"

Build the static content

Just run hugo without parameters.

hugo

                   | EN  | ZH  | TR
-------------------+-----+-----+------
  Pages            |  55 |  65 |  39
  Paginator pages  |   0 |   0 |   0
  Non-page files   |   0 |   0 |   0
  Static files     | 375 | 375 | 375
  Processed images |   0 |   0 |   0
  Aliases          |   1 |   0 |   0
  Sitemaps         |   2 |   1 |   1
  Cleaned          |   0 |   0 |   0

Total in 2396 ms

Get the generated static content

You will find the previously generated content in the public directory.

website's People

Contributors

123liubao avatar arhell avatar bettygogo2021 avatar faweizhao26 avatar felixnoo avatar hongzhouzi avatar imgbotapp avatar jaycean avatar ks-ci-bot avatar linuxsuren avatar liuboaibc avatar lruler avatar mangogoforward avatar molliezhang avatar mvpzhangkai avatar patrickluoyu avatar pixiake avatar rayzhou2017 avatar rodmiromind avatar serenashe avatar shenhonglei avatar sherlock113 avatar veraxie1997 avatar wansir avatar weili520 avatar yangchuansheng avatar yunkunrao avatar zheng1 avatar zhuch-h avatar zhuxiujuan28 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

Watchers

 avatar  avatar  avatar  avatar  avatar

website's Issues

ZH-CN release notes rollback

@FeynmanZhou The ZH-CN release was actually submitted before in this pr, while I found it was changed back to English in this pr. I guess you forgot to extract the ZH-CN file when you updated the EN source files for the ZH-CN website by accident. Is there a way to roll it back? If not, I will update the ZH-CN version again.

Question for the Auditing Query

#354

KubeSphere Auditing Log system receives auditing logs only from KubeSphere by default, while it can also receive auditing logs from Kubernetes. Users can stop receiving auditing logs from KubeSphere by changing the value of auditing.enable in ConfigMap.

@wanjunlei @Sherlock113

  1. There are two senders including KubeSphere and K8s, which can only turn on one of them but not both for receiving the auditing logs, right?

  2. Why did you instruct users to disable receiving the auditing logs at the beginning of the guide without any prerequisite or background? I am confused about this question.

See the preview page.

image

Events doc desc issue

It's better to change For more information, see Logging, Events and Auditing. to For more information, please refer to <Event Query page link>.

There is no Logging, Events and Auditing. page, and this is for events so only events link should be mentioned here.

492091604567122_ pic

492101604567126_ pic

the sequence CSS layout is missing in the content of /conference

The sequence CSS layout is missing in the content of /conference:

image

It should be:

  • The real IP is not visible in Pod through the access based on SNAT.
  • A host in the cluster is used as a jumper server to access the backend service, which means all the traffic will go to the server first. This can easily lead to performance bottlenecks and a single point of failure, making it difficult to be used in the production environment.
  • Generally, NodePort uses large port numbers which are hard to remember.

kubesphere3.0 UnauthorizedError: Not Login

kubectl logs ks-console-b4df86d6f-xdgz8 -n kubesphere-system -f --tail=10
{ UnauthorizedError: Not Login
at Object.throw (/opt/kubesphere/console/server/server.js:31701:11)
at getCurrentUser (/opt/kubesphere/console/server/server.js:9037:14)
at renderView (/opt/kubesphere/console/server/server.js:23231:46)
at dispatch (/opt/kubesphere/console/server/server.js:6870:32)
at next (/opt/kubesphere/console/server/server.js:6871:18)
at /opt/kubesphere/console/server/server.js:70183:16
at dispatch (/opt/kubesphere/console/server/server.js:6870:32)
at next (/opt/kubesphere/console/server/server.js:6871:18)
at /opt/kubesphere/console/server/server.js:77986:37
at dispatch (/opt/kubesphere/console/server/server.js:6870:32)
at next (/opt/kubesphere/console/server/server.js:6871:18)
at /opt/kubesphere/console/server/server.js:70183:16
at dispatch (/opt/kubesphere/console/server/server.js:6870:32)
at next (/opt/kubesphere/console/server/server.js:6871:18)
at /opt/kubesphere/console/server/server.js:77986:37
at dispatch (/opt/kubesphere/console/server/server.js:6870:32) message: 'Not Login' }
--> GET / 302 2ms 43b 2020/09/08T02:34:07.984
<-- GET /login 2020/09/08T02:34:07.984
-x- GET /login 200 12ms 14.82kb 2020/09/08T02:34:07.996

Suggestion: Add word in the search bar

Now there is nothing in the search bar while I am wondering if we can add some words here.
截屏2020-09-07下午6 25 07

For example, in Openshift search bar it displays "Search Documentation".
截屏2020-09-07下午5 07 27

In Google Documentation, it is "Search".
截屏2020-09-07下午5 06 14

Just a suggestion here, not a must.

【WIP】v3.0.0 Documentation Catalogue

image

Documentation Assignment

image

KubeSphere Documentation v3.0 (Left Part)

Cluster Administration

Node Management

Kubernetes Resources Global Management

Storage

  • Volumes

  • Snapshots

  • StorageClass

    • Ceph RBD
    • GlusterFS
    • QingCloud CSI
    • Custom StorageClass

Cluster Status Monitoring

Application Resources Monitoring

Cluster-wide Alerting and Notification

Cluster Settings

  • Cluster Visibility and Authorization

  • Log Collections

    • Add Elasticsearch as Collector
    • Add Kafka as Collector
    • Add Fluentd as Collector

Workspace Administration

Upload Helm-based Application

Import Helm Repositories

Enable Network Policy in Workspace

Role and Member Management in Workspace

Project User Guide

Application

  • Deploy Applications from App Store
  • Deploy Applications from App Template
  • Deploy Applications from App Repository
  • Composing an Application

Application Workloads

  • Deployment
  • StatefulSets
  • DaemonSets
  • Services
  • Jobs, CronJobs
  • Routes

Storage

  • Volumes
  • Snapshots

Configurations

  • Secrets
  • Create Secret to connect Image Registries
  • ConfigMaps

Grayscale Release

  • Grayscale Release - Blue-green Deployment
  • Grayscale Release - Canary Release
  • Grayscale Release - Traffic Mirroring

Image Builder

  • Image Builder: Source-to-Image
  • Image Builder: Binary-to-Image
  • Customize Image Build Template

Project-wide Alerting and Notification

Custom Application-level Monitoring

  • Get started
  • Expose Application Metrics
  • Customize Monitoring Dashboard for ES, MySQL, Redis
  • Use Grafana template
  • How to write and use Exporter

Project Administration

Project and Multi-cluster Projecrt

Configure Default Request and Limit

Project-wide Network Isolation

Roles and Members Management in Project

Gateway Settings for Internet Access

Disk Log Collection

DevOps User Guide & Administration

Create a Pipeline using Graphical Editing Panel

Create a Pipeline using Jenkinsfile

Integrating GitLab, Harbor, SonarQube in Pipeline

Credentials

Roles and Members Management in DevOps

Artifactory Management

···

App Store & App Store Management

Basic Guide for each Application

  • GitLab App
  • Harbor App
  • Redis App
  • ···

App Lifecycle Management

Toolbox

Log Search

Events Search

Auditing Operating

Web kubectl

Access Control, Account Management

Overview: Multi-tenancy in KubeSphere

Configuring OAuth Server

Syncing LDAP/AD

Best Practice for enterprise multi-tenancy

Backup and Recovery

etcd Backup

Restore Cluster to a Previous State

Shuting Down and Restarting Cluster Gracefully

Best Practices

Kubernetes Production Best Practices

Deploy an App Cross Multiple Clusters

API Documentation

Overview

Invoke KubeSphere API

Glossary in API Documentation

Monitoring Metrics Specification

Troubleshooting

Contribution

Declaration

Please help to investigate Wechaty to develop a wechat bot

We have many Wechat users groups, so we hope to develop a WeChat bot to implement these things:

  • Automatically accept new friends verification request
  • Automatically invite this new friend into a WeChat group
  • Automatically inform this new friend the rule of this WeChat group

Possible solution: Wechaty.

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.