Skip to content

Commit a3b78be

Browse files
Update k8s deployment files
1 parent 4de446b commit a3b78be

File tree

5 files changed

+12
-23
lines changed

5 files changed

+12
-23
lines changed

src/kubernetes/grafana/grafana-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
app: grafana
1515
spec:
1616
containers:
17-
- image: springcloud/spring-cloud-dataflow-grafana-prometheus:2.10.0-SNAPSHOT
17+
- image: springcloud/spring-cloud-dataflow-grafana-prometheus:@dataflow.version@
1818
name: grafana
1919
env:
2020
- name: GF_SECURITY_ADMIN_USER

src/kubernetes/server/server-deployment.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ spec:
1616
spec:
1717
containers:
1818
- name: scdf-server
19-
image: springcloud/spring-cloud-dataflow-server:2.10.0-SNAPSHOT
20-
imagePullPolicy: Always
19+
image: springcloud/spring-cloud-dataflow-server:@dataflow.version@
20+
imagePullPolicy: IfNotPresent
2121
volumeMounts:
2222
- name: config
2323
mountPath: /workspace/config
@@ -58,7 +58,7 @@ spec:
5858
- name: SPRING_CLOUD_DATAFLOW_FEATURES_SCHEDULES_ENABLED
5959
value: 'true'
6060
- name: SPRING_CLOUD_DATAFLOW_TASK_COMPOSEDTASKRUNNER_URI
61-
value: 'docker://springcloud/spring-cloud-dataflow-composed-task-runner:2.10.0-SNAPSHOT'
61+
value: 'docker://springcloud/spring-cloud-dataflow-composed-task-runner:@dataflow.version@'
6262
- name: SPRING_CLOUD_KUBERNETES_CONFIG_ENABLE_API
6363
value: 'false'
6464
- name: SPRING_CLOUD_KUBERNETES_SECRETS_ENABLE_API

src/kubernetes/skipper/skipper-config-kafka.yaml

+3-9
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,9 @@ data:
1616
default:
1717
environmentVariables: 'SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS=kafka-broker:9092,SPRING_CLOUD_STREAM_KAFKA_BINDER_ZK_NODES=${KAFKA_ZK_SERVICE_HOST}:${KAFKA_ZK_SERVICE_PORT}'
1818
limits:
19-
memory: 2g
20-
cpu: 2.0
21-
readinessProbeDelay: 1
22-
readinessProbeTimeout: 5
23-
livenessProbeDelay: 1
24-
livenessProbeTimeout: 2
25-
startupProbeDelay: 20
26-
startupProbeTimeout: 5
27-
startupProbeFailure: 50
19+
memory: 1024Mi
20+
cpu: 500m
21+
startupProbeFailures: 30
2822
datasource:
2923
url: jdbc:mariadb://${MARIADB_SERVICE_HOST}:${MARIADB_SERVICE_PORT}/skipper
3024
username: root

src/kubernetes/skipper/skipper-config-rabbit.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,10 @@ data:
1616
default:
1717
environmentVariables: 'SPRING_RABBITMQ_HOST=${RABBITMQ_SERVICE_HOST},SPRING_RABBITMQ_PORT=${RABBITMQ_SERVICE_PORT}'
1818
limits:
19-
memory: 2g
20-
cpu: 2.0
21-
readinessProbeDelay: 1
22-
readinessProbeTimeout: 5
23-
livenessProbeDelay: 1
24-
livenessProbeTimeout: 2
25-
startupProbeDelay: 20
26-
startupProbeTimeout: 5
27-
startupProbeFailure: 50
19+
memory: 1024Mi
20+
cpu: 500m
21+
readinessProbeDelay: 120
22+
livenessProbeDelay: 90
2823
datasource:
2924
url: jdbc:mariadb://${MARIADB_SERVICE_HOST}:${MARIADB_SERVICE_PORT}/skipper
3025
username: root

src/kubernetes/skipper/skipper-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
containers:
1818
- name: skipper
1919
image: springcloud/spring-cloud-skipper-server:2.9.0-SNAPSHOT
20-
imagePullPolicy: Always
20+
imagePullPolicy: IfNotPresent
2121
volumeMounts:
2222
- name: config
2323
mountPath: /workspace/config

0 commit comments

Comments
 (0)