
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@bluedynamics/cdk8s-plone
Advanced tools
Provides a CMS Plone Backend and Frontend for Kubernetes with cdk8s
This chart provides a library to bootstrap a Plone deployment on a Kubernetes cluster using the CDK8S framework.
It provides
plone.volto
or as Classic-UI)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 cdk8s-plone.
Todo: Document in details how to install.
cdk8s init python-app
Python package name is cdk8s-plone.
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.
For using cdk8s-plone, we assume you already have following tools installed:
kubectl – A command-line tool for interacting with Kubernetes clusters. For deploying the Kubernetes manifest you will need a tool like this. Take a look at the Install Tools for kubectl.
(optional) Helm – A Kubernetes package manager for managing Plone/Volto deployments. This tool is optional and only needed if you generate helm charts as output with cdk8s synth - instead of pure manifests. There are several ways to install it see the install section for Helm.
Kubernetes Documentation relevant for ressource management, readiness and liveness
Interface
image
(string):
plone/plone-backend:6.1.0
imagePullPolicy
(string):
IfNotPresent
replicas
(numbers)maxUnavailable
(number|string)minAvailable
(number|string)limitCpu
(string)limitMemory
(string)requestCpu
(string)requestMemory
(string)environment
(kplus.Env)readinessEnabled
(boolean)readinessInitialDelaySeconds
(number)readinessIimeoutSeconds
(number)readinessPeriodSeconds
(number)readinessSuccessThreshold
(number)readinessFailureThreshold
(number)livenessEnabled
(boolean)
true
for volto
false
for backend/classicui
livenessInitialDelaySeconds
(number)livenessIimeoutSeconds
(number)livenessPeriodSeconds
(number)livenessSuccessThreshold
(number)livenessFailureThreshold
(number)Interface
version
(string):
siteId
(string):
Plone
variant
(PloneVariant):
PloneVariant.VOLTO
backend
(PloneBaseOptions):
{}
image
and enviroment
frontend
(PloneBaseOptions):
{}
image
if PloneVariant.VOLTO
imagePullSecrets
(string[])Enum
class
builds the Plone
Construct
backendServiceName
(string)frontendServiceName
(string)variant
(PloneVariant)
Volto
siteId
(string)
Plone
Interface
plone
(Plone):
varnishVcl
{string}:
varnishVclFile
should be usedvarnishVclFile
(string):
existingSecret
(string)limitCpu
(string)limitMemory
(string)requestCpu
(string)requestMemory
(string)servicemonitor
(string)
false
used for metricsclass
uses helmchart kube-httpcache and builds the PloneHttpCache
Construct
scope
(Construct)id
(string)options
(PloneHttpcacheOptions)Clone the repository and install the dependencies:
nvm use lts/*
corepack enable
npx projen
Then run the following command to run the test:
npx projen test
FAQs
Provides a CMS Plone Backend and Frontend for Kubernetes with cdk8s
We found that @bluedynamics/cdk8s-plone demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.