2020-10-08 11:12:22 +01:00

19 lines
322 B
YAML

kind: Service
apiVersion: v1
metadata:
labels:
name: LABEL
name: RESOURCE_NAME
namespace: production
spec:
selector:
app: RESOURCE_NAME
ports:
- port: 9090
protocol: TCP
targetPort: 9090
- port: 9091
protocol: TCP
targetPort: 9091
sessionAffinity: None
type: ClusterIP