mysql: Add k8s first example
This commit is contained in:
parent
a1fbe3c1aa
commit
2a7051ab3b
7 changed files with 143 additions and 0 deletions
14
mysql/k8s/06_phpmyadmin_service.yaml
Normal file
14
mysql/k8s/06_phpmyadmin_service.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mysql-phpmyadmin-service
|
||||
labels:
|
||||
app: mysql-phpmyadmin
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: mysql-phpmyadmin
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
Loading…
Add table
Add a link
Reference in a new issue