Files
zero-scale-platform/internal/platform/testdata/spof/ingress.json
Stephen Schuresko 3a0ec17c7b Treat node-local storage as temporary data only
StorageClasses that keep data on one node's disk (hostpath, local-path,
OpenEBS local PV, Longhorn with 1 replica and strict-local) are now
marked node-local:

- init never records one as platform storage, even with --allow-non-ha.
- doctor lists PVCs on node-local classes that running pods mount. One
  annotated zero-scale.io/data=temporary is a note; one whose workload
  runs on 2+ nodes (a database cluster with a local volume per member)
  is accepted; any other is a failure, and pins its Ingress backend.
- doctor warns when a node-local class is a default StorageClass and
  prints the annotate command that removes the default.
- App volumes take a :tmp mode: scratch space on the gateway pod's own
  disk instead of the shared RWX volume.

doctor also now reports Ingress backends whose Service does not exist,
host+path routed by several Ingresses to different Services, Knative
DomainMappings with no Ingress rule, and judges recorded platform
choices instead of asking for them again.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-27 07:24:02 -04:00

10 lines
1.5 KiB
JSON

{"items":[
{"metadata":{"namespace":"default","name":"zero-scale-fdm"},"spec":{"rules":[{"host":"fdm.ffxm.cc","http":{"paths":[{"backend":{"service":{"name":"zero-scale-gateway"}}}]}},{"host":"hs.ffxm.cc","http":{"paths":[{"backend":{"service":{"name":"zero-scale-gateway"}}}]}}]}},
{"metadata":{"namespace":"qa","name":"zero-scale-mockqa"},"spec":{"rules":[{"host":"mock-qa.ffxm.cc","http":{"paths":[{"backend":{"service":{"name":"zero-scale-gateway"}}}]}}]}},
{"metadata":{"namespace":"default","name":"oauth"},"spec":{"rules":[{"host":"fdm.ffxm.cc","http":{"paths":[{"path":"/oauth2","backend":{"service":{"name":"oauth2-proxy-mdm"}}}]}}]}},
{"metadata":{"namespace":"default","name":"ext"},"spec":{"defaultBackend":{"service":{"name":"external"}}}},
{"metadata":{"namespace":"default","name":"hoppscotch-web"},"spec":{"rules":[{"host":"hopscotch.kube.fairfaxmedia.net","http":{"paths":[{"path":"/","backend":{"service":{"name":"hoppscotch-web"}}}]}},{"host":"hopscotch-admin.kube.fairfaxmedia.net","http":{"paths":[{"path":"/","backend":{"service":{"name":"hopscotch-admin"}}}]}}]}},
{"metadata":{"namespace":"default","name":"zero-scale-gateway"},"spec":{"rules":[{"host":"hopscotch.kube.fairfaxmedia.net","http":{"paths":[{"path":"/","backend":{"service":{"name":"zero-scale-gateway"}}}]}}]}},
{"metadata":{"namespace":"nextcloud","name":"nextcloud"},"spec":{"rules":[{"host":"nextcloud.kube.fairfaxmedia.net","http":{"paths":[{"backend":{"service":{"name":"nextcloud"}}}]}}]}}
]}