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>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user