Gluttony-Cluster/api/api-service.yaml

16 lines
205 B
YAML
Raw Normal View History

2023-11-02 02:45:22 +00:00
apiVersion: v1
kind: Service
metadata:
name: api-service
namespace: api-ns
spec:
type: LoadBalancer
ports:
- name: general-api
port: 8080
2023-11-03 22:56:57 +00:00
targetPort: 80
2023-11-02 02:45:22 +00:00
selector:
app: api-apps