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

OSCHINA-MIRROR/linuxsuren-ks

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

KS

KS — это командный клиент для KubeSphere, который упрощает повседневные операции для пользователей и разработчиков.

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

Установить через brew: brew install linuxsuren/linuxsuren/ks.

Или через hd:

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

Особенности

Здесь используется контекст KubeSphere:

  • Управление компонентами:
    • включение и отключение компонентов;
    • ручное (или автоматическое) обновление определённых компонентов;
    • просмотр журналов компонентов;
    • редактирование компонентов;
    • просмотр событий компонентов (аналогично команде kubectl describe).
  • Управление конвейерами:
    • создание конвейеров с использованием шаблонов на Java, Go и т. д.;
    • редактирование конвейеров.
  • Сброс паролей пользователей.
  • Поддержка работы с k3s: настройка переменной среды kubernetes_type=k3s позволяет работать с k3s.
  • Установка KubeSphere:

Компоненты

➜  ~ 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