Services

Example Service Spec

service.yaml
1
apiVersion: v1
2
kind: Service
3
metadata:
4
name: mysql
5
labels:
6
app: mysql
7
spec:
8
ports:
9
- port: 3306
10
targetPort: 3306
11
selector:
12
app: mysql
Copied!
Last modified 3yr ago
Copy link