Simple Kubernetes WordPress Deployment
Load the config file
1 |
export KUBECONFIG=/<path>/<kubectl-config.cfg> |
Verify nodes
1 |
kubectl get nodes |
Download yaml packages for WordPress
1 2 |
wget https://kubernetes.io/examples/application/wordpress/mysql-deployment.yaml wget https://kubernetes.io/examples/application/wordpress/wordpress-deployment.yaml |
Set secret for DB access
1 |
kubectl create secret generic mysql-pass --from-literal=password=<password> |
Create deployment from downloaded yaml
1 2 |
kubectl create -f mysql-deployment.yaml kubectl create -f wordpress-deployment.yaml |
Verify port binding
1 |
get services wordpress |
…
Read more »Linux VM cloud-init for Nutanix Calm
Nutanix Calm does guest customization with cloud-init for Linux VMs. Most the docs discuss using keys for increased security, but for quick tests I wanted to use password auth. To…
Read more »Creating Windows Disk Template for Nutanix Calm
To create a Windows disk image for Nutanix Calm you must first create a Master/Gold Image. Start with a clean Windows install, Nutanix VirtIO drivers, and NGT installed. Next run…
Read more »