swarms/infra/kubernetes/kubernetes-service.yml

13 lines
184 B

2 years ago
apiVersion: v1
kind: Service
metadata:
name: swarms-service
spec:
selector:
app: swarms
ports:
- protocol: TCP
port: 80
targetPort: 8000
type: LoadBalancer