- K8s manifests: namespace, PVC (local-path 2Gi), deployment, service, ingress - Ingress: repo-vis.oci.euphon.net with Let's Encrypt TLS via traefik - Cross-compile aarch64-unknown-linux-musl for OCI ARM64 host - make deploy: local Docker (x86_64) - make deploy-oci: SCP binary + web dist to OCI, native docker build, k3s import - Dockerfile accepts MUSL_TARGET build arg for multi-arch support
12 lines
161 B
YAML
12 lines
161 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: repo-vis
|
|
namespace: repo-vis
|
|
spec:
|
|
selector:
|
|
app: repo-vis
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8080
|