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 (as 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/*
corepack enable
npx projen</p>
<pre><code>
Then run the following command to run the test:
```bash
npx projen test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cdk8s_plone-0.0.40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79f882a294b9aa614cb75aded2371a4055e4b537e16e39357aa571ac7acd2fa5 |
|
MD5 | 1c9b4fbc6826fad8f05226e599c67914 |
|
BLAKE2b-256 | 0e5225e68ffd21aefb9680b055097b7f00c68e2451fdddca2bb34082a26f4db9 |