docs: add k1s quick deploy section
All checks were successful
CI / Security Scan (push) Successful in 20s
CI / Lint & Format (push) Successful in 22s
CI / Advanced Security Tests (push) Successful in 16s
CI / Memory Leak Check (push) Successful in 20s
CI / Security Tests (push) Successful in 26s
CI / Unit Tests (push) Successful in 33s
CI / Fuzz Testing (push) Successful in 25s
CI / SBOM Generation (push) Successful in 20s
CI / Build & Push Image (push) Successful in 13s
CI / Harbor Vulnerability Scan (push) Successful in 33s
All checks were successful
CI / Security Scan (push) Successful in 20s
CI / Lint & Format (push) Successful in 22s
CI / Advanced Security Tests (push) Successful in 16s
CI / Memory Leak Check (push) Successful in 20s
CI / Security Tests (push) Successful in 26s
CI / Unit Tests (push) Successful in 33s
CI / Fuzz Testing (push) Successful in 25s
CI / SBOM Generation (push) Successful in 20s
CI / Build & Push Image (push) Successful in 13s
CI / Harbor Vulnerability Scan (push) Successful in 33s
This commit is contained in:
@@ -4,6 +4,31 @@ Deploy FlaskPaste to a Kubernetes cluster using images from Harbor registry.
|
||||
|
||||
---
|
||||
|
||||
## Quick Deploy (k1s)
|
||||
|
||||
Single-node k1s cluster deployment:
|
||||
|
||||
```bash
|
||||
# Restart deployment to pull latest image
|
||||
ssh k1s "kubectl -n flaskpaste rollout restart deployment/flaskpaste"
|
||||
|
||||
# Watch rollout progress
|
||||
ssh k1s "kubectl -n flaskpaste rollout status deployment/flaskpaste"
|
||||
|
||||
# Verify deployment
|
||||
ssh k1s "kubectl -n flaskpaste get pods"
|
||||
ssh k1s "curl -s http://\$(kubectl -n flaskpaste get pod -o jsonpath='{.items[0].status.podIP}'):5000/health"
|
||||
```
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| Host | k1s (192.168.122.241) |
|
||||
| Namespace | flaskpaste |
|
||||
| Image | harbor.mymx.me/library/flaskpaste:slim |
|
||||
| Pull Policy | Always |
|
||||
|
||||
---
|
||||
|
||||
## Architecture
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user