lumenInit/resources/kubernetes/service-mysql.yml
2019-09-26 16:06:03 +02:00

15 lines
287 B
YAML

apiVersion: v1
kind: Service
metadata:
annotations:
field.cattle.io/targetWorkloadIds: '["deployment:sampleapp:mariadb"]'
name: mariadb
namespace: sampleapp
spec:
ports:
- port: 3306
protocol: TCP
targetPort: 3306
type: ClusterIP
status:
loadBalancer: {}