16 lines
260 B
YAML
16 lines
260 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: api-gateway
|
||
|
namespace: birbnetes
|
||
|
labels:
|
||
|
app: api-gateway
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: api-gateway
|
||
|
port: 80
|
||
|
targetPort: 8080
|
||
|
protocol: TCP
|
||
|
selector:
|
||
|
app: api-gateway
|
||
|
type: ClusterIP
|