Sha256: 8e80e5a76ef62ce97664538142c80b649ccfa03134e7f9ed4ed548ccb46f390f

Contents?: true

Size: 689 Bytes

Versions: 2

Compression:

Stored size: 689 Bytes

Contents

kind: workload
name: daily-task
spec:
  # https://docs.controlplane.com/reference/workload#cron-configuration
  type: cron
  job:
    # Run daily job at 2am, see cron docs
    schedule: 0  2  *  *  *
    # Never or OnFailure
    restartPolicy: Never
  containers:
    - name: daily-task
      args:
        - bundle
        - exec
        - rails
        - db:prepare
      cpu: 50m
      inheritEnv: true
      image: '/org/APP_ORG/image/APP_IMAGE'
      memory: 256Mi
  defaultOptions:
    autoscaling:
      maxScale: 1
    capacityAI: false
  firewallConfig:
    external:
      outboundAllowCIDR:
        - 0.0.0.0/0
  identityLink: /org/APP_ORG/gvc/APP_GVC/identity/APP_GVC-identity

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cpl-1.0.0 templates/daily-task.yml
cpl-0.7.0 templates/daily-task.yml