dev-k8s
This commit is contained in:
parent
f39cd325b7
commit
a986835e24
|
|
@ -25,13 +25,13 @@ spec:
|
|||
memory: 256Mi
|
||||
cpu: 200m
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
- containerPort: 8080
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: NEXT_PUBLIC_REST_ENDPOINT
|
||||
value: "192.168.1.130:30003"
|
||||
- name: NEXT_PUBLIC_WS_ENDPOINT
|
||||
value: "192.168.1.130:30005"
|
||||
# - name: NEXT_PUBLIC_REST_ENDPOINT
|
||||
# value: "192.168.1.130:30003"
|
||||
#- name: NEXT_PUBLIC_WS_ENDPOINT
|
||||
# value: "192.168.1.130:30005"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
@ -42,7 +42,7 @@ spec:
|
|||
app: frontend
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 3000
|
||||
targetPort: 3000
|
||||
nodePort: 30001
|
||||
type: NodePort
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
externalTrafficPolicy: Local
|
||||
type: LoadBalancer
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ spec:
|
|||
- protocol: TCP
|
||||
port: 1883
|
||||
targetPort: 1883
|
||||
nodePort: 30000
|
||||
type: NodePort
|
||||
externalTrafficPolicy: Local
|
||||
type: LoadBalancer
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user