1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/linuxsuren-ks

Клонировать/Скачать
README.md 2.8 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
gitlife-traslator Отправлено 30.11.2024 20:03 1d7080f

KS

KS — это инструмент, который упрощает работу с KubeSphere (https://github.com/kubesphere/kubesphere).

Начало работы

Установите его через:

brew install linuxsuren/linuxsuren/ks

Или установите его через hd:

brew install linuxsuren/linuxsuren/hd
hd install kubesphere-sigs/ks

Функции

Все функции ниже работают с KubeSphere вместо других концепций.

  • Управление компонентами:
    • включение (отключение) компонентов;
    • обновление компонента вручную или автоматически;
    • вывод логов компонента KubeSphere;
    • редактирование компонента KubeSphere;
    • описание компонента KubeSphere (обёртка kubectl describe).
  • Управление конвейерами:
    • создание конвейера с использованием java, go template;
    • редактирование конвейера без указания полного имени (пространство имён/имя).
  • Управление пользователями.
  • Работа с k3s через установку переменной среды kubernetes_type=k3s.
  • Установка KubeSphere:
    • установка KubeSphere через ks-installer;
    • установка KubeSphere через k3d;
    • установка KubeSphere через kubekey;
    • установка KubeSphere через kind.

Компонент

➜  ~ kubectl ks com
Manage the components of KubeSphere

Usage:
  ks component [command]

Aliases:
  component, com

Available Commands:
  edit        Edit the target component
  enable      Enable or disable the specific KubeSphere component
  exec        Execute a command in a container.
  kill        Kill the pods of the components
  log         Output the log of KubeSphere component
  reset       Reset the component by name
  watch       Update images of ks-apiserver, ks-controller-manager, ks-console

Конвейер

➜  ~ kubectl ks pip
Usage:
  ks pipeline [flags]
  ks pipeline [command]

Aliases:
  pipeline, pip

Available Commands:
  create      Create a Pipeline in the KubeSphere cluster
  delete      Delete a specific Pipeline of KubeSphere DevOps
  edit        Edit the target pipeline
  view        Output the YAML format of a Pipeline

Flags:
  -h, --help   help for pipeline

Use "ks pipeline [command] --help" for more information about a command.

Установка

Install KubeSphere with kind or kk

Usage:
  ks install [command]

Available Commands:
  kind        Install KubeSphere with kind
  kk          Install KubeSphere with kubekey (aka kk)

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/linuxsuren-ks.git
git@api.gitlife.ru:oschina-mirror/linuxsuren-ks.git
oschina-mirror
linuxsuren-ks
linuxsuren-ks
master