NLS Lab
← Back to Blog

Steps to deploy PVE website on K8 Custer

  1. Create github repo on github (git@github.com:williamhdean/argo_parkview_drupal.git)
  1. Clone empty repo to desktop - prove sucessful git operations. (Private directory)
  1. Copy 3 files from drupal-bitnami-whdvalues repo into new repo - app-manifest.yaml, new-values.yaml, persistent-values.yaml.  (or get new values file from updated bitnami helm and edit for this site)
  1. Edit the parameters of app-manifest and new-valules to make it applicable to new site.  Commit and push to repo.
  1. In ArgoCD - create repo credentials and use private key contents of github2024 key
  1. In ArgoCD - create application - from the githb repo.  same ns as in the manifest file.
  1. Find IP (look up svc) - then log in.  Confirm drupal is working - create a piece of content.
  1. Make the PVs - Retain - kubectl edit pv ... for both files and db pv.
  1. Note the PVC names of the files and db pvcs - then copy new-values to persistent values and update pvc names.
  1. delete the app in ArgoCD.
  1. changes the app-manifest file to use Persistent-values file
  1. edit the pvs and remove the spec stuff
  1. In ArgoCD - recreate application - ensure it uses new values file.
  1. log in to Drupal side and confirm new content.