Ansible Script for Running Wordpress on Kubernetes Automatically
Method:
Installing K3S (Lightweight Kubernetes)
Create MySQL Database Deployment
Create MySQL Services
Create Wordpress Deployment
Create Wordpress Services Loadbalancer Port 80
Access Remote Host with Browsers and Setup WP
Usage: ansible-playbook -i inventory ansible-kube-wp.yml
Note:
Modify your /etc/hosts and add your server+ip
Modify your 'password' on ansible-docker-wp.yml
Justify your Inventory Settings
26 июн 2024