From 6f9487d195ccaf8b51d0212a2b161f984cf86eb4 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 12 Dec 2022 08:54:39 +0000
Subject: [PATCH] Release 2.10.0
---
pom.xml | 22 ++---
spring-cloud-dataflow-audit/pom.xml | 2 +-
spring-cloud-dataflow-autoconfigure/pom.xml | 2 +-
spring-cloud-dataflow-classic-docs/pom.xml | 2 +-
spring-cloud-dataflow-completion/pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
spring-cloud-dataflow-core-dsl/pom.xml | 2 +-
spring-cloud-dataflow-core/pom.xml | 2 +-
spring-cloud-dataflow-dependencies/pom.xml | 46 +++++-----
spring-cloud-dataflow-docs/pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
spring-cloud-dataflow-registry/pom.xml | 2 +-
spring-cloud-dataflow-rest-client/pom.xml | 2 +-
spring-cloud-dataflow-rest-resource/pom.xml | 2 +-
spring-cloud-dataflow-server-core/pom.xml | 2 +-
spring-cloud-dataflow-server/pom.xml | 2 +-
spring-cloud-dataflow-shell-core/pom.xml | 2 +-
spring-cloud-dataflow-shell/pom.xml | 2 +-
.../pom.xml | 2 +-
spring-cloud-dataflow-tasklauncher/pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
spring-cloud-dataflow-test/pom.xml | 2 +-
spring-cloud-starter-dataflow-server/pom.xml | 2 +-
spring-cloud-starter-dataflow-ui/pom.xml | 2 +-
src/docker-compose/.env | 4 +-
src/docker-compose/docker-compose-dood.yml | 8 +-
.../docker-compose-influxdb.yml | 2 +-
.../docker-compose-postgres.yml | 12 ++-
.../docker-compose-prometheus.yml | 4 +-
.../docker-compose-rabbitmq.yml | 14 +--
src/docker-compose/docker-compose.yml | 67 +++++++++++---
.../grafana/grafana-deployment.yaml | 2 +-
.../mariadb/mariadb-deployment.yaml | 4 +
.../rabbitmq/rabbitmq-deployment.yaml | 2 -
src/kubernetes/server/server-config.yaml | 6 +-
src/kubernetes/server/server-deployment.yaml | 90 +++++++++----------
src/kubernetes/server/server-svc.yaml | 2 +-
.../skipper/skipper-config-kafka.yaml | 12 +--
.../skipper/skipper-config-rabbit.yaml | 13 +--
.../skipper/skipper-deployment.yaml | 43 ++++-----
47 files changed, 221 insertions(+), 190 deletions(-)
diff --git a/pom.xml b/pom.xml
index 2e3d66dc35..f9f98faf92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
pom
https://cloud.spring.io/spring-cloud-dataflow/
@@ -13,7 +13,7 @@
org.springframework.cloud
spring-cloud-dataflow-build
- 2.10.0-SNAPSHOT
+ 2.10.0
@@ -56,19 +56,19 @@
1.8
-Xdoclint:none
- 3.3.0-SNAPSHOT
+ 3.3.0
${project.version}
- 2.10.0-SNAPSHOT
- 2.8.0-SNAPSHOT
- 2.8.0-SNAPSHOT
- 2.8.0-SNAPSHOT
- 2.8.0-SNAPSHOT
+ 2.10.0
+ 2.8.0
+ 2.8.0
+ 2.8.0
+ 2.8.0
- 2.9.0-SNAPSHOT
+ 2.9.0
2.4.2
- 1.8.0-SNAPSHOT
+ 1.8.0
0.8.5
3.0.2
@@ -145,7 +145,7 @@
org.springframework.cloud
spring-cloud-dataflow-dependencies
- 2.10.0-SNAPSHOT
+ 2.10.0
pom
import
diff --git a/spring-cloud-dataflow-audit/pom.xml b/spring-cloud-dataflow-audit/pom.xml
index 792b0233e6..cce51af36c 100644
--- a/spring-cloud-dataflow-audit/pom.xml
+++ b/spring-cloud-dataflow-audit/pom.xml
@@ -4,7 +4,7 @@
spring-cloud-dataflow-parent
org.springframework.cloud
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-audit
jar
diff --git a/spring-cloud-dataflow-autoconfigure/pom.xml b/spring-cloud-dataflow-autoconfigure/pom.xml
index fa39b25193..a6cd339aaa 100644
--- a/spring-cloud-dataflow-autoconfigure/pom.xml
+++ b/spring-cloud-dataflow-autoconfigure/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-autoconfigure
jar
diff --git a/spring-cloud-dataflow-classic-docs/pom.xml b/spring-cloud-dataflow-classic-docs/pom.xml
index ab8cc30d3b..4f3a0f6154 100644
--- a/spring-cloud-dataflow-classic-docs/pom.xml
+++ b/spring-cloud-dataflow-classic-docs/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-classic-docs
Spring Cloud Data Flow Docs for Classic mode
diff --git a/spring-cloud-dataflow-completion/pom.xml b/spring-cloud-dataflow-completion/pom.xml
index a42f40a5dc..a0ea7005ae 100644
--- a/spring-cloud-dataflow-completion/pom.xml
+++ b/spring-cloud-dataflow-completion/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-completion
diff --git a/spring-cloud-dataflow-composed-task-runner/pom.xml b/spring-cloud-dataflow-composed-task-runner/pom.xml
index 5a108ca76d..663443f453 100644
--- a/spring-cloud-dataflow-composed-task-runner/pom.xml
+++ b/spring-cloud-dataflow-composed-task-runner/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-composed-task-runner
jar
diff --git a/spring-cloud-dataflow-configuration-metadata/pom.xml b/spring-cloud-dataflow-configuration-metadata/pom.xml
index e3a8e6d25d..c183387e64 100644
--- a/spring-cloud-dataflow-configuration-metadata/pom.xml
+++ b/spring-cloud-dataflow-configuration-metadata/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-configuration-metadata
diff --git a/spring-cloud-dataflow-container-registry/pom.xml b/spring-cloud-dataflow-container-registry/pom.xml
index 5b581d03c6..ec50cf2fa7 100644
--- a/spring-cloud-dataflow-container-registry/pom.xml
+++ b/spring-cloud-dataflow-container-registry/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-container-registry
diff --git a/spring-cloud-dataflow-core-dsl/pom.xml b/spring-cloud-dataflow-core-dsl/pom.xml
index 276afe5b83..3cf1a3a4e4 100644
--- a/spring-cloud-dataflow-core-dsl/pom.xml
+++ b/spring-cloud-dataflow-core-dsl/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-core-dsl
jar
diff --git a/spring-cloud-dataflow-core/pom.xml b/spring-cloud-dataflow-core/pom.xml
index 790b511257..c868ad7a03 100644
--- a/spring-cloud-dataflow-core/pom.xml
+++ b/spring-cloud-dataflow-core/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-core
jar
diff --git a/spring-cloud-dataflow-dependencies/pom.xml b/spring-cloud-dataflow-dependencies/pom.xml
index 57a56cf18d..ed6696800d 100644
--- a/spring-cloud-dataflow-dependencies/pom.xml
+++ b/spring-cloud-dataflow-dependencies/pom.xml
@@ -4,11 +4,11 @@
spring-cloud-dataflow-dependencies-parent
org.springframework.cloud
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-dependencies
- 2.10.0-SNAPSHOT
+ 2.10.0
pom
spring-cloud-dataflow-dependencies
Spring Cloud Data Flow Dependencies BOM designed to support consumption of Spring Cloud Data Flow from
@@ -19,108 +19,108 @@
org.springframework.cloud
spring-cloud-dataflow-shell
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-shell-core
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-completion
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-core-dsl
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-core
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-rest-client
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-configuration-metadata
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-rest-resource
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-registry
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-container-registry
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-composed-task-runner
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-server-core
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-server
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-autoconfigure
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-starter-dataflow-server
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-starter-dataflow-ui
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-starter-dataflow-server
- 2.10.0-SNAPSHOT
+ 2.10.0
test-jar
org.springframework.cloud
spring-cloud-dataflow-audit
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-platform-kubernetes
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-platform-cloudfoundry
- 2.10.0-SNAPSHOT
+ 2.10.0
org.springframework.cloud
spring-cloud-dataflow-test
- 2.10.0-SNAPSHOT
+ 2.10.0
diff --git a/spring-cloud-dataflow-docs/pom.xml b/spring-cloud-dataflow-docs/pom.xml
index 05e88ee43c..37080cbd28 100644
--- a/spring-cloud-dataflow-docs/pom.xml
+++ b/spring-cloud-dataflow-docs/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-docs
Spring Cloud Data Flow Docs
diff --git a/spring-cloud-dataflow-platform-cloudfoundry/pom.xml b/spring-cloud-dataflow-platform-cloudfoundry/pom.xml
index 96cb556374..d5b64727f9 100644
--- a/spring-cloud-dataflow-platform-cloudfoundry/pom.xml
+++ b/spring-cloud-dataflow-platform-cloudfoundry/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-platform-cloudfoundry
jar
diff --git a/spring-cloud-dataflow-platform-kubernetes/pom.xml b/spring-cloud-dataflow-platform-kubernetes/pom.xml
index 37c1cdd0a8..f4895731d4 100644
--- a/spring-cloud-dataflow-platform-kubernetes/pom.xml
+++ b/spring-cloud-dataflow-platform-kubernetes/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-platform-kubernetes
jar
diff --git a/spring-cloud-dataflow-registry/pom.xml b/spring-cloud-dataflow-registry/pom.xml
index 1b5297b99f..d3947dd707 100644
--- a/spring-cloud-dataflow-registry/pom.xml
+++ b/spring-cloud-dataflow-registry/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-registry
spring-cloud-dataflow-registry
diff --git a/spring-cloud-dataflow-rest-client/pom.xml b/spring-cloud-dataflow-rest-client/pom.xml
index b800557ec5..e0ac266ea5 100644
--- a/spring-cloud-dataflow-rest-client/pom.xml
+++ b/spring-cloud-dataflow-rest-client/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-rest-client
jar
diff --git a/spring-cloud-dataflow-rest-resource/pom.xml b/spring-cloud-dataflow-rest-resource/pom.xml
index b25f038e08..60769e4c20 100644
--- a/spring-cloud-dataflow-rest-resource/pom.xml
+++ b/spring-cloud-dataflow-rest-resource/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-rest-resource
jar
diff --git a/spring-cloud-dataflow-server-core/pom.xml b/spring-cloud-dataflow-server-core/pom.xml
index b8d040bfba..763c43b821 100644
--- a/spring-cloud-dataflow-server-core/pom.xml
+++ b/spring-cloud-dataflow-server-core/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-server-core
jar
diff --git a/spring-cloud-dataflow-server/pom.xml b/spring-cloud-dataflow-server/pom.xml
index 25e7a47d0a..437420f113 100644
--- a/spring-cloud-dataflow-server/pom.xml
+++ b/spring-cloud-dataflow-server/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-server
jar
diff --git a/spring-cloud-dataflow-shell-core/pom.xml b/spring-cloud-dataflow-shell-core/pom.xml
index b72c4c81e5..5f2da5715c 100644
--- a/spring-cloud-dataflow-shell-core/pom.xml
+++ b/spring-cloud-dataflow-shell-core/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-shell-core
jar
diff --git a/spring-cloud-dataflow-shell/pom.xml b/spring-cloud-dataflow-shell/pom.xml
index 89fcf67d70..ac8b66f203 100644
--- a/spring-cloud-dataflow-shell/pom.xml
+++ b/spring-cloud-dataflow-shell/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-shell
jar
diff --git a/spring-cloud-dataflow-single-step-batch-job/pom.xml b/spring-cloud-dataflow-single-step-batch-job/pom.xml
index 7f493354f9..94660e89d8 100644
--- a/spring-cloud-dataflow-single-step-batch-job/pom.xml
+++ b/spring-cloud-dataflow-single-step-batch-job/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-single-step-batch-job
jar
diff --git a/spring-cloud-dataflow-tasklauncher/pom.xml b/spring-cloud-dataflow-tasklauncher/pom.xml
index 8eb606663d..49b069f12e 100644
--- a/spring-cloud-dataflow-tasklauncher/pom.xml
+++ b/spring-cloud-dataflow-tasklauncher/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-tasklauncher
diff --git a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-function/pom.xml b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-function/pom.xml
index 218577e367..3b38b4a61c 100644
--- a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-function/pom.xml
+++ b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-function/pom.xml
@@ -7,7 +7,7 @@
org.springframework.cloud
spring-cloud-dataflow-tasklauncher
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-tasklauncher-function
diff --git a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-dependencies/pom.xml b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-dependencies/pom.xml
index 24df70ee50..95bc2096b7 100644
--- a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-dependencies/pom.xml
+++ b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-dependencies/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-dataflow-tasklauncher
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-tasklauncher-sink-dependencies
diff --git a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-kafka/pom.xml b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-kafka/pom.xml
index bc3cb77941..150ea6a14f 100644
--- a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-kafka/pom.xml
+++ b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-kafka/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-dataflow-tasklauncher-sink-dependencies
- 2.10.0-SNAPSHOT
+ 2.10.0
../spring-cloud-dataflow-tasklauncher-sink-dependencies
diff --git a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-rabbit/pom.xml b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-rabbit/pom.xml
index 373a3e0207..e91e91ae9b 100644
--- a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-rabbit/pom.xml
+++ b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink-rabbit/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-dataflow-tasklauncher-sink-dependencies
- 2.10.0-SNAPSHOT
+ 2.10.0
../spring-cloud-dataflow-tasklauncher-sink-dependencies
diff --git a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink/pom.xml b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink/pom.xml
index 20139420b7..ac990017e3 100644
--- a/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink/pom.xml
+++ b/spring-cloud-dataflow-tasklauncher/spring-cloud-dataflow-tasklauncher-sink/pom.xml
@@ -7,7 +7,7 @@
org.springframework.cloud
spring-cloud-dataflow-tasklauncher
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-tasklauncher-sink
diff --git a/spring-cloud-dataflow-test/pom.xml b/spring-cloud-dataflow-test/pom.xml
index 8046fb62c2..1a0f3cbce9 100644
--- a/spring-cloud-dataflow-test/pom.xml
+++ b/spring-cloud-dataflow-test/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-dataflow-test
jar
diff --git a/spring-cloud-starter-dataflow-server/pom.xml b/spring-cloud-starter-dataflow-server/pom.xml
index 101e0be58c..17b07b865a 100644
--- a/spring-cloud-starter-dataflow-server/pom.xml
+++ b/spring-cloud-starter-dataflow-server/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-starter-dataflow-server
Data Flow Server Starter
diff --git a/spring-cloud-starter-dataflow-ui/pom.xml b/spring-cloud-starter-dataflow-ui/pom.xml
index c124a61a21..898c4a91a8 100644
--- a/spring-cloud-starter-dataflow-ui/pom.xml
+++ b/spring-cloud-starter-dataflow-ui/pom.xml
@@ -4,7 +4,7 @@
org.springframework.cloud
spring-cloud-dataflow-parent
- 2.10.0-SNAPSHOT
+ 2.10.0
spring-cloud-starter-dataflow-ui
Data Flow UI Starter
diff --git a/src/docker-compose/.env b/src/docker-compose/.env
index 2f4563e7da..9d9b1796e8 100644
--- a/src/docker-compose/.env
+++ b/src/docker-compose/.env
@@ -1,5 +1,5 @@
-DATAFLOW_VERSION=2.10.0-SNAPSHOT
-SKIPPER_VERSION=2.9.0-SNAPSHOT
+DATAFLOW_VERSION=2.10.0
+SKIPPER_VERSION=2.9.0
COMPOSE_PROJECT_NAME=scdf
COMPOSE_HTTP_TIMEOUT=300
diff --git a/src/docker-compose/docker-compose-dood.yml b/src/docker-compose/docker-compose-dood.yml
index 8a9d30ea27..73affe815a 100644
--- a/src/docker-compose/docker-compose-dood.yml
+++ b/src/docker-compose/docker-compose-dood.yml
@@ -40,10 +40,10 @@ services:
- SPRING_CLOUD_DATAFLOW_TASK_PLATFORM_LOCAL_ACCOUNTS_DEFAULT_DOCKER_PORTRANGE_HIGH=61000
# Override the CTR form maven to docker
- - SPRING_CLOUD_DATAFLOW_TASK_COMPOSEDTASKRUNNER_URI=docker://springcloud/spring-cloud-dataflow-composed-task-runner:${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}${BP_JVM_VERSION:-}
+ - SPRING_CLOUD_DATAFLOW_TASK_COMPOSEDTASKRUNNER_URI=docker://springcloud/spring-cloud-dataflow-composed-task-runner:${DATAFLOW_VERSION:-2.10.0}${BP_JVM_VERSION:-}
- SPRING_CLOUD_DATAFLOW_SERVER_URI=${DATAFLOW_URI:-http://dataflow-server:9393}
entrypoint: >
- /bin/sh -c "
+ bin/sh -c "
apt-get update && apt-get install --no-install-recommends -y wget &&
wget --no-check-certificate -P /tmp/ https://get.docker.com/builds/Linux/x86_64/docker-latest.tgz &&
tar -xvf /tmp/docker-latest.tgz --directory /tmp/ &&
@@ -65,7 +65,7 @@ services:
- SPRING_CLOUD_SKIPPER_SERVER_PLATFORM_LOCAL_ACCOUNTS_DEFAULT_DOCKER_PORTRANGE_LOW=20200
- SPRING_CLOUD_SKIPPER_SERVER_PLATFORM_LOCAL_ACCOUNTS_DEFAULT_DOCKER_PORTRANGE_HIGH=61000
entrypoint: >
- /bin/sh -c "
+ bin/sh -c "
apt-get update && apt-get install --no-install-recommends -y wget &&
wget --no-check-certificate -P /tmp/ https://get.docker.com/builds/Linux/x86_64/docker-latest.tgz &&
tar -xvf /tmp/docker-latest.tgz --directory /tmp/ &&
@@ -85,7 +85,7 @@ services:
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps' --no-check-certificate --post-data='uri=${STREAM_APPS_URI:-https://dataflow.spring.io/kafka-docker-latest&force=true}';
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/ver-log/3.0.1' --no-check-certificate --post-data='uri=docker:springcloudstream/log-sink-kafka:3.0.1';
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/ver-log/2.1.5.RELEASE' --no-check-certificate --post-data='uri=docker:springcloudstream/log-sink-kafka:2.1.5.RELEASE';
- wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/dataflow-tasklauncher/${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}' --no-check-certificate --post-data='uri=docker:springcloud/spring-cloud-dataflow-tasklauncher-sink-kafka:${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}${BP_JVM_VERSION:-}';
+ wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/dataflow-tasklauncher/${DATAFLOW_VERSION:-2.10.0}' --no-check-certificate --post-data='uri=docker:springcloud/spring-cloud-dataflow-tasklauncher-sink-kafka:${DATAFLOW_VERSION:-2.10.0}${BP_JVM_VERSION:-}';
echo 'Docker Stream apps imported'"
app-import-task:
diff --git a/src/docker-compose/docker-compose-influxdb.yml b/src/docker-compose/docker-compose-influxdb.yml
index f06b3fe9d8..7c134f3b77 100644
--- a/src/docker-compose/docker-compose-influxdb.yml
+++ b/src/docker-compose/docker-compose-influxdb.yml
@@ -25,7 +25,7 @@ services:
- '8086:8086'
grafana:
- image: springcloud/spring-cloud-dataflow-grafana-influxdb:${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}
+ image: springcloud/spring-cloud-dataflow-grafana-influxdb:${DATAFLOW_VERSION:-2.10.0}
container_name: grafana
ports:
- '3000:3000'
diff --git a/src/docker-compose/docker-compose-postgres.yml b/src/docker-compose/docker-compose-postgres.yml
index ddfedaca0d..ff8bd1cbbc 100644
--- a/src/docker-compose/docker-compose-postgres.yml
+++ b/src/docker-compose/docker-compose-postgres.yml
@@ -4,15 +4,15 @@ version: '3'
# Usage: docker-compose -f ./docker-compose.yml -f ./docker-compose-postgres.yml up
services:
+ mariadb:
+ entrypoint: ["echo", "MariaDB service is disabled"]
+
postgres:
image: postgres:10
command: postgres -c 'max_connections=300'
container_name: dataflow-postgres
restart: always
environment:
- LANG: en_US.utf8
- LC_ALL: en_US.utf8
- JDK_JAVA_OPTIONS: '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
POSTGRES_DB: dataflow
POSTGRES_USER: root
POSTGRES_PASSWORD: rootpw
@@ -27,13 +27,11 @@ services:
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=rootpw
- SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver
- depends_on:
- - postgres
+
skipper-server:
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/dataflow
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=rootpw
- SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver
- depends_on:
- - postgres
+
diff --git a/src/docker-compose/docker-compose-prometheus.yml b/src/docker-compose/docker-compose-prometheus.yml
index 826093923a..b99f75af6f 100644
--- a/src/docker-compose/docker-compose-prometheus.yml
+++ b/src/docker-compose/docker-compose-prometheus.yml
@@ -38,13 +38,13 @@ services:
- micrometer.prometheus-proxy.tcp-port=7001
grafana:
- image: springcloud/spring-cloud-dataflow-grafana-prometheus:${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}
+ image: springcloud/spring-cloud-dataflow-grafana-prometheus:${DATAFLOW_VERSION:-2.10.0}
container_name: grafana
ports:
- '3000:3000'
prometheus:
- image: springcloud/spring-cloud-dataflow-prometheus-local:${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}
+ image: springcloud/spring-cloud-dataflow-prometheus-local:${DATAFLOW_VERSION:-2.10.0}
container_name: prometheus
ports:
- '9090:9090'
diff --git a/src/docker-compose/docker-compose-rabbitmq.yml b/src/docker-compose/docker-compose-rabbitmq.yml
index aa9077f691..c75f22a9f1 100644
--- a/src/docker-compose/docker-compose-rabbitmq.yml
+++ b/src/docker-compose/docker-compose-rabbitmq.yml
@@ -4,21 +4,21 @@ version: '3'
# Usage: docker-compose -f ./docker-compose.yml -f ./docker-compose-rabbitmq.yml up
services:
+ kafka-broker:
+ entrypoint: ["echo", "kafka-broker service is disabled"]
+
+ zookeeper:
+ entrypoint: ["echo", "zookeeper service is disabled"]
+
rabbitmq:
image: rabbitmq:3.7
container_name: dataflow-rabbitmq
- environment:
- LANG: en_US.utf8
- LC_ALL: en_US.utf8
- JDK_JAVA_OPTIONS: '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
expose:
- '5672'
dataflow-server:
environment:
- SPRING_CLOUD_DATAFLOW_APPLICATIONPROPERTIES_STREAM_SPRING_RABBITMQ_HOST=rabbitmq
- depends_on:
- - rabbitmq
app-import-stream:
command: >
@@ -27,6 +27,6 @@ services:
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps' --no-check-certificate --post-data='uri=${STREAM_APPS_URI:-https://dataflow.spring.io/rabbitmq-maven-latest&force=true}';
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/ver-log/3.0.1' --no-check-certificate --post-data='uri=maven://org.springframework.cloud.stream.app:log-sink-rabbit:3.0.1';
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/ver-log/2.1.5.RELEASE' --no-check-certificate --post-data='uri=maven://org.springframework.cloud.stream.app:log-sink-rabbit:2.1.5.RELEASE';
- wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/dataflow-tasklauncher/${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}' --no-check-certificate --post-data='uri=maven://org.springframework.cloud:spring-cloud-dataflow-tasklauncher-sink-rabbit:${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}';
+ wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/dataflow-tasklauncher/${DATAFLOW_VERSION:-2.10.0}' --no-check-certificate --post-data='uri=maven://org.springframework.cloud:spring-cloud-dataflow-tasklauncher-sink-rabbit:${DATAFLOW_VERSION:-2.10.0}';
echo 'Stream apps imported'"
diff --git a/src/docker-compose/docker-compose.yml b/src/docker-compose/docker-compose.yml
index ed8d56e1e4..fdc5c5ecda 100644
--- a/src/docker-compose/docker-compose.yml
+++ b/src/docker-compose/docker-compose.yml
@@ -20,16 +20,45 @@ version: '3'
# The deployed stream applications that run in their own docker containers (e.g. docker:// registered apps),
# can be reached on the ports they expose.
services:
+ mariadb:
+ image: mariadb:10.4.22
+ container_name: dataflow-mariadb
+ environment:
+ MARIADB_DATABASE: dataflow
+ MARIADB_ROOT_PASSWORD: rootpw
+ expose:
+ - 3306
+
+ kafka-broker:
+ image: confluentinc/cp-kafka:5.5.2
+ container_name: dataflow-kafka
+ expose:
+ - "9092"
+ environment:
+ - KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka-broker:9092
+ - KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
+ - KAFKA_ADVERTISED_HOST_NAME=kafka-broker
+ - KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
+ - KAFKA_LOG4J_ROOT_LOGLEVEL=ERROR
+ - KAFKA_LOG4J_LOGGERS=org.apache.zookeeper=ERROR,org.apache.kafka=ERROR,kafka=ERROR,kafka.cluster=ERROR,kafka.controller=ERROR,kafka.coordinator=ERROR,kafka.log=ERROR,kafka.server=ERROR,kafka.zookeeper=ERROR,state.change.logger=ERROR
+ depends_on:
+ - zookeeper
+
+ zookeeper:
+ image: confluentinc/cp-zookeeper:5.5.2
+ container_name: dataflow-kafka-zookeeper
+ expose:
+ - "2181"
+ environment:
+ - ZOOKEEPER_CLIENT_PORT=2181
+
dataflow-server:
user: root
- image: springcloud/spring-cloud-dataflow-server:${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}${BP_JVM_VERSION:-}
+ image: springcloud/spring-cloud-dataflow-server:${DATAFLOW_VERSION:-2.10.0}${BP_JVM_VERSION:-}
container_name: dataflow-server
ports:
- "9393:9393"
environment:
- - LANG=en_US.utf8
- - LC_ALL=en_US.utf8
- - JDK_JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
- SPRING_CLOUD_DATAFLOW_APPLICATIONPROPERTIES_STREAM_SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS=PLAINTEXT://kafka-broker:9092
- SPRING_CLOUD_DATAFLOW_APPLICATIONPROPERTIES_STREAM_SPRING_CLOUD_STREAM_KAFKA_STREAMS_BINDER_BROKERS=PLAINTEXT://kafka-broker:9092
- SPRING_CLOUD_DATAFLOW_APPLICATIONPROPERTIES_STREAM_SPRING_CLOUD_STREAM_KAFKA_BINDER_ZKNODES=zookeeper:2181
@@ -41,6 +70,10 @@ services:
- SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI=${SKIPPER_URI:-http://skipper-server:7577}/api
+ - SPRING_DATASOURCE_URL=jdbc:mariadb://mariadb:3306/dataflow
+ - SPRING_DATASOURCE_USERNAME=root
+ - SPRING_DATASOURCE_PASSWORD=rootpw
+ - SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.mariadb.jdbc.Driver
# (Optionally) authenticate the default Docker Hub access for the App Metadata access.
- SPRING_CLOUD_DATAFLOW_CONTAINER_REGISTRY_CONFIGURATIONS_DEFAULT_USER=${METADATA_DEFAULT_DOCKERHUB_USER}
- SPRING_CLOUD_DATAFLOW_CONTAINER_REGISTRY_CONFIGURATIONS_DEFAULT_SECRET=${METADATA_DEFAULT_DOCKERHUB_PASSWORD}
@@ -48,7 +81,14 @@ services:
- SPRING_CLOUD_DATAFLOW_CONTAINER_REGISTRYCONFIGURATIONS_DEFAULT_USER=${METADATA_DEFAULT_DOCKERHUB_USER}
- SPRING_CLOUD_DATAFLOW_CONTAINER_REGISTRYCONFIGURATIONS_DEFAULT_SECRET=${METADATA_DEFAULT_DOCKERHUB_PASSWORD}
depends_on:
+ - kafka-broker
- skipper-server
+ entrypoint: >
+ /bin/sh -c "
+ apt-get update && apt-get install --no-install-recommends -y wget &&
+ wget --no-check-certificate -P /tmp/ https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh &&
+ chmod a+x /tmp/wait-for-it.sh &&
+ /tmp/wait-for-it.sh mariadb:3306 -- /cnb/process/web"
restart: always
volumes:
- ${HOST_MOUNT_PATH:-.}:${DOCKER_MOUNT_PATH:-/home/cnb/scdf}
@@ -64,7 +104,7 @@ services:
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps' --no-check-certificate --post-data='uri=${STREAM_APPS_URI:-https://dataflow.spring.io/kafka-maven-latest&force=true}';
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/ver-log/3.0.1' --no-check-certificate --post-data='uri=maven://org.springframework.cloud.stream.app:log-sink-kafka:3.0.1';
wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/ver-log/2.1.5.RELEASE' --no-check-certificate --post-data='uri=maven://org.springframework.cloud.stream.app:log-sink-kafka:2.1.5.RELEASE';
- wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/dataflow-tasklauncher/${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}' --no-check-certificate --post-data='uri=maven://org.springframework.cloud:spring-cloud-dataflow-tasklauncher-sink-kafka:${DATAFLOW_VERSION:-2.10.0-SNAPSHOT}';
+ wget -qO- '${DATAFLOW_URI:-http://dataflow-server:9393}/apps/sink/dataflow-tasklauncher/${DATAFLOW_VERSION:-2.10.0}' --no-check-certificate --post-data='uri=maven://org.springframework.cloud:spring-cloud-dataflow-tasklauncher-sink-kafka:${DATAFLOW_VERSION:-2.10.0}';
echo 'Maven Stream apps imported'"
app-import-task:
@@ -80,18 +120,25 @@ services:
skipper-server:
user: root
- image: springcloud/spring-cloud-skipper-server:${SKIPPER_VERSION:-2.9.0-SNAPSHOT}${BP_JVM_VERSION:-}
+ image: springcloud/spring-cloud-skipper-server:${SKIPPER_VERSION:-2.9.0}${BP_JVM_VERSION:-}
container_name: skipper
ports:
- "7577:7577"
- ${APPS_PORT_RANGE:-20000-20195:20000-20195}
environment:
- - LANG=en_US.utf8
- - LC_ALL=en_US.utf8
- - JDK_JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
- SPRING_CLOUD_SKIPPER_SERVER_PLATFORM_LOCAL_ACCOUNTS_DEFAULT_PORTRANGE_LOW=20000
- SPRING_CLOUD_SKIPPER_SERVER_PLATFORM_LOCAL_ACCOUNTS_DEFAULT_PORTRANGE_HIGH=20190
+ - SPRING_DATASOURCE_URL=jdbc:mariadb://mariadb:3306/dataflow
+ - SPRING_DATASOURCE_USERNAME=root
+ - SPRING_DATASOURCE_PASSWORD=rootpw
+ - SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.mariadb.jdbc.Driver
- LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_CLOUD_SKIPPER_SERVER_DEPLOYER=ERROR
+ entrypoint: >
+ /bin/sh -c "
+ apt-get update && apt-get install --no-install-recommends -y wget &&
+ wget --no-check-certificate -P /tmp/ https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh &&
+ chmod a+x /tmp/wait-for-it.sh &&
+ /tmp/wait-for-it.sh mariadb:3306 -- /cnb/process/web"
restart: always
volumes:
- - ${HOST_MOUNT_PATH:-.}:${DOCKER_MOUNT_PATH:-/home/cnb/scdf}
\ No newline at end of file
+ - ${HOST_MOUNT_PATH:-.}:${DOCKER_MOUNT_PATH:-/home/cnb/scdf}
diff --git a/src/kubernetes/grafana/grafana-deployment.yaml b/src/kubernetes/grafana/grafana-deployment.yaml
index 81de9bd915..4e8e8f3d83 100644
--- a/src/kubernetes/grafana/grafana-deployment.yaml
+++ b/src/kubernetes/grafana/grafana-deployment.yaml
@@ -14,7 +14,7 @@ spec:
app: grafana
spec:
containers:
- - image: springcloud/spring-cloud-dataflow-grafana-prometheus:2.10.0-SNAPSHOT
+ - image: springcloud/spring-cloud-dataflow-grafana-prometheus:2.10.0
name: grafana
env:
- name: GF_SECURITY_ADMIN_USER
diff --git a/src/kubernetes/mariadb/mariadb-deployment.yaml b/src/kubernetes/mariadb/mariadb-deployment.yaml
index 5bc32ae982..ad165ddd00 100644
--- a/src/kubernetes/mariadb/mariadb-deployment.yaml
+++ b/src/kubernetes/mariadb/mariadb-deployment.yaml
@@ -18,6 +18,10 @@ spec:
- image: mariadb:10.4.22
name: mariadb
env:
+ - name: LANG
+ value: en_US.utf8
+ - name: LC_ALL
+ value: en_US.utf8
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
diff --git a/src/kubernetes/rabbitmq/rabbitmq-deployment.yaml b/src/kubernetes/rabbitmq/rabbitmq-deployment.yaml
index 86e23e28b0..f2f3c7ae8d 100644
--- a/src/kubernetes/rabbitmq/rabbitmq-deployment.yaml
+++ b/src/kubernetes/rabbitmq/rabbitmq-deployment.yaml
@@ -22,7 +22,5 @@ spec:
value: en_US.utf8
- name: LC_ALL
value: en_US.utf8
- - name: JDK_JAVA_OPTIONS
- value: '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
ports:
- containerPort: 5672
diff --git a/src/kubernetes/server/server-config.yaml b/src/kubernetes/server/server-config.yaml
index d2b0b75be6..da9c9b7d38 100644
--- a/src/kubernetes/server/server-config.yaml
+++ b/src/kubernetes/server/server-config.yaml
@@ -23,10 +23,8 @@ data:
task:
platform:
kubernetes:
- accounts:
+ accounts:
default:
- fabric8:
-
limits:
memory: 1024Mi
datasource:
@@ -36,4 +34,4 @@ data:
driverClassName: org.mariadb.jdbc.Driver
testOnBorrow: true
validationQuery: "SELECT 1"
-
+
diff --git a/src/kubernetes/server/server-deployment.yaml b/src/kubernetes/server/server-deployment.yaml
index 1f2ea0a8ec..b6f6197200 100644
--- a/src/kubernetes/server/server-deployment.yaml
+++ b/src/kubernetes/server/server-deployment.yaml
@@ -16,8 +16,8 @@ spec:
spec:
containers:
- name: scdf-server
- image: springcloud/spring-cloud-dataflow-server:2.10.0-SNAPSHOT
- imagePullPolicy: Always
+ image: springcloud/spring-cloud-dataflow-server:2.10.0
+ imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
mountPath: /workspace/config
@@ -26,63 +26,59 @@ spec:
mountPath: /etc/secrets/database
readOnly: true
ports:
- - containerPort: 9393
+ - containerPort: 8080
livenessProbe:
httpGet:
path: /management/health
- port: 9393
+ port: 8080
initialDelaySeconds: 45
readinessProbe:
httpGet:
path: /management/info
- port: 9393
+ port: 8080
initialDelaySeconds: 45
- startupProbe:
- tcpSocket:
- port: 9393
- initialDelaySeconds: 15
- periodSeconds: 3
- failureThreshold: 120
- timeoutSeconds: 3
resources:
- requests:
+ limits:
cpu: 1.0
memory: 2048Mi
+ requests:
+ cpu: 0.5
+ memory: 1024Mi
env:
- - name: LANG
- value: 'en_US.utf8'
- - name: LC_ALL
- value: 'en_US.utf8'
- - name: JDK_JAVA_OPTIONS
- value: '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
- - name: KUBERNETES_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: "metadata.namespace"
- - name: SERVER_PORT
- value: '9393'
- - name: SPRING_CLOUD_CONFIG_ENABLED
- value: 'false'
- - name: SPRING_CLOUD_DATAFLOW_FEATURES_ANALYTICS_ENABLED
- value: 'true'
- - name: SPRING_CLOUD_DATAFLOW_FEATURES_SCHEDULES_ENABLED
- value: 'true'
- - name: SPRING_CLOUD_DATAFLOW_TASK_COMPOSEDTASKRUNNER_URI
- value: 'docker://springcloud/spring-cloud-dataflow-composed-task-runner:2.10.0-SNAPSHOT'
- - name: SPRING_CLOUD_KUBERNETES_CONFIG_ENABLE_API
- value: 'false'
- - name: SPRING_CLOUD_KUBERNETES_SECRETS_ENABLE_API
- value: 'false'
- - name: SPRING_CLOUD_KUBERNETES_SECRETS_PATHS
- value: /etc/secrets
- - name: SPRING_CLOUD_DATAFLOW_SERVER_URI
- value: 'http://${SCDF_SERVER_SERVICE_HOST}:${SCDF_SERVER_SERVICE_PORT}'
- # Provide the Skipper service location
- - name: SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI
- value: 'http://${SKIPPER_SERVICE_HOST}:${SKIPPER_SERVICE_PORT}/api'
- # Add Maven repo for metadata artifact resolution for all stream apps
- - name: SPRING_APPLICATION_JSON
- value: "{ \"maven\": { \"local-repository\": null, \"remote-repositories\": { \"repo1\": { \"url\": \"https://repo.spring.io/libs-snapshot\"} } } }"
+ - name: LANG
+ value: en_US.utf8
+ - name: LC_ALL
+ value: en_US.utf8
+ - name: JDK_JAVA_OPTIONS
+ value: '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
+ - name: KUBERNETES_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: "metadata.namespace"
+ - name: SERVER_PORT
+ value: '8080'
+ - name: SPRING_CLOUD_CONFIG_ENABLED
+ value: 'false'
+ - name: SPRING_CLOUD_DATAFLOW_FEATURES_ANALYTICS_ENABLED
+ value: 'true'
+ - name: SPRING_CLOUD_DATAFLOW_FEATURES_SCHEDULES_ENABLED
+ value: 'true'
+ - name: SPRING_CLOUD_DATAFLOW_TASK_COMPOSEDTASKRUNNER_URI
+ value: 'docker://springcloud/spring-cloud-dataflow-composed-task-runner:2.10.0'
+ - name: SPRING_CLOUD_KUBERNETES_CONFIG_ENABLE_API
+ value: 'false'
+ - name: SPRING_CLOUD_KUBERNETES_SECRETS_ENABLE_API
+ value: 'false'
+ - name: SPRING_CLOUD_KUBERNETES_SECRETS_PATHS
+ value: /etc/secrets
+ - name: SPRING_CLOUD_DATAFLOW_SERVER_URI
+ value: 'http://${SCDF_SERVER_SERVICE_HOST}:${SCDF_SERVER_SERVICE_PORT}'
+ # Provide the Skipper service location
+ - name: SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI
+ value: 'http://${SKIPPER_SERVICE_HOST}:${SKIPPER_SERVICE_PORT}/api'
+ # Add Maven repo for metadata artifact resolution for all stream apps
+ - name: SPRING_APPLICATION_JSON
+ value: "{ \"maven\": { \"local-repository\": null, \"remote-repositories\": { \"repo1\": { \"url\": \"https://repo.spring.io/libs-snapshot\"} } } }"
initContainers:
- name: init-mariadb-wait
image: busybox:1
diff --git a/src/kubernetes/server/server-svc.yaml b/src/kubernetes/server/server-svc.yaml
index eba7dca312..41745d8f64 100644
--- a/src/kubernetes/server/server-svc.yaml
+++ b/src/kubernetes/server/server-svc.yaml
@@ -10,7 +10,7 @@ spec:
type: LoadBalancer
ports:
- port: 80
- targetPort: 9393
+ targetPort: 8080
name: scdf-server
selector:
app: scdf-server
diff --git a/src/kubernetes/skipper/skipper-config-kafka.yaml b/src/kubernetes/skipper/skipper-config-kafka.yaml
index 99da9cb743..9deca77b2d 100644
--- a/src/kubernetes/skipper/skipper-config-kafka.yaml
+++ b/src/kubernetes/skipper/skipper-config-kafka.yaml
@@ -16,15 +16,9 @@ data:
default:
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}'
limits:
- memory: 2g
- cpu: 2.0
- readinessProbeDelay: 1
- readinessProbeTimeout: 5
- livenessProbeDelay: 1
- livenessProbeTimeout: 2
- startupProbeDelay: 20
- startupProbeTimeout: 5
- startupProbeFailure: 50
+ memory: 1024Mi
+ cpu: 500m
+ startupProbeFailures: 30
datasource:
url: jdbc:mariadb://${MARIADB_SERVICE_HOST}:${MARIADB_SERVICE_PORT}/skipper
username: root
diff --git a/src/kubernetes/skipper/skipper-config-rabbit.yaml b/src/kubernetes/skipper/skipper-config-rabbit.yaml
index 3a5cb80be9..86b8728344 100644
--- a/src/kubernetes/skipper/skipper-config-rabbit.yaml
+++ b/src/kubernetes/skipper/skipper-config-rabbit.yaml
@@ -16,15 +16,10 @@ data:
default:
environmentVariables: 'SPRING_RABBITMQ_HOST=${RABBITMQ_SERVICE_HOST},SPRING_RABBITMQ_PORT=${RABBITMQ_SERVICE_PORT}'
limits:
- memory: 2g
- cpu: 2.0
- readinessProbeDelay: 1
- readinessProbeTimeout: 5
- livenessProbeDelay: 1
- livenessProbeTimeout: 2
- startupProbeDelay: 20
- startupProbeTimeout: 5
- startupProbeFailure: 50
+ memory: 1024Mi
+ cpu: 500m
+ readinessProbeDelay: 120
+ livenessProbeDelay: 90
datasource:
url: jdbc:mariadb://${MARIADB_SERVICE_HOST}:${MARIADB_SERVICE_PORT}/skipper
username: root
diff --git a/src/kubernetes/skipper/skipper-deployment.yaml b/src/kubernetes/skipper/skipper-deployment.yaml
index c7b2bb3e68..b00510ffe1 100644
--- a/src/kubernetes/skipper/skipper-deployment.yaml
+++ b/src/kubernetes/skipper/skipper-deployment.yaml
@@ -16,8 +16,8 @@ spec:
spec:
containers:
- name: skipper
- image: springcloud/spring-cloud-skipper-server:2.9.0-SNAPSHOT
- imagePullPolicy: Always
+ image: springcloud/spring-cloud-skipper-server:2.9.0
+ imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
mountPath: /workspace/config
@@ -44,31 +44,32 @@ spec:
startupProbe:
tcpSocket:
port: 7577
- initialDelaySeconds: 15
+ initialDelaySeconds: 30
periodSeconds: 3
- failureThreshold: 120
+ failureThreshold: 20
timeoutSeconds: 3
resources:
- requests:
+ limits:
cpu: 1.0
memory: 1024Mi
+ requests:
+ cpu: 0.5
+ memory: 640Mi
env:
- - name: LANG
- value: 'en_US.utf8'
- - name: LC_ALL
- value: 'en_US.utf8'
- - name: JDK_JAVA_OPTIONS
- value: '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
- - name: SERVER_PORT
- value: '7577'
- - name: SPRING_CLOUD_CONFIG_ENABLED
- value: 'false'
- - name: SPRING_CLOUD_KUBERNETES_CONFIG_ENABLE_API
- value: 'false'
- - name: SPRING_CLOUD_KUBERNETES_SECRETS_ENABLE_API
- value: 'false'
- - name: SPRING_CLOUD_KUBERNETES_SECRETS_PATHS
- value: /etc/secrets
+ - name: LANG
+ value: en_US.utf8
+ - name: LC_ALL
+ value: en_US.utf8
+ - name: JDK_JAVA_OPTIONS
+ value: '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
+ - name: SPRING_CLOUD_CONFIG_ENABLED
+ value: 'false'
+ - name: SPRING_CLOUD_KUBERNETES_CONFIG_ENABLE_API
+ value: 'false'
+ - name: SPRING_CLOUD_KUBERNETES_SECRETS_ENABLE_API
+ value: 'false'
+ - name: SPRING_CLOUD_KUBERNETES_SECRETS_PATHS
+ value: /etc/secrets
initContainers:
- name: init-mariadb-wait
image: busybox:1