Testing Istio in a cluster TODO:
kubectl apply -f pii-demo.yaml
CREATE USER 'pii_user'@'%' IDENTIFIED BY 'Fmjuf3uUz9g8tT2TaCpyRa3nA6V9';
GRANT CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT, REFERENCES, RELOAD on *.* TO 'pii_user'@'%' WITH GRANT OPTION;
podman build --arch="arm64/v8" -t nycnewman/web-frontend:0.1 .
podman push nycnewman/web-frontend:0.1
podman run -p 10001:10001 -e MYSQL_USER=pii_user -e MYSQL_DATABASE=employees -e MYSQL_PASSWORD=Fmjuf3uUz9g8tT2TaCpyRa3nA6V9 -e MYSQL_HOST=192.168.1.78 -e MYSQL_PORT=3306 -e DATABASE=mysql nycnewman/web-frontend:0.1
kubectl port-forward -n pii-demo --address localhost,192.168.1.78 mysql-server-64dc487699-nnb2w 3306:3306
curl -s -HHost:http-healthcheck.example.com http://localhost:8080/
curl -s -HHost:http-healthcheck.example.com http://localhost:8080/create
curl -s -HHost:http-healthcheck.example.com http://localhost:8080/insert
curl -s -HHost:http-healthcheck.example.com http://localhost:8080/select
https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
https://dev.mysql.com/doc/employee/en/employees-installation.html
https://hub.docker.com/_/mysql
https://testdriven.io/blog/dockerizing-flask-with-postgres-gunicorn-and-nginx/