Get your diagram repository up and running in 5 minutes!
- Go to https://github.com/new
- Repository name:
cluster-update-docs(or your choice) - Description: "Development cluster update process documentation"
- Choose visibility: Private (recommended for internal docs) or Public
- Do NOT initialize with README, .gitignore, or license
- Click "Create repository"
gh repo create cluster-update-docs --private --description "Development cluster update process documentation"# Navigate to the setup folder you downloaded
cd github-diagram-setup
# Initialize git
git init
# Add all files
git add .
# Create initial commit
git commit -m "Initial commit: Add cluster update process diagram and documentation"
# Add remote (replace YOUR_USERNAME with your GitHub username)
git remote add origin https://github.com/YOUR_USERNAME/cluster-update-docs.git
# Push to GitHub
git branch -M main
git push -u origin main- Visit your repository on GitHub
- Check the diagram displays - Navigate to
docs/cluster_update_process.svgand verify it renders - Review README - Main page should show the diagram and documentation
- Go to your repository on GitHub
- Click Settings → Collaborators
- Click Add people
- Enter team members' GitHub usernames or emails
- Choose permission level:
- Write - Can push changes directly
- Maintain - Write + some admin capabilities
- Admin - Full control
- Settings → Branches → Add branch protection rule
- Branch name pattern:
main - Enable:
- ✅ Require pull request reviews before merging
- ✅ Require approvals: 1
- ✅ Dismiss stale pull request approvals when new commits are pushed
- Save changes
Send this message to your team:
📊 Cluster Update Documentation Now on GitHub!
Repository: https://github.com/YOUR_USERNAME/cluster-update-docs
Quick Start:
1. Clone: git clone https://github.com/YOUR_USERNAME/cluster-update-docs.git
2. Read CONTRIBUTING.md for how to make changes
3. Check docs/CHECKLIST.md when performing updates
View the diagram: https://github.com/YOUR_USERNAME/cluster-update-docs/blob/main/docs/cluster_update_process.svg
Questions? See CONTRIBUTING.md or open an issue!
For team members who want to contribute:
# Clone the repository
git clone https://github.com/YOUR_USERNAME/cluster-update-docs.git
cd cluster-update-docs
# Create a branch for your changes
git checkout -b update-diagram-description
# Make your changes to docs/cluster_update_process.svg
# (Use any text editor)
# Preview changes (open in browser)
open docs/cluster_update_process.svg # macOS
xdg-open docs/cluster_update_process.svg # Linux
start docs/cluster_update_process.svg # Windows
# Commit and push
git add docs/cluster_update_process.svg
git commit -m "Update step 5 description"
git push origin update-diagram-description
# Create pull request on GitHub
# Go to repository page and click "Compare & pull request"If you used a different repository name, update these references:
- README.md - Update any hardcoded URLs
- CONTRIBUTING.md - Update clone command examples
- This file - Update examples
Consider adding:
- CONTACTS.md - Team contact info and escalation paths
- FAQ.md - Common questions about the cluster
- TROUBLESHOOTING.md - Detailed troubleshooting guide
- CHANGELOG.md - Track major changes to the process
Automate SVG validation:
# .github/workflows/validate-svg.yml
name: Validate SVG
on: [pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate SVG
run: |
sudo apt-get install -y libxml2-utils
xmllint --noout docs/cluster_update_process.svgHost documentation as a website:
- Settings → Pages
- Source: Deploy from a branch
- Branch:
main, folder:/ (root) - Save
- Your site will be at:
https://YOUR_USERNAME.github.io/cluster-update-docs/
- Watch → Custom
- Select:
- ✅ Issues
- ✅ Pull requests
- ✅ Releases (if you create them)
- Click gear icon next to "About"
- Add topics:
documentation,cluster-management,devops,docker,kubernetes
git remote remove origin
git remote add origin https://github.com/YOUR_USERNAME/cluster-update-docs.git- Check you're logged into correct GitHub account
- Verify you have write access to the repository
- Try SSH instead of HTTPS:
git remote set-url origin git@github.com:YOUR_USERNAME/cluster-update-docs.git
- Verify file is valid XML:
xmllint --noout docs/cluster_update_process.svg - Check file size (GitHub has limits)
- Ensure file is in
docs/directory
- Hard refresh: Ctrl+F5 (Windows/Linux) or Cmd+Shift+R (Mac)
- Clear browser cache
- Check you're viewing the correct branch
- ✅ Repository created and pushed
- ✅ Team members invited
- 📖 Everyone reads CONTRIBUTING.md
- 🔄 Start using the workflow!
Questions? Open an issue in the repository or consult your team lead.