cloudify-manager-aio

by longtian

Helm chartv0.1.2

Cloudify manager aio

About this chart

Cloudify manager AIO helm chart

Description

It's a helm chart for cloudify manager which is:

  • Not highly available, has one replica only.
  • Has no persistent volume to survive restarts/failures.
  • Has all components on board (as part of docker container): Message Broker and DB part of it.

This is the best and most simple way to make yourself familiar with cloudify, running a Cloudify manager AIO is a matter of minutes

Installation

helm repo add cloudify-helm https://cloudify-cosmo.github.io/cloudify-helm

helm install cloudify-manager-aio cloudify-helm/cloudify-manager-aio

Configuration options of cloudify-manager-aio values.yaml

KeyTypeDefaultDescription
containerSecurityContextobjectobjectParameters group for k8s containers security context
fullnameOverridestring""
imageobjectobjectParameters group for Docker images
image.pullPolicystring"IfNotPresent"Specify a imagePullPolicy, Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'. ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
image.repositorystring"cloudifyplatform/community-cloudify-manager-aio"Docker image repository
image.tagstring"6.4.2"Docker image tag
ingressobjectobjectParameters group for ingress (managed external access to service)
ingress.annotationsobjectobjectIngress annotation object. Please see an example in values.yaml file
ingress.enabledboolfalseEnable ingress
ingress.hoststring"cfy-efs-app.eks.cloudify.co"Hostname for ingress connection
ingress.ingressClassNamestring"nginx"Ingress Class Name
ingress.tlsobjectobjectIngress TLS parameters
ingress.tls.enabledboolfalseEnabled TLS connections for Ingress
ingress.tls.secretNamestring"cfy-tls-ingress"k8s secret name with TLS certificates for ingress
livenessProbeobjectobjectParameters group for pod liveness probe
livenessProbe.enabledboolfalseEnable liveness probe
livenessProbe.failureThresholdint8liveness probe failure threshold
livenessProbe.httpGet.pathstring"/api/v3.1/ok"liveness probe HTTP GET path
livenessProbe.initialDelaySecondsint600liveness probe initial delay in seconds
livenessProbe.periodSecondsint30liveness probe period in seconds
livenessProbe.successThresholdint1liveness probe success threshold
livenessProbe.timeoutSecondsint15liveness probe timeout in seconds
nameOverridestring""
nodeSelectorobject{}Node labels for default backend pod assignment. Ref: https://kubernetes.io/docs/user-guide/node-selection/
podSecurityContextobjectobjectParameters group for k8s pod security context
readinessProbeobjectobjectParameters group for pod readiness probe
readinessProbe.enabledbooltrueEnable readiness probe
readinessProbe.failureThresholdint2readiness probe failure threshold
readinessProbe.httpGet.pathstring"/console"readiness probe HTTP GET path
readinessProbe.initialDelaySecondsint0readiness probe initial delay in seconds
readinessProbe.periodSecondsint10readiness probe period in seconds
readinessProbe.successThresholdint2readiness probe success threshold
readinessProbe.timeoutSecondsint5readiness probe timeout in seconds
resourcesobjectobjectParameters group for resources requests and limits
serviceobjectobjectParameters group for k8s service
service.http.portint80k8s service http port
service.https.portint443k8s service https port
service.internalRest.portint53333k8s service internal rest port
service.namestring"cloudify-manager-aio"k8s service name
service.rabbitmq.portint5671k8s service rabbitmq port
service.typestring"LoadBalancer"k8s service type. If you plan to use Ingress, you can use ClusterIP there.
startupProbeobjectobjectParameters group for pod startup probe
startupProbe.enabledbooltrueEnable startup probe
startupProbe.failureThresholdint30startup probe failure threshold
startupProbe.httpGet.pathstring"/console"startup probe HTTP GET path
startupProbe.initialDelaySecondsint30startup probe initial delay in seconds
startupProbe.periodSecondsint10startup probe period in seconds
startupProbe.successThresholdint1startup probe success threshold
startupProbe.timeoutSecondsint5startup probe timeout in seconds

Image:

image:
  repository: "cloudifyplatform/community-cloudify-manager-aio"
  tag: "6.4.2"
  pullPolicy: IfNotPresent

Service:

  • for more information and options see the worker docs
service:
  type: LoadBalancer
  name: cloudify-manager-aio
  rabbitmq:
    port: 5671
  http:
    port: 80
  https:
    port: 443
  internalRest:
    port: 53333

node selector - select on which nodes cloudify manager AIO may run:

nodeSelector: {}
# nodeSelector:
#   nodeType: onDemand

resources requests and limits:

resources:
  requests:
    memory: 0.5Gi
    cpu: 0.5

readiness probe may be enabled/disabled

readinessProbe:
  enabled: true
  port: 80
  path: /console
  initialDelaySeconds: 10

Deploy cloudify-manager-aio with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cloudify-manager-aio on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcloudify-manager-aio is pinned at v0.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply