KS — это инструмент, который упрощает работу с KubeSphere (https://github.com/kubesphere/kubesphere).
Установите его через:
brew install linuxsuren/linuxsuren/ks
Или установите его через hd:
brew install linuxsuren/linuxsuren/hd
hd install kubesphere-sigs/ks
Все функции ниже работают с KubeSphere вместо других концепций.
kubernetes_type=k3s
.➜ ~ 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 )