Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 1.32 KB

main-settings.md

File metadata and controls

38 lines (35 loc) · 1.32 KB

Main settings to deploy Cerebro

You can use the following main setting to deploy Cerebro:

  • image (string): Cerebro image to use. Default to lmenezes/cerebro
  • imagePullPolicy (string): The image pull policy. Default to IfNotPresent
  • imagePullSecrets (string): The image pull secrets to use. Default to empty
  • version (string): The image version to use. Default to latest
  • config (map of string): Each key is the file store on config folder. Each value is the file contend. It permit to set cerebro settings. Default is empty.

cerebro.yaml:

apiVersion: cerebro.k8s.webcenter.fr/v1
kind: Cerebro
metadata:
  name: cerebro
  namespace: cluster-dev
spec:
  version: 0.9.4
  image: lmenezes/cerebro
  imagePullPolicy: IfNotPresent
  imagePullSecrets:
    - name: my-pull-secret
  config:
    application.conf: |
      rest.history.size = 100

my-pull-secret.yaml:

apiVersion: v1
kind: Secret
metadata:
  name: my-pull-secret
  namespace: cluster-dev
type: kubernetes.io/dockerconfigjson
data:
  .dockerconfigjson: UmVhbGx5IHJlYWxseSByZWVlZWVlZWVlZWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGx5eXl5eXl5eXl5eXl5eXl5eXl5eSBsbGxsbGxsbGxsbGxsbG9vb29vb29vb29vb29vb29vb29vb29vb29vb25ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubmdnZ2dnZ2dnZ2dnZ2dnZ2dnZ2cgYXV0aCBrZXlzCg==