Skip to content

Commit a224d1e

Browse files
committed
Turing RK1 Kubernetes Cluster
4-node bare-metal Kubernetes cluster on Turing Pi 2.5 with RK1 compute modules. Supports two distributions: - Talos Linux: Production-grade, immutable, API-driven - K3s on Armbian: Development-friendly, NPU/GPU support Features: - MetalLB L2 load balancer (10.10.88.80-99) - Longhorn distributed storage on NVMe - NGINX Ingress Controller - Prometheus/Grafana monitoring stack - Complete installation guides for both distributions - Automation scripts for deployment and cluster migration Hardware: 4x Turing RK1 (RK3588), 32GB eMMC + 500GB NVMe per node
0 parents  commit a224d1e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+9031
-0
lines changed

.githooks/commit-msg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
# Prevent commit messages from containing AI assistant references
3+
4+
commit_msg_file="$1"
5+
commit_msg=$(cat "$commit_msg_file")
6+
7+
# Check for AI assistant references (case-insensitive)
8+
if echo "$commit_msg" | grep -iqE "(claude|Generated with.*Code|Co-Authored-By:.*(Claude|Anthropic))"; then
9+
echo "ERROR: Commit message contains AI assistant references."
10+
echo "Please remove references to AI assistants from your commit message."
11+
echo ""
12+
echo "Your message:"
13+
echo "$commit_msg"
14+
exit 1
15+
fi
16+
17+
exit 0
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug or issue
4+
title: '[BUG] '
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
## Description
10+
A clear description of the bug.
11+
12+
## Environment
13+
- **Hardware**: (e.g., Turing Pi 2 with 4x RK1 modules)
14+
- **Talos Version**:
15+
- **Kubernetes Version**:
16+
- **RKNN SDK Version**: (if applicable)
17+
18+
## Steps to Reproduce
19+
1.
20+
2.
21+
3.
22+
23+
## Expected Behavior
24+
What you expected to happen.
25+
26+
## Actual Behavior
27+
What actually happened.
28+
29+
## Logs
30+
```
31+
Paste relevant logs here
32+
```
33+
34+
## Additional Context
35+
Any other context about the problem.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature Request
3+
about: Suggest a new feature or improvement
4+
title: '[FEATURE] '
5+
labels: enhancement
6+
assignees: ''
7+
---
8+
9+
## Description
10+
A clear description of the feature you'd like.
11+
12+
## Use Case
13+
Why is this feature needed? What problem does it solve?
14+
15+
## Proposed Solution
16+
How do you think this should be implemented?
17+
18+
## Alternatives Considered
19+
Any alternative solutions you've considered.
20+
21+
## Additional Context
22+
Any other context, screenshots, or examples.

.github/dependabot.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 2
2+
updates:
3+
# Update git submodules
4+
- package-ecosystem: "gitsubmodule"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "monday"
9+
commit-message:
10+
prefix: "chore(deps)"
11+
labels:
12+
- "dependencies"
13+
- "submodules"
14+
15+
# Update GitHub Actions
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
day: "monday"
21+
commit-message:
22+
prefix: "chore(deps)"
23+
labels:
24+
- "dependencies"
25+
- "github-actions"

.github/pull_request_template.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Description
2+
Brief description of the changes.
3+
4+
## Type of Change
5+
- [ ] Bug fix
6+
- [ ] New feature
7+
- [ ] Documentation update
8+
- [ ] Configuration change
9+
- [ ] Other (describe):
10+
11+
## Testing
12+
- [ ] Tested on RK3588 hardware
13+
- [ ] Tested in simulation/emulation
14+
- [ ] No testing required (documentation only)
15+
16+
## Checklist
17+
- [ ] I have read the [CONTRIBUTING](CONTRIBUTING.md) guidelines
18+
- [ ] My code follows the project's style
19+
- [ ] I have updated documentation as needed
20+
- [ ] I have not committed any secrets or credentials
21+
22+
## Related Issues
23+
Fixes #(issue number)

.github/social-preview.png

61.8 KB
Loading

.github/social-preview.svg

Lines changed: 86 additions & 0 deletions
Loading

.github/workflows/codeql.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
- cron: '0 6 * * 1' # Weekly on Monday at 6am UTC
10+
11+
jobs:
12+
analyze:
13+
name: CodeQL
14+
runs-on: ubuntu-latest
15+
permissions:
16+
security-events: write
17+
actions: read
18+
contents: read
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
23+
24+
- name: Initialize CodeQL
25+
uses: github/codeql-action/init@27fcff4ecb39e96348e7ceddcc2d9ef42308b6fc # v4
26+
with:
27+
languages: actions
28+
queries: +security-extended
29+
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@27fcff4ecb39e96348e7ceddcc2d9ef42308b6fc # v4
32+
with:
33+
category: "/language:actions"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Dependabot Auto-Merge
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
jobs:
11+
auto-merge:
12+
name: Auto-Merge
13+
runs-on: ubuntu-latest
14+
if: github.actor == 'dependabot[bot]'
15+
steps:
16+
- name: Approve PR
17+
run: gh pr review --approve "$PR_URL"
18+
env:
19+
PR_URL: ${{ github.event.pull_request.html_url }}
20+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
22+
- name: Enable auto-merge
23+
run: gh pr merge --auto --squash "$PR_URL"
24+
env:
25+
PR_URL: ${{ github.event.pull_request.html_url }}
26+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lint.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
yaml-lint:
14+
name: YAML Lint
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6
22+
with:
23+
python-version: '3.12'
24+
25+
- name: Install yamllint
26+
run: pip install yamllint
27+
28+
- name: Run yamllint
29+
run: yamllint -c .yamllint.yml .
30+
31+
markdown-lint:
32+
name: Markdown Lint
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Checkout
36+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
37+
38+
- name: Run markdownlint
39+
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 # v22
40+
with:
41+
config: .markdownlint.json
42+
globs: '**/*.md'

0 commit comments

Comments
 (0)