mirror of
https://github.com/SantaSpeen/santaspeen.ru-blog.git
synced 2026-06-23 01:01:17 +00:00
update docs
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
sidebar_position: 2
|
sidebar_position: 2
|
||||||
---
|
---
|
||||||
|
|
||||||
# commands
|
# Commands
|
||||||
|
|
||||||
Тут частые команды
|
Тут частые команды
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
sidebar_position: 2
|
sidebar_position: 2
|
||||||
---
|
---
|
||||||
|
|
||||||
# commands
|
# Commands
|
||||||
|
|
||||||
Тут частые команды
|
Тут частые команды
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,6 +2,6 @@
|
|||||||
sidebar_position: 3
|
sidebar_position: 3
|
||||||
---
|
---
|
||||||
|
|
||||||
# helm charts
|
# Helm charts
|
||||||
|
|
||||||
Общее хранилище чартов - <https://artifacthub.io>
|
Общее хранилище чартов - <https://artifacthub.io>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
sidebar_position: 2
|
sidebar_position: 2
|
||||||
---
|
---
|
||||||
|
|
||||||
# commands
|
# Commands
|
||||||
|
|
||||||
## rollback
|
## rollback
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
sidebar_position: 2
|
sidebar_position: 2
|
||||||
---
|
---
|
||||||
|
|
||||||
# commands
|
# Commands
|
||||||
|
|
||||||
## k8s resources usage
|
## k8s resources usage
|
||||||
Просмотр потребления ресурсов контейнеров внутри пода
|
Просмотр потребления ресурсов контейнеров внутри пода
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
sidebar_position: 3
|
sidebar_position: 3
|
||||||
---
|
---
|
||||||
|
|
||||||
# k8s заметки
|
# K8s заметки
|
||||||
|
|
||||||
|
|
||||||
Мои конспекты по куберу. Описал своими словами, могут быть ошибки или неточности
|
Мои конспекты по куберу. Описал своими словами, могут быть ошибки или неточности
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
sidebar_position: 4
|
sidebar_position: 4
|
||||||
---
|
---
|
||||||
|
|
||||||
# kubespray
|
# Kubespray
|
||||||
|
|
||||||
Добавить инфо по kubespray
|
Добавить инфо по kubespray
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
sidebar_position: 2
|
sidebar_position: 2
|
||||||
---
|
---
|
||||||
|
|
||||||
# commands
|
# Commands
|
||||||
|
|
||||||
## Proxmox Directory
|
## Proxmox Directory
|
||||||
### Конфиги LXC
|
### Конфиги LXC
|
||||||
|
|||||||
+2
-2
@@ -18,7 +18,7 @@ chown nobody:nogroup $FOLDER
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
echo "$FOLDER 10.127.0.0/24(rw,sync,no_subtree_check)" >> /etc/exports
|
echo "$FOLDER 10.6.0.0/24(rw,sync,no_subtree_check)" >> /etc/exports
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
systemctl restart nfs-kernel-server
|
systemctl restart nfs-kernel-server
|
||||||
@@ -27,7 +27,7 @@ systemctl restart nfs-kernel-server
|
|||||||
/usr/share/nginx/html
|
/usr/share/nginx/html
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
/mnt/nginx 10.127.0.0/24(rw,sync,no_subtree_check) >> /etc/exports
|
/mnt/nginx 10.6.0.0/24(rw,sync,no_subtree_check) >> /etc/exports
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
systemctl status nfs-kernel-server
|
systemctl status nfs-kernel-server
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
sidebar_position: 10
|
sidebar_position: 10
|
||||||
---
|
---
|
||||||
|
|
||||||
# fast api
|
# Fast api
|
||||||
|
|
||||||
Тут про Fast API
|
Тут про Fast API
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 1
|
||||||
|
---
|
||||||
|
|
||||||
|
# Install
|
||||||
|
|
||||||
|
## Windows
|
||||||
|
|
||||||
|
|
||||||
|
Python download and install [Python.org](https://www.python.org/downloads/)
|
||||||
|
|
||||||
|
|
||||||
|
Poetry install
|
||||||
|
```
|
||||||
|
curl -sSL https://install.python-poetry.org | python -
|
||||||
|
```
|
||||||
|
|
||||||
|
pip install
|
||||||
|
```
|
||||||
|
pip install black mypy
|
||||||
|
```
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
sidebar_position: 3
|
sidebar_position: 3
|
||||||
---
|
---
|
||||||
|
|
||||||
# python gitlab api
|
# Python gitlab api
|
||||||
|
|
||||||
[Документация](https://python-gitlab.readthedocs.io/en/stable/api-usage.html)
|
[Документация](https://python-gitlab.readthedocs.io/en/stable/api-usage.html)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 2
|
sidebar_position: 3
|
||||||
---
|
---
|
||||||
|
|
||||||
# Linux
|
# Linux
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 3
|
sidebar_position: 4
|
||||||
---
|
---
|
||||||
|
|
||||||
# MacOS
|
# Mac
|
||||||
|
|
||||||
Список ПО
|
Список ПО
|
||||||
+2
-28
@@ -1,42 +1,16 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 1
|
sidebar_position: 2
|
||||||
---
|
---
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
|
|
||||||
Список ПО которые я использую
|
Список набор программ
|
||||||
|
|
||||||
- [VSCode](https://code.visualstudio.com/)
|
- [VSCode](https://code.visualstudio.com/)
|
||||||
- [Obsidian](https://obsidian.md/)
|
- [Obsidian](https://obsidian.md/)
|
||||||
- [MobaXterm](https://mobaxterm.mobatek.net/download.html)
|
|
||||||
- [Yandex.Disk](https://disk.yandex.ru/client/disk)
|
- [Yandex.Disk](https://disk.yandex.ru/client/disk)
|
||||||
- [WireGuard](https://www.wireguard.com/install/)
|
- [WireGuard](https://www.wireguard.com/install/)
|
||||||
- [Deluge](https://dev.deluge-torrent.org/wiki/Download)
|
- [Deluge](https://dev.deluge-torrent.org/wiki/Download)
|
||||||
- [Telegram](https://desktop.telegram.org/)
|
- [Telegram](https://desktop.telegram.org/)
|
||||||
- [Google Chrome](https://www.google.com/chrome/)
|
- [Google Chrome](https://www.google.com/chrome/)
|
||||||
- [OpenLens](https://github.com/MuhammedKalkan/OpenLens)
|
- [OpenLens](https://github.com/MuhammedKalkan/OpenLens)
|
||||||
|
|
||||||
## VSCode
|
|
||||||
|
|
||||||
Пример конфига для подключения по SSH key (~/ssh/config)
|
|
||||||
|
|
||||||
Remote SSH - Microsoft
|
|
||||||
|
|
||||||
```
|
|
||||||
Host <IP>
|
|
||||||
HostName <IP>
|
|
||||||
User <USER>
|
|
||||||
IdentityFile ~/.ssh/id_rsa
|
|
||||||
```
|
|
||||||
maybe rename id_rsa.pub to authorized_keys
|
|
||||||
|
|
||||||
## OpenLens
|
|
||||||
|
|
||||||
OpenLens extensions
|
|
||||||
|
|
||||||
Для просмотра логов нужно добавить расширение
|
|
||||||
|
|
||||||
```
|
|
||||||
@alebcay/openlens-node-pod-menu
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 1
|
||||||
|
---
|
||||||
|
|
||||||
|
# Settings
|
||||||
|
|
||||||
|
## VSCode
|
||||||
|
|
||||||
|
Пример конфига для подключения по SSH key (~/ssh/config)
|
||||||
|
|
||||||
|
Remote SSH - Microsoft
|
||||||
|
|
||||||
|
```
|
||||||
|
Host <IP>
|
||||||
|
HostName <IP>
|
||||||
|
User <USER>
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
```
|
||||||
|
maybe rename id_rsa.pub to authorized_keys
|
||||||
|
|
||||||
|
## OpenLens
|
||||||
|
|
||||||
|
OpenLens extensions (exec and logs)
|
||||||
|
|
||||||
|
Для просмотра логов и подключения к контейнерам нужно добавить расширение
|
||||||
|
|
||||||
|
```
|
||||||
|
@alebcay/openlens-node-pod-menu
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user