agentleFS
QubinodeQubinode/qubinode_navigator/.cursor/rules/infrastructure-services.mdc

qubinode_navigator / rules

Cursor rule1 starsChanged 11 months agoMITView on GitHub

The qubinode-cert CLI manages TLS certificates across multiple CAs. Auto-selects CA: Step-CA > Vault > Let's Encrypt The qubinode-dns CLI manages DNS records via FreeIPA or nsupdate.

The file

Files
infrastructure-services.mdc
---
globs: ["**/*cert*", "**/*dns*", "**/*tls*", "**/*ssl*", "scripts/**"]
alwaysApply: false
---

# Infrastructure Services

## Certificate Management (qubinode-cert)

The `qubinode-cert` CLI manages TLS certificates across multiple CAs.

### Request Certificate
```bash
${QUBINODE_HOME:-$HOME/qubinode_navigator}/scripts/qubinode-cert request <hostname>
```
Auto-selects CA: Step-CA > Vault > Let's Encrypt

### List Certificates
```bash
${QUBINODE_HOME:-$HOME/qubinode_navigator}/scripts/qubinode-cert list
```

### Renew Certificate
```bash
${QUBINODE_HOME:-$HOME/qubinode_navigator}/scripts/qubinode-cert renew <hostname>
# Or renew all
${QUBINODE_HOME:-$HOME/qubinode_navigator}/scripts/qubinode-cert renew --all
```

### Manual Certificate Commands
```bash
# Step-CA
step ca certificate hostname.example.com cert.crt key.key

# Vault PKI
vault write pki/issue/qubinode common_name=hostname.example.com

# Let's Encrypt
certbot certonly --standalone -d hostname.example.com
```

## DNS Management (qubinode-dns)

The `qubinode-dns` CLI manages DNS records via FreeIPA or nsupdate.

### Add DNS Record
```bash
${QUBINODE_HOME:-$HOME/qubinode_navigator}/scripts/qubinode-dns add <hostname> <ip>
```

### Check DNS Resolution
```bash
${QUBINODE_HOME:-$HOME/qubinode_navigator}/scripts/qubinode-dns check <hostname>

# Manual check
dig +short hostname.example.com
nslookup hostname.example.com
```

### Remove DNS Record
```bash
${QUBINODE_HOME:-$HOME/qubinode_navigator}/scripts/qubinode-dns remove <hostname>
```

### Add CNAME Record
```bash
${QUBINODE_HOME:-$HOME/qubinode_navigator}/scripts/qubinode-dns add-cname <alias> <target>
```

## Service Ports Reference

| Service | Port | Purpose |
|---------|------|---------|
| Airflow UI | 8888 | DAG management |
| AI Assistant | 8080 | Chat and RAG |
| MCP Server | 8889 | Tool API |
| PostgreSQL | 5432 | Database |
| Marquez API | 5001 | Lineage |
| Marquez Web | 3000 | Lineage UI |
| Embedding | 8891 | Vector embeddings |
| LiteLLM | 4000 | LLM proxy |

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.