Files
lpt-be/k8s/service.yaml
cat-shark 43580dd1fd Add Kubernetes deployment configurations
- Add deployment.yaml with imagePullSecrets and env configuration
- Add service.yaml with NodePort configuration
- Configure Spring Boot environment variables from ConfigMap and Secrets
- Ensures proper image pull authentication from private registry

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-20 21:23:59 +08:00

17 lines
243 B
YAML

apiVersion: v1
kind: Service
metadata:
name: lpt-be
namespace: lpt-dev
labels:
app: lpt-be
spec:
type: NodePort
selector:
app: lpt-be
ports:
- port: 8888
targetPort: 8888
nodePort: 30082
protocol: TCP