Quickstart: Kubernetes and webTareas This quick-start guide demonstrates how to deploy webTareas to Kubernetes. Before starting, make sure you have Kubernetes(https://kubernetes.io/docs/setup/) installed. 1.Download YAML file from the following website: http://sourceforge.net/projects/webtareas/files/kubernetes/ 2.Set ip addres in the YAML file. For example, if your kubernetes cluster ip is 192.168.0.1 $ nano webtareas-3.0-php8.4-fpm-postgres-vsftpd.yml Find WT_ROOT: "https://YOUR.IP.HERE:30443" and replace with WT_ROOT: "https://192.168.0.1:30443" 3.Deploy webTareas to Kubernetes. For example, if the YAML file is webtareas-3.0-php8.4-fpm-postgres-vsftpd.yml $ kubectl apply -f webtareas-3.0-php8.4-fpm-postgres-vsftpd.yml 4.Wait for a few seconds and open your browser. For example, if your kubernetes cluster ip is 192.168.0.1 https://192.168.0.1:30443 5.Input username and password and login. The default username/password is admin/admin Enjoy :) If your Pod is stuck in the Pending state, most probably your cluster does not have a Physical Volume Provisioner. This can be verified as the following: kubectl get pvc,pod -n webtareas In this case, and if this is not a production environment, you might want to install the Local Path Provisioner(https://github.com/rancher/local-path-provisioner) kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml kubectl annotate storageclass local-path storageclass.kubernetes.io/is-default-class=true =================================================================================================== The following guide demonstrates how to upgrade webTareas to Kubernetes. Before starting, make sure you have webtareas-2.8-php7.4-fpm-postgres-vsftpd.yml deployed to Kubernetes. 1.Login the original website and turn it off For example, if your kubernetes cluster ip is 192.168.0.1 Open http://192.168.0.1/general/login.php in your browser and login as admin Goto http://192.168.0.1/administration/updatesettings.php Make sure 'Turn your site off ?' is 'Yes' Click 'Save' button and logout 2.Download `webtareas-2.8to3.0-php8.4-fpm-postgres-vsftpd.yml` YAML file from the following website: http://sourceforge.net/projects/webtareas/files/kubernetes/ 3.Set ip addres in the YAML file. For example, if your kubernetes cluster ip is 192.168.0.1 $ nano webtareas-3.0-php8.4-fpm-postgres-vsftpd.yml Find WT_ROOT: "https://YOUR.IP.HERE:30443" and replace with WT_ROOT: "https://192.168.0.1:30443" 4.Apply this configuration. $ kubectl apply -f webtareas-2.8to3.0-php8.4-fpm-postgres-vsftpd.yml 5.Check if the new website deployment is ready. $ kubectl get deployment -n webtareas -w 6.Open your browser and enjoy:)