Gluttony-Cluster/api/general-api/api-service.yaml

14 lines
201 B
YAML
Raw Normal View History

2024-05-28 00:14:45 +00:00
apiVersion: v1
kind: Service
metadata:
name: api-service
namespace: api-ns
spec:
type: LoadBalancer
ports:
- name: general-api
port: 8080
targetPort: 80
selector:
app: api-apps