See here for more:
How to Add Cloudflare Turnstile CAPTCHA in WordPress without Plugins
See here for more:
How to Add Cloudflare Turnstile CAPTCHA in WordPress without Plugins
based on:
https://github.com/bitnami/charts/tree/master/bitnami/wordpress/#installing-the-chart
https://vitux.com/install-and-deploy-kubernetes-on-ubuntu/
1) Install snapd
sudo apt update sudo apt install snapd
2) Install helm
sudo snap install helm --classic
3) Install and enable Docker
sudo apt install docker.io sudo systemctl enable docker
4) Add the Kubernetes signing key on both the nodes
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add
5) Add Xenial Kubernetes Repository
sudo apt-get install software-properties-common sudo apt-get update sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"
6) Install Kubeadm
sudo apt install kubeadm
7) Disable swap memory – Kubernetes does not perform properly on a system that is using
swap memory sudo swapoff -a
8) Set hostname
sudo hostnamectl set-hostname master-node
9) Initialize Kubernetes on the master node
sudo kubeadm init --pod-network-cidr=10.244.0.0/16
10) To start using your cluster, you need to run the following as a regular user:
mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config
11) Then you can join any number of worker nodes by running the following on each as root:
kubeadm join 192.168.185.98:6443 --token 3fblch.ja2qp2uymppvd92n --discovery-token-ca-cert-hash sha256:77bef2579a7c22a3b8a55f94f70595f35112b406ac12a04f67e7a73e1a50e62b
12) Deploy a Pod Network through the master node
sudo kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
13) view the status of the network
kubectl get pods --all-namespaces
14) Install Bitnami WordPress (a help chart)
helm install my-blog bitnami/wordpress
15) Result
NAME: my-blog LAST DEPLOYED: Mon Apr 27 18:35:23 2020 NAMESPACE: default STATUS: deployed REVISION: 1 NOTES: ** Please be patient while the chart is being deployed **
To access your WordPress site from outside the cluster follow the steps below:
16) Uninstall
helm delete my-blog