{"id":40917338,"url":"https://github.com/rticommunity/kubernetes-examples","last_synced_at":"2026-01-22T03:17:19.222Z","repository":{"id":38743802,"uuid":"274972789","full_name":"rticommunity/kubernetes-examples","owner":"rticommunity","description":"Example configurations of use cases with RTI Connext on Kubernetes","archived":false,"fork":false,"pushed_at":"2025-10-01T20:30:08.000Z","size":24683,"stargazers_count":10,"open_issues_count":1,"forks_count":6,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-01T22:13:16.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rticommunity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-25T17:10:55.000Z","updated_at":"2025-10-01T20:28:41.000Z","dependencies_parsed_at":"2024-01-02T18:27:05.885Z","dependency_job_id":"ac62990f-43c3-45c6-be1e-f5d3e1f8b0da","html_url":"https://github.com/rticommunity/kubernetes-examples","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rticommunity/kubernetes-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rticommunity%2Fkubernetes-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rticommunity%2Fkubernetes-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rticommunity%2Fkubernetes-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rticommunity%2Fkubernetes-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rticommunity","download_url":"https://codeload.github.com/rticommunity/kubernetes-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rticommunity%2Fkubernetes-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28652072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T03:17:18.659Z","updated_at":"2026-01-22T03:17:19.217Z","avatar_url":"https://github.com/rticommunity.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Example Configurations for RTI Connext DDS\n\n[![CI/CD Pipeline](https://github.com/rticommunity/kubernetes-examples/workflows/CI%2FCD%20Pipeline/badge.svg)](https://github.com/rticommunity/kubernetes-examples/actions)\n[![RTI Connext](https://img.shields.io/badge/RTI%20Connext-7.5.0-green.svg)](https://community.rti.com/documentation/rti-connext-750)\n\nThis repository provides example configurations for deploying RTI Connext DDS applications and services on Kubernetes clusters. Each example demonstrates specific networking patterns and deployment strategies for real-time distributed systems.\n\n## 🚀 Quick Start\n\n1. **Prerequisites**: Kubernetes cluster, RTI Connext DDS license\n2. **Clone repository**: `git clone https://github.com/rticommunity/kubernetes-examples.git`\n3. **Run tests**: `./tests/run_integration_tests.sh basic`\n4. **Deploy example**: `cd pod_to_pod_unicast_disc \u0026\u0026 kubectl apply -f .`\n\n### Use Cases\n\n|Name | Description | Kubernetes Features Used | RTI Components Used|\n------------- | ------------- | ------------  | ------------  |\n|[1. Communications Between Pods Inside a Kubernetes Cluster via Multicast Discovery](pod_to_pod_multicast_disc/) | Enable communications inside a Kubernetes cluster using RTI DDS Ping. | Deployment  | RTI DDS Ping |\n|[2. Communications Between Pods Inside a Kubernetes Cluster via Unicast Discovery](pod_to_pod_unicast_disc/) | Enable discovery with RTI Cloud Discovery Service (CDS). | Deployment, ClusterIP Service, ConfigMap (for a single CDS); StatefulSet, Headless Service, ConfigMap (for redundant CDSes) | RTI DDS Ping, RTI CDS |\n|[3. Intra Pod Communications Using Shared Memory](intra_pod_shmem/) | Establish communications using RTI DDS Ping over shared memory between containers in a pod. | Deployment, ClusterIP Service, ConfigMap | RTI DDS Ping, RTI CDS|\n|[4. Communications Between External Applications and Pods Within a Kubernetes Cluster Using a Gateway](external_to_pod_gw/) | Expose DDS applications using RTI Routing Service (RS) over Real-time WAN (RWT) transport outside the Kubernetes cluster. | NodePort Service, StatefulSet, Deployment, ConfigMap | RTI DDS Ping, RTI CDS, RTI RS, RTI RWT Transport|\n|[5. Communications Between External Applications And Pods Within a Kubernetes Cluster Using a Network Load-Balanced Gateway](external_to_pod_lb_gw/) | Load balance RTI Routing Service traffic over Real-time WAN transport. | LoadBalancer Service, Deployment, ConfigMap | RTI DDS Ping, RTI CDS, RTI RS, RTI RWT Transport |\n\n## 📋 Prerequisites\n\n- **Kubernetes Cluster**: Version 1.27+ (tested with EKS)\n- **RTI Connext DDS License**: Required for evaluation/production use\n- **kubectl**: Latest version configured for your cluster\n- **Docker Images**: Access to RTI Docker Hub repositories\n\n## 🔧 Installation \u0026 Setup\n\n### 1. Clone Repository\n```bash\ngit clone https://github.com/rticommunity/kubernetes-examples.git\ncd kubernetes-examples\n```\n\n### 2. Set Up RTI License\n```bash\n# Place your RTI license file in the repository root\ncp /path/to/your/rti_license.dat .\n\n# Create license ConfigMap (required for most examples)\nkubectl create configmap rti-license --from-file=rti_license.dat\n```\n\n### 3. Run Integration Tests\n```bash\n# Test basic scenarios (unicast discovery - works on most CNIs)\n./tests/run_integration_tests.sh basic\n\n./tests/run_integration_tests.sh multicast\n\n# Test advanced scenarios (complex networking and specialized transports)\n./tests/run_integration_tests.sh advanced\n\n# Test LoadBalancer scenarios (requires cloud provider LoadBalancer support)\n./tests/run_integration_tests.sh loadbalancer\n\n# Test all scenarios (comprehensive test suite)\n./tests/run_integration_tests.sh all\n```\n\n#### Test Category Details:\n- **`basic`**: Pod-to-pod unicast discovery with Cloud Discovery Service - reliable across all CNIs\n- **`multicast`**: Pod-to-pod multicast discovery - only works if CNI supports multicast traffic\n- **`advanced`**: \n  - Intra-pod shared memory communication between containers\n  - External-to-pod gateway using RTI Routing Service with NodePort\n- **`loadbalancer`**: External-to-pod gateway using RTI Routing Service with LoadBalancer service\n- **`all`**: Runs all test categories (may fail on CNIs without multicast/LoadBalancer support)\n\n\n## 🛠️ Troubleshooting\n\n### Common Issues\n\n#### 1. Multicast Not Supported\n**Problem**: CNI doesn't support multicast (common in cloud providers)\n\n**Solution**: Use unicast discovery examples with Cloud Discovery Service\n\n#### 2. License Issues\n**Problem**: RTI services fail with license errors\n\n**Solution**:\n- Ensure `rti_license.dat` is valid and not expired\n- Verify ConfigMap creation: `kubectl get configmap rti-license -o yaml`\n- Check volume mounts in pod specifications\n\n#### 3. Pod Communication Failures\n**Problem**: DDS applications cannot discover each other\n\n**Solution**:\n- Verify Cloud Discovery Service is running: `kubectl logs deployment/rti-clouddiscoveryservice`\n- Validate initial peer configurations\n\n## 📄 License\n\nThis project is licensed under RTI License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frticommunity%2Fkubernetes-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frticommunity%2Fkubernetes-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frticommunity%2Fkubernetes-examples/lists"}