Configure frontend service as NodePort
Added NodePort service type with HTTP and HTTPS ports.
This commit is contained in:
@@ -885,6 +885,16 @@ frontend:
|
|||||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||||
##
|
##
|
||||||
labels: {}
|
labels: {}
|
||||||
|
type: NodePort
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
targetPort: 3001
|
||||||
|
nodePort: 30080
|
||||||
|
- name: https
|
||||||
|
port: 443
|
||||||
|
targetPort: 3443
|
||||||
|
nodePort: 30443
|
||||||
|
|
||||||
## ServiceAccount configuration
|
## ServiceAccount configuration
|
||||||
##
|
##
|
||||||
|
|||||||
Reference in New Issue
Block a user