Skip to content

Commit 3a49d89

Browse files
Update k8s deployment files
1 parent e9b08b4 commit 3a49d89

File tree

4 files changed

+7
-18
lines changed

4 files changed

+7
-18
lines changed

src/kubernetes/server/server-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
containers:
1818
- name: scdf-server
1919
image: springcloud/spring-cloud-dataflow-server:2.10.0-SNAPSHOT
20-
imagePullPolicy: Always
20+
imagePullPolicy: IfNotPresent
2121
volumeMounts:
2222
- name: config
2323
mountPath: /workspace/config

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,8 @@ data:
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:
1919
memory: 1024Mi
20-
cpu: 1.0
21-
readinessProbeDelay: 1
22-
readinessProbeTimeout: 5
23-
livenessProbeDelay: 1
24-
livenessProbeTimeout: 2
25-
startupProbeDelay: 20
26-
startupProbeTimeout: 5
27-
startupProbeFailure: 50
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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,9 @@ data:
1717
environmentVariables: 'SPRING_RABBITMQ_HOST=${RABBITMQ_SERVICE_HOST},SPRING_RABBITMQ_PORT=${RABBITMQ_SERVICE_PORT}'
1818
limits:
1919
memory: 1024Mi
20-
cpu: 1.0
21-
readinessProbeDelay: 1
22-
readinessProbeTimeout: 5
23-
livenessProbeDelay: 1
24-
livenessProbeTimeout: 2
25-
startupProbeDelay: 20
26-
startupProbeTimeout: 5
27-
startupProbeFailure: 50
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

Lines changed: 1 addition & 1 deletion
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)