lumenInit/resources/kubernetes/service-mysql.yml

16 lines
287 B
YAML
Raw Normal View History

2019-09-26 14:06:03 +00:00
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: {}