mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
Squashing commits
adding a Java EE sample, fixing #11477 adding location to the source adding partial review comments from #12110 adding syncer macros and fixing links
This commit is contained in:
15
examples/javaee/mysql-service.yaml
Normal file
15
examples/javaee/mysql-service.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mysql-service
|
||||
labels:
|
||||
name: mysql-pod
|
||||
context: docker-k8s-lab
|
||||
spec:
|
||||
ports:
|
||||
# the port that this service should serve on
|
||||
- port: 3306
|
||||
# label keys and values that must match in order to receive traffic for this service
|
||||
selector:
|
||||
name: mysql-pod
|
||||
context: docker-k8s-lab
|
Reference in New Issue
Block a user