Philips Hue API and Postman
Playing with Hue and Postman is pretty simple. The first thing you need to do is generate a username token for API access. To do this first press the button…
Read more »Updated: Hello World in K8s using Nutanix Karbon
Getting started with Karbon and K8s in general can seem like a daunting task. I wanted to create a simple “Hello World” website in K8s. This is meant for people…
Read more »Terraform with Nutanix Provider
I like to keep things simple because I think simple is easy to understand. In college I had an instructor that always told the class K.I.S.S (keep it simple stupid)….
Read more »Power Off/On for all AHV VMs
I have a home lab which sometimes gets loud, annoying, and warm. I needed to turn all my VMs off quickly before I brought down the cluster. Basically, my wife…
Read more »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 »