{"id":3779,"date":"2023-08-25T14:57:11","date_gmt":"2023-08-25T11:57:11","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=3779"},"modified":"2023-08-23T15:00:30","modified_gmt":"2023-08-23T12:00:30","slug":"how-to-deploy-nextcloud-on-kubernetes","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/","title":{"rendered":"How to Deploy Nextcloud on Kubernetes"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"422\" data-attachment-id=\"3787\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/attachment\/how-to-deploy-nextcloud-on-kubernetes\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Nextcloud-on-Kubernetes.png?fit=1920%2C1080&amp;ssl=1\" data-orig-size=\"1920,1080\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"How-to-Deploy-Nextcloud-on-Kubernetes\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Nextcloud-on-Kubernetes.png?fit=750%2C422&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Nextcloud-on-Kubernetes.png?resize=750%2C422&#038;ssl=1\" alt=\"How to Deploy Nextcloud on Kubernetes\" class=\"wp-image-3787\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Nextcloud-on-Kubernetes.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Nextcloud-on-Kubernetes.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Nextcloud-on-Kubernetes.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Nextcloud-on-Kubernetes.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Nextcloud-on-Kubernetes.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial will walk you through the steps to deploy Nextcloud on Kubernetes cluster using Helm. We&#8217;ll be using k3s, a lightweight Kubernetes distribution. We&#8217;ll assume that you&#8217;ve already <a href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-k3s-cluster-and-helm\/\">installed k3s and Helm<\/a> on your <a href=\"https:\/\/www.virtono.com\/cloud-vps\">VPS<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/nextcloud.com\/\" target=\"_blank\" rel=\"noopener\">Nextcloud<\/a> is a self-hosted cloud storage platform that allows you to store and access your data securely. It provides a plethora of features, including file sharing, collaboration tools, and much more. While Nextcloud can be deployed on a standalone server, the real power comes from deploying it on a Kubernetes cluster. This provides scalability, high availability, and efficient resource utilization.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Step_1_Setting_up_the_Environment\" title=\"Step 1: Setting up the Environment\">Step 1: Setting up the Environment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Step_2_Creating_a_Namespace_for_Nextcloud\" title=\"Step 2: Creating a Namespace for Nextcloud\">Step 2: Creating a Namespace for Nextcloud<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Step_3_Adding_the_Helm_Repository\" title=\"Step 3: Adding the Helm Repository\">Step 3: Adding the Helm Repository<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Step_4_Configuring_the_Nextcloud_on_Kubernetes_Deployment\" title=\"Step 4: Configuring the Nextcloud on Kubernetes Deployment\">Step 4: Configuring the Nextcloud on Kubernetes Deployment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Step_5_Deploying_Nextcloud_on_Kubernetes\" title=\"Step 5: Deploying Nextcloud on Kubernetes\">Step 5: Deploying Nextcloud on Kubernetes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Step_6_Verifying_the_Deployment\" title=\"Step 6: Verifying the Deployment\">Step 6: Verifying the Deployment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Step_7_Access_Nextcloud\" title=\"Step 7: Access Nextcloud\">Step 7: Access Nextcloud<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Step_8_Log_in_to_Nextcloud\" title=\"Step 8: Log in to Nextcloud\">Step 8: Log in to Nextcloud<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/#Final_thoughts\" title=\"Final thoughts\">Final thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_1_Setting_up_the_Environment\"><\/span>Step 1: Setting up the Environment<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s make sure your environment is configured properly before we begin. Use the commands below to examine your k3s and Helm installations:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3780\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/attachment\/screenshot-2023-08-23-at-13-08-36\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.08.36.png?fit=2248%2C440&amp;ssl=1\" data-orig-size=\"2248,440\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-08-23-at-13.08.36\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.08.36.png?fit=750%2C146&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.08.36.png?resize=750%2C146&#038;ssl=1\" alt=\"How to Deploy Nextcloud on Kubernetes\" class=\"wp-image-3780\" style=\"width:840px;height:164px\" width=\"750\" height=\"146\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.08.36.png?resize=1024%2C200&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.08.36.png?resize=300%2C59&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.08.36.png?resize=768%2C150&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.08.36.png?resize=1536%2C301&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.08.36.png?resize=2048%2C401&amp;ssl=1 2048w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The version information for both k3s and Helm should be visible. If not, you should set them up by referring to this <a href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-k3s-cluster-and-helm\/\">guide<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_2_Creating_a_Namespace_for_Nextcloud\"><\/span>Step 2: Creating a Namespace for Nextcloud<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Namespaces in Kubernetes provide a scope for names and are a way to divide cluster resources between multiple users. Let&#8217;s create a namespace for our Nextcloud on Kubernetes deployment:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>kubectl create namespace nextcloud<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_3_Adding_the_Helm_Repository\"><\/span>Step 3: Adding the Helm Repository<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Next, we need to add the Helm repository that contains the Nextcloud chart. A chart is a collection of files that describe a related set of Kubernetes resources. Run the following command to add the repository:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>helm repo add nextcloud https:\/\/nextcloud.github.io\/helm\/\nhelm repo update<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_4_Configuring_the_Nextcloud_on_Kubernetes_Deployment\"><\/span>Step 4: Configuring the Nextcloud on Kubernetes Deployment<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We must set up a few settings before deploying Nextcloud on Kubernetes, such as your VPS&#8217;s external IP address and the desired domain name. Values.yaml files are used to set these parameters. Create a new values.yaml file and fill it with the following information:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>service:\n  type: LoadBalancer\n  loadBalancerIP: &lt;your-external-ip&gt;\n\ningress:\n  enabled: true\n  hosts:\n    - host: nextcloud.your-domain.com\n      paths:\n        - \/\n\nnextcloud:\n  host: nextcloud.your-domain.com\n  username: &lt;your-username&gt;\n  password: &lt;your-password&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace&nbsp;<code>&lt;your-external-ip&gt;<\/code>&nbsp;with the external IP address of your VPS. Also, replace&nbsp;<code>nextcloud.your-domain.com<\/code>&nbsp;with your desired domain name, and&nbsp;<code>&lt;your-username&gt;<\/code>&nbsp;and&nbsp;<code>&lt;your-password&gt;<\/code>&nbsp;with your preferred Nextcloud credentials.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_5_Deploying_Nextcloud_on_Kubernetes\"><\/span>Step 5: Deploying Nextcloud on Kubernetes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We are now prepared to launch Nextcloud. To install Nextcloud using Helm, enter the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>helm install nextcloud nextcloud\/nextcloud -n nextcloud -f values.yaml<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will deploy Nextcloud on your Kubernetes cluster. It might take a few minutes for the deployment to complete.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"250\" data-attachment-id=\"3781\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/attachment\/screenshot-2023-08-23-at-13-17-01\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?fit=2844%2C950&amp;ssl=1\" data-orig-size=\"2844,950\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-08-23-at-13.17.01\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?fit=750%2C250&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?resize=750%2C250&#038;ssl=1\" alt=\"How to Deploy Nextcloud on Kubernetes\" class=\"wp-image-3781\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?resize=1024%2C342&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?resize=300%2C100&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?resize=768%2C257&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?resize=1536%2C513&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?resize=2048%2C684&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.01.png?w=2250&amp;ssl=1 2250w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_6_Verifying_the_Deployment\"><\/span>Step 6: Verifying the Deployment<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once the deployment is complete, you can verify it by running:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>kubectl get pods -n nextcloud<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should see a list of running pods related to Nextcloud. If all the pods are in the &#8216;Running&#8217; state, congratulations! You&#8217;ve successfully deployed Nextcloud on Kubernetes.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"43\" data-attachment-id=\"3782\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/attachment\/screenshot-2023-08-23-at-13-17-45\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.45.png?fit=1816%2C104&amp;ssl=1\" data-orig-size=\"1816,104\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-08-23-at-13.17.45\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.45.png?fit=750%2C43&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.45.png?resize=750%2C43&#038;ssl=1\" alt=\"Nextcloud on Kubernetes Deployment\" class=\"wp-image-3782\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.45.png?resize=1024%2C59&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.45.png?resize=300%2C17&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.45.png?resize=768%2C44&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.45.png?resize=1536%2C88&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-13.17.45.png?w=1816&amp;ssl=1 1816w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_7_Access_Nextcloud\"><\/span>Step 7: Access Nextcloud<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once the DNS is properly configured, you can access your Nextcloud instance by opening a web browser and navigating to your domain. In our example, this would be:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>http:&#47;&#47;nextcloud.your-domain.com<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"658\" data-attachment-id=\"3783\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/attachment\/screenshot-2023-08-23-at-11-58-40\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.58.40.png?fit=1332%2C1170&amp;ssl=1\" data-orig-size=\"1332,1170\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-08-23-at-11.58.40\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.58.40.png?fit=750%2C658&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.58.40.png?resize=750%2C658&#038;ssl=1\" alt=\"\" class=\"wp-image-3783\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.58.40.png?resize=1024%2C899&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.58.40.png?resize=300%2C264&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.58.40.png?resize=768%2C675&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.58.40.png?w=1332&amp;ssl=1 1332w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_8_Log_in_to_Nextcloud\"><\/span>Step 8: Log in to Nextcloud<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You should now see the Nextcloud login page. Use the username and password you specified in your &#8216;values.yaml&#8217; file during the installation process to log in.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"210\" data-attachment-id=\"3784\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-nextcloud-on-kubernetes\/attachment\/screenshot-2023-08-23-at-11-59-24\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?fit=2866%2C802&amp;ssl=1\" data-orig-size=\"2866,802\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-08-23-at-11.59.24\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?fit=750%2C210&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?resize=750%2C210&#038;ssl=1\" alt=\"Log in to Nextcloud\" class=\"wp-image-3784\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?resize=1024%2C287&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?resize=300%2C84&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?resize=768%2C215&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?resize=1536%2C430&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?resize=2048%2C573&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-11.59.24.png?w=2250&amp;ssl=1 2250w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that&#8217;s it! You should now be able to access and manage your files on Nextcloud from anywhere, right in your web browser.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Final_thoughts\"><\/span>Final thoughts<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Deploying Nextcloud on Kubernetes provides many advantages, including scalability, high availability, and efficient resource utilization. With Helm, the process becomes even more streamlined. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Remember, this guide assumes a basic understanding of Kubernetes and Helm. If you&#8217;re new to these technologies, it&#8217;s recommended to familiarize yourself with their concepts and terminologies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By following this guide, you&#8217;ve taken a big step towards a more robust and scalable cloud storage solution. Enjoy exploring the myriad of features that Nextcloud offers and the flexibility of managing it on a Kubernetes cluster.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will walk you through the steps to deploy Nextcloud on Kubernetes cluster using Helm. We&#8217;ll be using k3s, a lightweight Kubernetes distribution. We&#8217;ll assume that you&#8217;ve already installed k3s and Helm on your VPS. Nextcloud is a self-hosted cloud storage platform that allows you to store and access<\/p>\n","protected":false},"author":8,"featured_media":3786,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3],"tags":[669,677,673,674,675,671,670,676,668,672],"class_list":["post-3779","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to","tag-cloud-storage-vps","tag-deploy-nextcloud","tag-deployment-guide","tag-helm-chart-loadbalancer","tag-high-availability-resource-utilization","tag-ingress-pods","tag-k3s-helm","tag-namespace-helm-repository","tag-nextcloud-on-kubernetes","tag-tutorial-scalability"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Deploy-Nextcloud-on-Kubernetes.png?fit=360%2C240&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-YX","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3641,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-redis-on-kubernetes\/","url_meta":{"origin":3779,"position":0},"title":"How to Deploy Redis on Kubernetes","author":"George B.","date":"July 25, 2023","format":false,"excerpt":"This article provides a detailed guide on how to install Redis on Kubernetes, covering everything from configuring the Kubernetes environment to installing and administering Redis. The demand for effective, scalable, and trustworthy data storage solutions has increased as the world transitions to microservices and containerized applications. Redis, a high-performance in-memory\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/07\/How-to-Deploy-Redis-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3687,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-mongodb-on-kubernetes\/","url_meta":{"origin":3779,"position":1},"title":"How to Deploy MongoDB on Kubernetes","author":"George B.","date":"July 29, 2023","format":false,"excerpt":"This tutorial will walk you through installing MongoDB on Kubernetes cluster. We'll assume that you've already got K3s and Helm set up on your machine. The deployment of applications like MongoDB on Kubernetes cluster is made easier by the Kubernetes package manager Helm. Before getting too technical, it's important to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/07\/How-to-Deploy-MongoDB-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3761,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-grafana-on-kubernetes\/","url_meta":{"origin":3779,"position":2},"title":"How to Deploy Grafana on Kubernetes","author":"George B.","date":"August 24, 2023","format":false,"excerpt":"This article will walk you through the process of deploying Grafana on Kubernetes, specifically using k3s and Helm, and making it accessible via a NodePort on your VPS (Virtual Private Server). We'll assume you have k3s and Helm already installed. If not, please refer to their respective official documentation to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Grafana-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3665,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-postgres-high-availability-on-kubernetes\/","url_meta":{"origin":3779,"position":3},"title":"How to Deploy Postgres High Availability on Kubernetes","author":"George B.","date":"July 28, 2023","format":false,"excerpt":"We will cover the deployment of Postgres High Availability (HA) on K3s in great detail in this article. We'll go over the requirements, detailed instructions, and troubleshooting advice. You'll have a reliable, scalable, and highly available Postgres setup on your K3s cluster by the end of this guide. PostgreSQL, also\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/07\/Deploy-Postgres-HA-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3717,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-influxdb-on-kubernetes\/","url_meta":{"origin":3779,"position":4},"title":"How to Deploy InfluxDB on Kubernetes","author":"George B.","date":"August 4, 2023","format":false,"excerpt":"InfluxDB has become a popular choice for time-series databases, especially for DevOps monitoring, real-time analytics, and IoT applications. In this guide, we will explore how to deploy InfluxDB on Kubernetes cluster using K3s and Helm. We will assume that you already have K3s installed and Helm configured.\u00a0If K3s and Helm\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Deploy-InfluxDB-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3708,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-jenkins-on-kubernetes\/","url_meta":{"origin":3779,"position":5},"title":"How to Deploy Jenkins on Kubernetes","author":"George B.","date":"August 2, 2023","format":false,"excerpt":"In this tutorial, we'll go into detail about how to deploy Jenkins on Kubernetes using K3s, a streamlined Kubernetes distribution ideal for edge, IoT, and small clusters. To make the process as clear as possible, this guide will offer specific, step-by-step instructions and examples. Jenkins and Kubernetes have proven to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Jenkins-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=3779"}],"version-history":[{"count":2,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3779\/revisions"}],"predecessor-version":[{"id":3788,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3779\/revisions\/3788"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/3786"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=3779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=3779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=3779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}