Skip to main content

Provides a CMS Plone Backend and Frontend for Kubernetes with cdk8s

Project description

CMS Plone Chart for CDK8S

This chart provides a library to bootstrap a Plone deployment on a Kubernetes cluster using the CDK8S framework.

It provides

  • Backend (for API with plone.volto or as Classic-UI)
  • Frontend (Plone-Volto, a ReactJS based user interface)
  • Varnish using kube-httpcache. It includes a way to invalidate varnish cluster (optional)

Typescript

To use this library, create a new CDK8S project (or use an existing one)

cdk8s init typescript-app

Then add the following dependency to package.json:

{
  "dependencies": {
    "@bluedynamics/cdk8s-plone": "*"
  }
}

Run npm install to install the new dependency.

Python

Todo: Document in details how to install.

cdk8s init python-app

Python package name is cdk8s-plone.

Usage

With cdk8s-cli installed, create a new project:

cdk8s sythn

Add the following code to your main.ts:

...
import { Plone } from '@bluedynamics/cdk8s-plone';
...
    super(scope, id, props);

    // define resources here
    new Plone(this, 'Plone', {});
...

Run npm run build to generate the Kubernetes manifests. The manifests are stored in the dist directory.

For more have a look at the example project.

Development

Clone the repository and install the dependencies:

</code></pre>
<p>nvm use lts/*
npx projen install</p>
<pre><code>
Then run the following command to run the test:

```bash
npx projen test

Feature Wishlist:

Each step need to be implemented with tests!

  • Support Variants for ClassicUI or Volto

  • Start Backend

    • deployment
    • service
    • pdb
    • init container running plone-site-create
    • lifecycle checks (readiness, liveness)
    • generic way to inject sidecars
    • metrics sidecar
  • Start Frontend

    • deployment
    • service
    • pdb
    • lifecycle checks (readiness, liveness)
    • generic way to inject sidecars
    • metrics sidecar
  • Start Varnish (using kube-httpcache) optional in separate chart

    • provide a default VCL for Volto with routing to backend and frontend
    • provide a default VCL for ClassicUI
  • Configure Ingress, optional in separate chart

    • Traefik
    • Konq
  • Release packages for other Languages

    • Python
    • Golang
    • Java

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk8s_plone-0.0.38.tar.gz (576.1 kB view details)

Uploaded Source

Built Distribution

cdk8s_plone-0.0.38-py3-none-any.whl (573.8 kB view details)

Uploaded Python 3

File details

Details for the file cdk8s_plone-0.0.38.tar.gz.

File metadata

  • Download URL: cdk8s_plone-0.0.38.tar.gz
  • Upload date:
  • Size: 576.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cdk8s_plone-0.0.38.tar.gz
Algorithm Hash digest
SHA256 3ea5ea09d47a8d8a87e9b400db18dbd1bb962f2365f7b492e458da5f3c30adb1
MD5 c22d35d5822c4e61c1c74a5ba09b0b96
BLAKE2b-256 3f052e43fda4a4f5cb3ede80a623858d5c584b591a940a5a950fd49be2cfadf6

See more details on using hashes here.

File details

Details for the file cdk8s_plone-0.0.38-py3-none-any.whl.

File metadata

  • Download URL: cdk8s_plone-0.0.38-py3-none-any.whl
  • Upload date:
  • Size: 573.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cdk8s_plone-0.0.38-py3-none-any.whl
Algorithm Hash digest
SHA256 eeaf24c0996d4d818609396353a45473f1430dace19bb8dc90a972d063415caa
MD5 a1aae2d5694259d0541b32c3c82bea4f
BLAKE2b-256 4a146460176ab75b928ac6e0b13eefc43443923b0a0b6efb7ea179f7eb0d6d87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page