checkpoint 2 part 1 finished, needs to be properly tested
This commit is contained in:
parent
ce3ea05831
commit
c3f67d4582
14 changed files with 306 additions and 26 deletions
19
roles/mysql_deploy/tasks/main.yml
Normal file
19
roles/mysql_deploy/tasks/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
- name: Create MySQL Persistent Volume Claim
|
||||
kubernetes.core.k8s:
|
||||
namespace: default
|
||||
state: present
|
||||
src: roles/mysql_deploy/templates/mysql-pvc.yml
|
||||
|
||||
- name: Create MySQL Deployment
|
||||
kubernetes.core.k8s:
|
||||
namespace: default
|
||||
state: present
|
||||
src: roles/mysql_deploy/templates/mysql-deployment.yml
|
||||
|
||||
- name: Create MySQL Service
|
||||
kubernetes.core.k8s:
|
||||
namespace: default
|
||||
state: present
|
||||
src: roles/mysql_deploy/templates/mysql-service.yml
|
||||
wait: yes
|
Loading…
Add table
Add a link
Reference in a new issue