Pecan Helm Chart

Pecan
Analyzed version: 0.6.0

By NCSA

PEcAn is not itself an ecosystem model, and it can be used to with a variety of different ecosystem models; integrating a model involves writing a wrapper to convert inputs and outputs to and from the standards used by PEcAn. Currently, PEcAn supports multiple models.

Prometheus, a CNCF project, is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.

This chart bootstraps a Prometheus deployment on a Kubernetes cluster using the Helm package manager.

Latest version: 15.5.3
View GitHub

How to Install the Pecan Helm Chart

Add Chart Repository to Helm

helm repo add ncsa https://opensource.ncsa.illinois.edu/charts/

Install Chart

helm install my-pecan ncsa/pecan --version 0.6.0

Does the Pecan chart contain security gaps?

The chart meets the best practices recommended by the industry.

The chart contains 11 misconfigurations.

The chart meets the best practices recommended by the industry. Find the full list of best practices here.

❌ Ensure each container has a configured CPU limit

16 occurrences:

  • metadata.name: release-name-betydb (kind: Deployment)
  • metadata.name: release-name-pecan-docs (kind: Deployment)
  • metadata.name: release-name-pecan-executor (kind: Deployment)
  • metadata.name: release-name-pecan-model-biocro-0-95 (kind: Deployment)
  • metadata.name: release-name-pecan-model-ed2-2-2-0 (kind: Deployment)
  • metadata.name: release-name-pecan-model-maespa-git (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-136 (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-git (kind: Deployment)
  • metadata.name: release-name-pecan-monitor (kind: Deployment)
  • metadata.name: release-name-pecan-web (kind: Deployment)
  • metadata.name: release-name-postgresql (kind: StatefulSet)
  • metadata.name: release-name-rabbitmq (kind: StatefulSet)
  • metadata.name: release-name-betydb-test-connection (kind: Pod)
  • metadata.name: release-name-pecan-test-connection (kind: Pod)
  • metadata.name: release-name-betydb-load-db (kind: Job)
  • metadata.name: release-name-pecan-load-data (kind: Job)

💡 Missing property object `limits.cpu` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Prevent workload from using the default namespace

1 occurrences:

  • metadata.name: release-name-rabbitmq (kind: StatefulSet)

💡 Incorrect value for key `namespace` - use an explicit namespace instead of the default one (`default`)

Learn how to fix the issue here

❌ Ensure each container has a configured liveness probe

10 occurrences:

  • metadata.name: release-name-pecan-executor (kind: Deployment)
  • metadata.name: release-name-pecan-model-biocro-0-95 (kind: Deployment)
  • metadata.name: release-name-pecan-model-ed2-2-2-0 (kind: Deployment)
  • metadata.name: release-name-pecan-model-maespa-git (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-136 (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-git (kind: Deployment)
  • metadata.name: release-name-betydb-test-connection (kind: Pod)
  • metadata.name: release-name-pecan-test-connection (kind: Pod)
  • metadata.name: release-name-betydb-load-db (kind: Job)
  • metadata.name: release-name-pecan-load-data (kind: Job)

💡 Missing property object `livenessProbe` - add a properly configured livenessProbe to catch possible deadlocks

Learn how to fix the issue here

❌ Ensure each container has a configured memory limit

16 occurrences:

  • metadata.name: release-name-betydb (kind: Deployment)
  • metadata.name: release-name-pecan-docs (kind: Deployment)
  • metadata.name: release-name-pecan-executor (kind: Deployment)
  • metadata.name: release-name-pecan-model-biocro-0-95 (kind: Deployment)
  • metadata.name: release-name-pecan-model-ed2-2-2-0 (kind: Deployment)
  • metadata.name: release-name-pecan-model-maespa-git (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-136 (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-git (kind: Deployment)
  • metadata.name: release-name-pecan-monitor (kind: Deployment)
  • metadata.name: release-name-pecan-web (kind: Deployment)
  • metadata.name: release-name-postgresql (kind: StatefulSet)
  • metadata.name: release-name-rabbitmq (kind: StatefulSet)
  • metadata.name: release-name-betydb-test-connection (kind: Pod)
  • metadata.name: release-name-pecan-test-connection (kind: Pod)
  • metadata.name: release-name-betydb-load-db (kind: Job)
  • metadata.name: release-name-pecan-load-data (kind: Job)

💡 Missing property object `limits.memory` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Prevent container security vulnerability (CVE-2021-25741)

6 occurrences:

  • metadata.name: release-name-postgresql (kind: StatefulSet)
  • metadata.name: release-name-rabbitmq (kind: StatefulSet)

💡 Forbidden property object `subPath` - malicious users can gain access to files & directories outside of the volume

Learn how to fix the issue here

❌ Ensure each container image has a pinned (tag) version

3 occurrences:

  • metadata.name: release-name-betydb-test-connection (kind: Pod)
  • metadata.name: release-name-pecan-test-connection (kind: Pod)
  • metadata.name: release-name-betydb-load-db (kind: Job)

💡 Incorrect value for key `image` - specify an image version to avoid unpleasant "version surprises" in the future

Learn how to fix the issue here

❌ Prevent deploying naked pods

2 occurrences:

  • metadata.name: release-name-betydb-test-connection (kind: Pod)
  • metadata.name: release-name-pecan-test-connection (kind: Pod)

💡 Incorrect value for key `kind` - raw pod won't be rescheduled in the event of a node failure

Learn how to fix the issue here

❌ Prevent ConfigMap security vulnerability (CVE-2021-25742)

3 occurrences:

  • metadata.name: release-name-rabbitmq-config (kind: ConfigMap)
  • metadata.name: release-name-rabbitmq-healthchecks (kind: ConfigMap)
  • metadata.name: release-name-pecan-config (kind: ConfigMap)

💡 Missing property object `allow-snippet-annotations` - set it to "false" to override default behaviour

Learn how to fix the issue here

❌ Ensure each container has a configured memory request

15 occurrences:

  • metadata.name: release-name-betydb (kind: Deployment)
  • metadata.name: release-name-pecan-docs (kind: Deployment)
  • metadata.name: release-name-pecan-executor (kind: Deployment)
  • metadata.name: release-name-pecan-model-biocro-0-95 (kind: Deployment)
  • metadata.name: release-name-pecan-model-ed2-2-2-0 (kind: Deployment)
  • metadata.name: release-name-pecan-model-maespa-git (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-136 (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-git (kind: Deployment)
  • metadata.name: release-name-pecan-monitor (kind: Deployment)
  • metadata.name: release-name-pecan-web (kind: Deployment)
  • metadata.name: release-name-rabbitmq (kind: StatefulSet)
  • metadata.name: release-name-betydb-test-connection (kind: Pod)
  • metadata.name: release-name-pecan-test-connection (kind: Pod)
  • metadata.name: release-name-betydb-load-db (kind: Job)
  • metadata.name: release-name-pecan-load-data (kind: Job)

💡 Missing property object `requests.memory` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Ensure each container has a configured CPU request

15 occurrences:

  • metadata.name: release-name-betydb (kind: Deployment)
  • metadata.name: release-name-pecan-docs (kind: Deployment)
  • metadata.name: release-name-pecan-executor (kind: Deployment)
  • metadata.name: release-name-pecan-model-biocro-0-95 (kind: Deployment)
  • metadata.name: release-name-pecan-model-ed2-2-2-0 (kind: Deployment)
  • metadata.name: release-name-pecan-model-maespa-git (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-136 (kind: Deployment)
  • metadata.name: release-name-pecan-model-sipnet-git (kind: Deployment)
  • metadata.name: release-name-pecan-monitor (kind: Deployment)
  • metadata.name: release-name-pecan-web (kind: Deployment)
  • metadata.name: release-name-rabbitmq (kind: StatefulSet)
  • metadata.name: release-name-betydb-test-connection (kind: Pod)
  • metadata.name: release-name-pecan-test-connection (kind: Pod)
  • metadata.name: release-name-betydb-load-db (kind: Job)
  • metadata.name: release-name-pecan-load-data (kind: Job)

💡 Missing property object `requests.cpu` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

This is some text inside of a div block.
This is some text inside of a div block.

Reveal misconfigurations within minutes

3 Quick Steps to Get Started