- Scaffold trading-platform under apps/base/customer1/trading-platform/
- Add 4 microservice deployments: data-service, execute-service, news-service, dashboard
- Add ConfigMaps with DB/Kafka/Redis connection configs
- Add HTTPRoutes via Gateway API (external-http-gateway)
- Add NetworkPolicies for inter-service and DB/Kafka/Redis egress
- Add SOPS-encrypted secrets (age key)
- Add Kafka (KRaft) and Redis infrastructure to hermes-db/
- Update root and staging kustomizations
All containers: non-root, readOnlyRootFilesystem, resource limits, health probes
Images: ghcr.io/sirius0xdev/trading-{service}:latest
18 lines
407 B
YAML
18 lines
407 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: trading-execute-service
|
|
namespace: customer1
|
|
annotations:
|
|
tailscale.com/expose: "true"
|
|
tailscale.com/hostname: "trading-execute-service"
|
|
tailscale.com/tags: "tag:k8s-operator"
|
|
tailscale.com/ports: "http:80"
|
|
spec:
|
|
selector:
|
|
app: trading-execute-service
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8002
|
|
name: http
|
|
type: ClusterIP
|