🔌 Source for Helm chart that uses Ansible to set up a hardened WordPress
 
 
 
 
Go to file Use this template
vhs b6400d9b34
docs: ✏️ update intro and features
2021-01-09 21:59:48 +08:00
wp-admin Update to WordPress 5.6. For more information, see https://wordpress.org/news/2020/12/simone/ 2020-12-09 00:44:01 +00:00
wp-content chore: 🤖 remove pantheon cruft 2021-01-09 18:11:29 +08:00
wp-includes Update to WordPress 5.6. For more information, see https://wordpress.org/news/2020/12/simone/ 2020-12-09 00:44:01 +00:00
.gitignore chore: 🤖 remove pantheon cruft 2021-01-09 18:11:29 +08:00
README.md docs: ✏️ update intro and features 2021-01-09 21:59:48 +08:00
grafana.png docs: ✏️ update intro and features 2021-01-09 21:59:48 +08:00
index.php Update to WordPress 5.4. For more information, see https://wordpress.org/news/2020/03/adderley/ 2020-04-01 05:45:38 +00:00
license.txt Update to WordPress 5.4. For more information, see https://wordpress.org/news/2020/03/adderley/ 2020-04-01 05:45:38 +00:00
readme.html Update to WordPress 5.5. IMPORTANT: If you select "Auto-resolve conflicts" for this release, it may cause your customizations to wp-config.php to be removed. Changes were made in the upstream wp-config.php in order to support wp_get_environment_type(). Double-check the contents of your wp-config.php file after applying this update. If you have problems with merge conflicts, see https://pantheon.io/docs/git-resolve-merge-conflicts 2020-08-12 00:06:28 +00:00
wp-activate.php Update to WordPress 5.5. IMPORTANT: If you select "Auto-resolve conflicts" for this release, it may cause your customizations to wp-config.php to be removed. Changes were made in the upstream wp-config.php in order to support wp_get_environment_type(). Double-check the contents of your wp-config.php file after applying this update. If you have problems with merge conflicts, see https://pantheon.io/docs/git-resolve-merge-conflicts 2020-08-12 00:06:28 +00:00
wp-blog-header.php Update to WordPress 5.4. For more information, see https://wordpress.org/news/2020/03/adderley/ 2020-04-01 05:45:38 +00:00
wp-comments-post.php Update to WordPress 5.6. For more information, see https://wordpress.org/news/2020/12/simone/ 2020-12-09 00:44:01 +00:00
wp-cron.php Update to WordPress 5.6. For more information, see https://wordpress.org/news/2020/12/simone/ 2020-12-09 00:44:01 +00:00
wp-links-opml.php Update to WordPress 5.4. For more information, see https://wordpress.org/news/2020/03/adderley/ 2020-04-01 05:45:38 +00:00
wp-load.php Update to WordPress 5.4. For more information, see https://wordpress.org/news/2020/03/adderley/ 2020-04-01 05:45:38 +00:00
wp-login.php Update to WordPress 5.6. For more information, see https://wordpress.org/news/2020/12/simone/ 2020-12-09 00:44:01 +00:00
wp-mail.php Update to WordPress 5.4.1. For more information, see https://wordpress.org/news/2020/04/wordpress-5-4-1/ 2020-04-29 22:41:00 +00:00
wp-settings.php Update to WordPress 5.6. For more information, see https://wordpress.org/news/2020/12/simone/ 2020-12-09 00:44:01 +00:00
wp-signup.php Update to WordPress 5.6. For more information, see https://wordpress.org/news/2020/12/simone/ 2020-12-09 00:44:01 +00:00
wp-trackback.php Update to WordPress 5.6. For more information, see https://wordpress.org/news/2020/12/simone/ 2020-12-09 00:44:01 +00:00
xmlrpc.php Update to WordPress 5.5. IMPORTANT: If you select "Auto-resolve conflicts" for this release, it may cause your customizations to wp-config.php to be removed. Changes were made in the upstream wp-config.php in order to support wp_get_environment_type(). Double-check the contents of your wp-config.php file after applying this update. If you have problems with merge conflicts, see https://pantheon.io/docs/git-resolve-merge-conflicts 2020-08-12 00:06:28 +00:00

README.md

WordPress

This is a WordPress repository configured to run on the Kubernetes platform. It's a fork of Pantheon's WordPress fork modified to remove the Pantheon-specific source code. Use it as a base for a hardened WordPress installation created via Ansible using wordpress-helm.

Pantheon is a website platform optimized and configured to run high performance sites and then ransom those sites back to their customers when traffic rises due to popularity. This fork is intended to empower Pantheon customers stuck with a ransom note to self-host instead.

grafana

Comparisons

Comparing Pantheon and Kubernetes.

Monthly price

Pantheon is a good value when visitor count is under 25K per month. After that value quickly diminishes:

Monthly Visitors Pantheon Kubernetes
25K50K $160† $30‡
50K150K $275† $30‡
150K300K $550† Unknown
300K+ $916† Unknown

† Pantheon offers preferred pricing when paid annually. The charges are $114, $206, $412 and $687 respectively.

‡ Beware of monthly bandwidth limitations imposed by cloud-hosting providers such as DigitalOcean and Vultr. Some providers offer unlimited bandwidth while others do not. Choosing the right one for you will depend on your specific requirements.

Features

Comparison of features between Pantheon starter plan and wordpress-helm:

Pantheon Kubernetes
Varnish
Redis
Apache Solr
Nginx Apache
PHP-FPM PHP Redis
MySQL MariaDB (Replicated)
PhantomJS
Ansible
WP Cron K8s CronJob + MU Cron
WP Mail
Easy backups Backups automated
Drush API Root shell

As you can see you need to give up some things in order to migrate to Kubernetes. What you lose you gain back in the form of control. Items may be added to or removed from the stack as needed.

Getting Started

1. Spin-up a free site on Pantheon

If you do not yet have a Pantheon account, you can create one for free. Once you've verified your email address, you will be able to add sites from your dashboard. Choose "WordPress" to use the upstream distribution of this fork.

2. Load up the site

When the spin-up process is complete, you will be redirected to the site's dashboard. Click on the link under the site's name to access the Dev environment.

3. Run the WordPress installer

How about the WordPress database config screen? No need to worry about database connection information as that is taken care of in the background. The only step that you need to complete is the site information and the installation process will be complete.

4. Wait for ransom note

Pantheon has a tendency to change their pricing model every couple of years. When you eventually get a ransom note after getting backed into a corner begin your migration to Kubernetes.

5. Begin migration to Kubernetes

The entire migration process should take about a week or so for an experienced developer. Full migration instructions are available without fee.

6. Profit!

profit