Upload New File
This commit is contained in:
24
k8s/service.yaml
Normal file
24
k8s/service.yaml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# =============================================================================
|
||||||
|
# Service - node-bugado
|
||||||
|
# =============================================================================
|
||||||
|
#
|
||||||
|
# Service ClusterIP para expor a aplicação internamente.
|
||||||
|
# Use com Ingress para acesso externo.
|
||||||
|
#
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: node-bugado
|
||||||
|
labels:
|
||||||
|
app: node-bugado
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
selector:
|
||||||
|
app: node-bugado
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
targetPort: 3000
|
||||||
|
protocol: TCP
|
||||||
Reference in New Issue
Block a user