k8s

Today, I am going to launch static provisioning Wordpress / Mysql configuration on k8s

Wordpress

ReplicaSet: 2

NFS Storage(Static Provision)

Service: LoadBalancer

MySQL

Pod

hostPath Storage

Service: ClusterIP

nfs configuration with Ansible in kubespray.

$ sudo apt update
$ sudo apt install nfs-kernel-server
$ vi /etc/exports
/nfs-v *(rw,sync,no_subtree_check)
$ sudo mkdir /nfs-v
$ sudo chmod -R 777 /nfs-v
$ sudo…

Kian

Write about Cloud Engineering, Programming

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store