|
| 1 | +# Mandatory configs |
| 2 | +kind: Job |
| 3 | + |
| 4 | +jobConfigs: |
| 5 | + backoffLimit: 5 |
| 6 | + activeDeadlineSeconds: 100 |
| 7 | + parallelism: 1 |
| 8 | + completions: 2 |
| 9 | + suspend: false |
| 10 | + # ttlSecondsAfterFinished: 100 |
| 11 | + |
| 12 | +cronjobConfigs: |
| 13 | + schedule: "* * * * *" |
| 14 | + startingDeadlineSeconds: 100 |
| 15 | + concurrencyPolicy: Allow |
| 16 | + suspend: false |
| 17 | + successfulJobsHistoryLimit: 3 |
| 18 | + failedJobsHistoryLimit: 1 |
| 19 | + restartPolicy: OnFailure |
| 20 | + |
| 21 | +kedaAutoscaling: |
| 22 | + envSourceContainerName: "" |
| 23 | + minReplicaCount: 1 |
| 24 | + maxReplicaCount: 2 |
| 25 | + pollingInterval: 30 |
| 26 | + successfulJobsHistoryLimit: 5 |
| 27 | + failedJobsHistoryLimit: 5 |
| 28 | + rolloutStrategy: default |
| 29 | + scalingStrategy: |
| 30 | + strategy: "custom" |
| 31 | + customScalingQueueLengthDeduction: 1 |
| 32 | + customScalingRunningJobPercentage: "0.5" |
| 33 | + pendingPodConditions: |
| 34 | + - "Ready" |
| 35 | + - "PodScheduled" |
| 36 | + - "AnyOtherCustomPodCondition" |
| 37 | + multipleScalersCalculation : "max" |
| 38 | + triggers: |
| 39 | + - type: rabbitmq |
| 40 | + metadata: |
| 41 | + queueName: hello |
| 42 | + host: RabbitMqHost |
| 43 | + queueLength : '5' |
| 44 | + authenticationRef: {} |
| 45 | + triggerAuthentication: |
| 46 | + enabled: false |
| 47 | + name: "" |
| 48 | + spec: {} |
| 49 | + |
| 50 | +MinReadySeconds: 60 |
| 51 | +GracePeriod: 30 |
| 52 | +image: |
| 53 | + pullPolicy: IfNotPresent |
| 54 | +service: |
| 55 | + type: ClusterIP |
| 56 | + enabled: false |
| 57 | + #name: "service-1234567890" |
| 58 | + annotations: {} |
| 59 | + # test1: test2 |
| 60 | + # test3: test4 |
| 61 | +ContainerPort: |
| 62 | + - name: app |
| 63 | + port: 8080 |
| 64 | + servicePort: 80 |
| 65 | + envoyPort: 8799 |
| 66 | + useHTTP2: true |
| 67 | + supportStreaming: true |
| 68 | + idleTimeout: 1800s |
| 69 | +# servicemonitor: |
| 70 | +# enabled: true |
| 71 | +# path: /abc |
| 72 | +# scheme: 'http' |
| 73 | +# interval: 30s |
| 74 | +# scrapeTimeout: 20s |
| 75 | +# metricRelabelings: |
| 76 | +# - sourceLabels: [namespace] |
| 77 | +# regex: '(.*)' |
| 78 | +# replacement: myapp |
| 79 | +# targetLabel: target_namespace |
| 80 | +resources: |
| 81 | + # We usually recommend not to specify default resources and to leave this as a conscious |
| 82 | + # choice for the user. This also increases chances charts run on environments with little |
| 83 | + # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 84 | + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 85 | + limits: |
| 86 | + cpu: 1 |
| 87 | + memory: 200Mi |
| 88 | + requests: |
| 89 | + cpu: 0.10 |
| 90 | + memory: 100Mi |
| 91 | + |
| 92 | +# Optional configs |
| 93 | + |
| 94 | +command: |
| 95 | + enabled: false |
| 96 | + value: [] |
| 97 | + |
| 98 | +args: |
| 99 | + enabled: false |
| 100 | + value: |
| 101 | + - /bin/sh |
| 102 | + - -c |
| 103 | + - touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600 |
| 104 | + |
| 105 | +#For adding custom labels to pods |
| 106 | + |
| 107 | +podLabels: {} |
| 108 | +# customKey: customValue |
| 109 | +podAnnotations: {} |
| 110 | +# customKey: customValue |
| 111 | + |
| 112 | +rawYaml: [] |
| 113 | + |
| 114 | +initContainers: [] |
| 115 | + ## Additional init containers to run before the Scheduler pods. |
| 116 | + ## for example, be used to run a sidecar that chown Logs storage. |
| 117 | + #- name: volume-mount-hack |
| 118 | + # image: busybox |
| 119 | + # command: ["sh", "-c", "chown -R 1000:1000 logs"] |
| 120 | + # volumeMounts: |
| 121 | + # - mountPath: /usr/local/airflow/logs |
| 122 | + # name: logs-data |
| 123 | + |
| 124 | +containers: [] |
| 125 | + ## Additional containers to run along with application pods. |
| 126 | + ## for example, be used to run a sidecar that chown Logs storage . |
| 127 | + #- name: volume-mount-hack |
| 128 | + # image: busybox |
| 129 | + # command: ["sh", "-c", "chown -R 1000:1000 logs"] |
| 130 | + # volumeMounts: |
| 131 | + # - mountPath: /usr/local/airflow/logs |
| 132 | + # name: logs-data |
| 133 | + |
| 134 | +volumeMounts: [] |
| 135 | +# - name: log-volume |
| 136 | +# mountPath: /var/log |
| 137 | + |
| 138 | +volumes: [] |
| 139 | +# - name: log-volume |
| 140 | +# emptyDir: {} |
| 141 | + |
| 142 | +tolerations: [] |
| 143 | + |
| 144 | +Spec: |
| 145 | + Affinity: |
| 146 | + Key: |
| 147 | + # Key: kops.k8s.io/instancegroup |
| 148 | + Values: |
| 149 | + |
| 150 | +prometheus: |
| 151 | + release: monitoring |
| 152 | + |
| 153 | +server: |
| 154 | + deployment: |
| 155 | + image_tag: 1-95af053 |
| 156 | + image: "" |
| 157 | + |
| 158 | +servicemonitor: |
| 159 | + additionalLabels: {} |
| 160 | + |
| 161 | +imagePullSecrets: [] |
| 162 | + # - test1 |
| 163 | + # - test2 |
| 164 | + |
| 165 | +containerSecurityContext: |
| 166 | + allowPrivilegeEscalation: false |
| 167 | + |
| 168 | +podSecurityContext: {} |
| 169 | + # runAsUser: 1000 |
| 170 | + # runAsGroup: 3000 |
| 171 | + # fsGroup: 2000 |
| 172 | + |
| 173 | +shareProcessNamespace: false |
| 174 | +setHostnameAsFQDN: false |
| 175 | +readinessGates: [] |
| 176 | +ephemeralContainers: [] |
| 177 | +topologySpreadConstraints: [] |
0 commit comments