Svclb-longhorn-frontend-4z4zp 0/1 Pending 0 93s You can check on their progress with, assuming you have kubectl set up and pointing at your cluster as per the set-up instructions: kubectl get pods -n longhorn-system Having not used Longhorn before, the installation was as easy as clicking the icon! Give it a few minutes to create the pods. The Civo marketplace provides the essential tools for Kubernetes and Longhorn by Rancher is one of them. Civo Kubernetes provides stateful storage through an application: To ensure the blog does not vanish like a.(sorry), I had to make sure there was persistent storage available for both the database and the ghost configuration/theme files. You can verify you are connected to the right cluster by doing a quick check of the nodes: kubectl get nodesĪnd checking these against the cluster in the web interface, you wouldn't want to be connected to the wrong cluster! Once downloaded you can set your session to use this: export KUBECONFIG="path_to_config_file" Open your favourite terminal and navigate to a sensible directory. You will find this on the cluster information page on the Civo dashboard, like in the image below: Fortunately with Kubernetes that's not as painful as it seems!įirst, let's download the configuration file of the cluster you will be working with. Otherwise, you will probably end up ripping it all down and starting again. I would recommend using a real domain name throughout, it will make the SSL bit later easier. I will run through the setup of Ghost on Civo, step by step. Make sure you also have kubectl installed, as we will be managing the cluster using it. Once you have a cluster running, you can get started with deploying Ghost with the section below. To get up and running in Civo managed Kubernetes, take a look at some of the guides here, or Alex Ellis's post on his blog detailing his experience getting started. To keep this guide focused to deploying Ghost, it will not cover setting up Kubernetes. ![]() Update November 2020: Ghost is now available from the Civo application marketplace, and I have written a guide that will get you up and running even faster, you can find it here. ![]() It will quickly go over Civo Kubernetes and getting started, followed by a step-by-step guide for configuring your blog. What better way to start learning a new technology than to use it for something productive? This guide will get you up and running with a Ghost blog on Civo's managed Kubernetes platform.
0 Comments
Leave a Reply. |