How gc-ghub/project-gc-industries-devops-superheros works
1. Purpose and top-level entry points
This is a production-style “SuperHero Shop” microservices system plus a Kubernetes platform/GitOps toolkit. Primary runtime entry points are the service programs, local Compose stack, Helm/Kustomize manifests, and a Go operator CLI:
• docker-compose.yml
• gc-industries-devops-superheros/superhero-app-code/frontend/src/main.jsx
• gc-industries-devops-superheros/cli/main.go
2. Polyglot application services
The user-facing React frontend calls independently containerized backend services: Go Catalog, Python/FastAPI Inventory, Node/Express Orders, and active .NET Payment. Catalog is deliberately deployed as v1/v2/v3 for canary routing. Service source and Dockerfiles form the application/build boundary:
• gc-industries-devops-superheros/superhero-app-code/catalog/main.go
• gc-industries-devops-superheros/superhero-app-code/orders/server.js
• gc-industries-devops-superheros/superhero-app-code/payment/Payment/Program.cs
The Java payment implementation is retained as a backup/reference, not the active deployment: gc-industries-devops-superheros/superhero-app-code/payment-java-backup/.
3. Kubernetes delivery and traffic boundary
Kubernetes Deployment/Service resources provide workload discovery; Istio Gateway and VirtualService provide the external ingress and routing boundary. Runtime flow is load balancer → Istio ingress → frontend → backend services. Catalog’s DestinationRule/VirtualService configuration enables version-aware traffic shifting:
• gc-industries-devops-superheros/helm/superheros/templates/deployments/catalog-v1-deployment.yaml
• gc-industries-devops-superheros/helm/superheros/istio/virtualservice.yaml
• gc-industries-devops-superheros/infra/k8s/istio/catalog-destinationrule.yaml
The repository supports both Helm-based application deployment and raw Kustomize manifests, which are alternate desired-state representations.
4. GitOps and CI/CD control flow
Per-service GitHub Actions CI workflows build immutable images from path-scoped service changes. CD workflows update Git-managed desired state; Argo CD is intended to reconcile that state into Kubernetes rather than pipelines directly applying manifests:
• .github/workflows/ci-catalog.yml
• .github/workflows/cd-catalog.yml
• gc-industries-devops-superheros/infra/argocd/superheros-app.yaml
This makes Git commits the deployment/rollback boundary and preserves Istio routing controls during application rollouts.
5. Platform bootstrap CLI and declarative app catalog
The Go CLI orchestrates platform lifecycle, application onboarding, deployment, canary operations, policy/image gates, GitOps commits, and observation. App specifications are transformed into app-specific Helm values/Application manifests and GitOps changes:
• gc-industries-devops-superheros/cli/internal/platform/bootstrap.go
• gc-industries-devops-superheros/cli/internal/onboard/onboard.go
• gc-industries-devops-superheros/cli/internal/gitops/gitops.go
The app catalog/spec boundary is represented by:
• gc-industries-devops-superheros/specs/superheros.yaml
• gc-industries-devops-superheros/apps/superheros/application.yaml
• gc-industries-devops-superheros/charts/app/templates/deployment.yaml
6. Platform infrastructure, security, and observability
Target runtimes are local Kind and AWS EKS. Platform installation scripts and component manifests establish Istio networking, Argo CD GitOps, Prometheus/Grafana/Kiali observability, Kyverno policy enforcement, and Alertmanager/Tempo integrations:
• gc-industries-devops-superheros/platform/scripts/bootstrap-kind.sh
• gc-industries-devops-superheros/platform/scripts/bootstrap-eks.sh
• gc-industries-devops-superheros/platform/networking/istio/install.sh
Operational control boundaries include admission policy and monitoring rules:
• gc-industries-devops-superheros/infra/kyverno_policy/policy-01.yaml
• gc-industries-devops-superheros/infra/monitoring/rules/application-alerts.yaml
• gc-industries-devops-superheros/infra/istio-addons/kiali.yaml
Main entry points: main.jsx React frontend · catalog-v1-deployment.yaml Kubernetes workloads · virtualservice.yaml Istio ingress & routing · onboard.go Onboarding pipeline
Components 20
Application services
- Local Compose stack
docker-compose.yml - React frontend
gc-industries-devops-superheros/superhero-app-code/frontend/src/main.jsx - Catalog v1/v2/v3 · Versioned service supports canary traffic shifting.
gc-industries-devops-superheros/superhero-app-code/catalog/main.go - Inventory
- Orders
gc-industries-devops-superheros/superhero-app-code/orders/server.js - Payment · Active payment implementation.
gc-industries-devops-superheros/superhero-app-code/payment/Payment/Program.cs
Delivery & traffic
- Kubernetes workloads · Workload and service-discovery boundary.
gc-industries-devops-superheros/helm/superheros/templates/deployments/catalog-v1-deployment.yaml - Istio ingress & routing · Routes external and version-aware catalog traffic.
gc-industries-devops-superheros/helm/superheros/istio/virtualservice.yaml - Catalog traffic policy
gc-industries-devops-superheros/infra/k8s/istio/catalog-destinationrule.yaml - Helm desired state · Alternative application deployment representation.
gc-industries-devops-superheros/helm/superheros/templates/deployments/catalog-v1-deployment.yaml - Kustomize manifests · Alternative raw Kubernetes representation.
GitOps & automation
- Catalog CI · Builds immutable images from path-scoped changes.
.github/workflows/ci-catalog.yml - Catalog CD · Updates Git-managed desired state.
.github/workflows/cd-catalog.yml - Argo CD · Reconciles committed desired state into Kubernetes.
gc-industries-devops-superheros/infra/argocd/superheros-app.yaml
Platform controls
- Kind / EKS bootstrap · Establishes target Kubernetes runtimes and platform components.
gc-industries-devops-superheros/platform/scripts/bootstrap-kind.sh - Kyverno admission policy
gc-industries-devops-superheros/infra/kyverno_policy/policy-01.yaml - Observability stack · Monitoring, alerts, tracing, and service-mesh visibility.
gc-industries-devops-superheros/infra/monitoring/rules/application-alerts.yaml
CLI & app catalog
- Platform CLI · Orchestrates platform lifecycle, onboarding, GitOps, and canary operations.
gc-industries-devops-superheros/cli/main.go - Onboarding pipeline · Transforms app specs into deployment and GitOps artifacts.
gc-industries-devops-superheros/cli/internal/onboard/onboard.go - Superheros app spec
gc-industries-devops-superheros/specs/superheros.yaml
Connections 23
- Local Compose stack → React frontend: runs locally
- React frontend → Catalog v1/v2/v3: calls
- React frontend → Inventory: calls
- React frontend → Orders: calls
- React frontend → Payment: calls
- Istio ingress & routing → React frontend: ingress traffic
- Istio ingress & routing → Kubernetes workloads: routes to
- Catalog traffic policy → Catalog v1/v2/v3: defines subsets
- Istio ingress & routing → Catalog traffic policy: uses routing policy
- Helm desired state → Kubernetes workloads: renders workloads
- Kustomize manifests → Kubernetes workloads: alternative manifests
- Catalog CI → Catalog CD: immutable image
- Catalog CD → Helm desired state: commits desired state
- Argo CD → Kubernetes workloads: reconciles
- Platform CLI → Onboarding pipeline: invokes
- Superheros app spec → Onboarding pipeline: declares app
- Onboarding pipeline → Helm desired state: generates values
- Onboarding pipeline → Argo CD: creates application state
- Kind / EKS bootstrap → Istio ingress & routing: installs
- Kind / EKS bootstrap → Argo CD: installs
- Kyverno admission policy → Kubernetes workloads: admission gate
- Observability stack → Kubernetes workloads: monitors
- Observability stack → Istio ingress & routing: mesh visibility