Skip to content

Warlord77/ghost-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploying Ghost on Do-K8s

Prequistes

  1. Install do command line tool (doctl) to acces your k8s cluster.
    Steps can be found here https://docs.digitalocean.com/reference/doctl/
  2. Make sure you have helm installed in your system.
    Steps can be found here https://helm.sh/docs/intro/install/

Deployment Begins

  • Deploy volume.yml
    kubectl apply -f volume.yml

  • Run helm.sh
    chmod +x helm.sh ./heml.sh

  • After running helm.sh you will see that your nginx ingress controller and cert manager has been installed. kubectl get pods

  • Deploy deply.yaml which deploys ghost on k8s. make sure to change this
    value: <---url-of-website--->
    url of website should be the domain name for ghost

  • kubectl get pods
    You will see blog pod coming up /
    kubectl get svc
    Take the external ip from load balancer service and add it to dns to map it to domain name used above.

  • make sure to change this
    host: <---domain-of-website--->
    domain name for ghost
    Once its done run
    kubectl apply -f ingress.yml

  • https certificate setup
    make sure to change this
    email: <---issuer-email-id--->
    email id to which the letsencrypt certificate will be issued.
    kubectl apply -f cert-issuer.yml
    This apply https to your domain name.

About

k8s ghost blog setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages