Back to Charts

⚠️ Repo Archive Notice

stable/cloudserver/README.md

latest5.7 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

⚠️ Chart Deprecated

Cloudserver Helm Chart

Cloudserver is an open-source Node.js implementation of the Amazon S3 protocol on the front-end and backend storage capabilities to multiple clouds, including Azure and Google.

TL;DR;

console
$ helm install stable/cloudserver

Introduction

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

Installing the Chart

To install the chart with the release name my-release:

console
$ helm install --name my-release stable/cloudserver

The command above deploys Cloudserver on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

console
$ helm delete my-release

The command above removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Cloudserver chart and their default values.

ParameterDescriptionDefault
serviceAccounts.api.createIf true, create the cloudserver api service accounttrue
serviceAccounts.api.namename of the cloudserver api service account to use or create{{ cloudserver.api.fullname }}
serviceAccounts.localdata.createIf true, create the cloudserver localdata service accounttrue
serviceAccounts.localdata.namename of the cloudserver localdata service account to use or create{{ cloudserver.localdata.fullname }}
image.repositorycloudserver image repositoryzenko/cloudserver
image.tagcloudserver image tag8.1.5
image.pullPolicycloudserver image pullPolicyIfNotPresent
api.replicaCountnumber of api replicas1
api.locationConstraintscloudserver location constraint configuration{}
api.credentials.accessKeycloudserver api access keymy-access-key
api.credentials.secretKeycloudserver api secret keymy-secret-key
api.logLevelcloudserver api log levelinfo
api.envadditional environmental variables for the cloudserver api{}
api.proxy.httpHTTP proxy endpoint""
api.proxy.httpsHTTPS proxy endpoint""
api.proxy.caCertIf true, add an additional trusted certificatefalse
api.proxy.no_proxyexceptions to proxification""
api.service.typeapi service typeClusterIP
api.service.portapi service port80
api.service.annotationsapi service annotations{}
api.endpointallowed virtual hosts for external accesscloudserver.local
api.ingress.enabledIf true, an ingress will be created for the apifalse
api.ingress.annotationsapi ingress annotations{}
api.ingress.pathapi ingress path/
api.ingress.hostsapi ingress hostnames[]
api.ingress.tlsapi ingress TLS configuration[]
api.resourcesapi resource requests and limits{}
api.nodeSelectorapi node selector labels for pod assignment{}
api.tolerationsapi toleration for pod assignment[]
api.affinityapi affinity for pod assignment{}
api.autoscaling.enabledIf true, create an HPA for the apifalse
api.config.minReplicasMinimum number of replicas for the HPA1
api.config.maxReplicasMaximum number of replicas for the HPA1
api.config.targetCPUUtilizationPercentageTarget CPU utilisation percentage to scale80
localdata.replicaCountlocaldata replica count1
localdata.persistentVolume.enabledIf true, create a Persistent Volume Claim for localdatatrue
localdata.persistentVolume.accessModeslocaldata Persistent Volume access modesReadWriteOnce
localdata.persistentVolume.annotationsAnnotations for localdata Persistent Volume Claim{}
localdata.persistentVolume.existingClaimlocaldata Persistent Volume existing claim name""
localdata.persistentVolume.sizelocaldata Persistent Volume size1Gi
localdata.resourceslocal resource requests and limits{}
mongodb-replicaset.enabledIf true, install the MongoDB-Replicaset charttrue
mongodb-replicaset.replicasNumber of replicas in the replica set1
mongodb-replicaset.replicaSetNameThe name of the replica setrs0
mongodb-replicaset.securityContextSecurity context for the pod{runAsUser: 1000, fsGroup: 1000, runAsNonRoot: true}
redis-ha.enabledIf true, install the Redis-HA charttrue
redis-ha.replicasNumber of redis master/slave pods1
redis-ha.redis.masterGroupNameRedis convention for naming the cluster groupcloudserver
redis-ha.affinityRedis affinity for pod assignment[]

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

console
$ helm install stable/cloudserver --name my-release \
    --set api.replicaCount=5

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

console
$ helm install stable/cloudserver --name my-release -f values.yaml

Tip: You can use the default values.yaml