Gluttony-Cluster/api/api-service.yaml

15 lines
202 B
YAML
Raw Normal View History

2024-05-05 01:07:35 +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