14 lines
194 B
YAML
14 lines
194 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: web
|
||
|
labels:
|
||
|
name: web
|
||
|
spec:
|
||
|
type: LoadBalancer
|
||
|
ports:
|
||
|
- port: 80
|
||
|
targetPort: 3000
|
||
|
protocol: TCP
|
||
|
selector:
|
||
|
name: web
|