├── .gitignore ├── .mvn ├── jvm.config ├── maven.config └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── .settings.xml ├── .travis.yml ├── LICENSE ├── NOTICE ├── README.adoc ├── mvnw ├── mvnw.cmd ├── pom.xml ├── spring-cloud-dataflow-server-kubernetes-autoconfig ├── pom.xml └── src │ └── main │ ├── java │ └── org │ │ └── springframework │ │ └── cloud │ │ └── dataflow │ │ └── server │ │ └── kubernetes │ │ └── config │ │ ├── KubernetesDataFlowServerAutoConfiguration.java │ │ └── KubernetesSchedulerConfiguration.java │ └── resources │ └── META-INF │ └── spring.factories ├── spring-cloud-dataflow-server-kubernetes-docs ├── pom.xml └── src │ └── main │ ├── asciidoc │ ├── .gitignore │ ├── Guardfile │ ├── api-guide-link.adoc │ ├── appendix.adoc │ ├── configuration.adoc │ ├── docinfo.html │ ├── getting-started.adoc │ ├── howto.adoc │ ├── images │ │ └── placeholder.txt │ ├── index-docinfo.xml │ └── index.adoc │ ├── docbook │ ├── css │ │ ├── highlight.css │ │ ├── manual-multipage.css │ │ ├── manual-singlepage.css │ │ └── manual.css │ ├── images │ │ ├── background.png │ │ ├── callouts │ │ │ ├── 1.png │ │ │ ├── 10.png │ │ │ ├── 11.png │ │ │ ├── 12.png │ │ │ ├── 13.png │ │ │ ├── 14.png │ │ │ ├── 15.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ ├── 8.png │ │ │ └── 9.png │ │ ├── caution.png │ │ ├── cover.png │ │ ├── important.png │ │ ├── logo.png │ │ ├── logo.svg │ │ ├── note.png │ │ ├── tip.png │ │ └── warning.png │ └── xsl │ │ ├── common.xsl │ │ ├── epub.xsl │ │ ├── html-multipage.xsl │ │ ├── html-singlepage.xsl │ │ ├── html.xsl │ │ ├── pdf.xsl │ │ ├── xslthl-config.xml │ │ └── xslthl │ │ ├── asciidoc-hl.xml │ │ ├── bourne-hl.xml │ │ ├── c-hl.xml │ │ ├── cpp-hl.xml │ │ ├── csharp-hl.xml │ │ ├── css-hl.xml │ │ ├── html-hl.xml │ │ ├── ini-hl.xml │ │ ├── java-hl.xml │ │ ├── javascript-hl.xml │ │ ├── json-hl.xml │ │ ├── perl-hl.xml │ │ ├── php-hl.xml │ │ ├── properties-hl.xml │ │ ├── python-hl.xml │ │ ├── ruby-hl.xml │ │ ├── sql2003-hl.xml │ │ └── yaml-hl.xml │ └── javadoc │ └── spring-javadoc.css ├── spring-cloud-dataflow-server-kubernetes ├── .jdk8 ├── pom.xml └── src │ ├── main │ ├── docker │ │ └── assembly.xml │ ├── java │ │ └── org │ │ │ └── springframework │ │ │ └── cloud │ │ │ └── dataflow │ │ │ └── server │ │ │ └── kubernetes │ │ │ └── KubernetesDataFlowServer.java │ └── resources │ │ └── dataflow-server.yml │ └── test │ └── java │ └── org │ └── springframework │ └── cloud │ └── dataflow │ └── server │ └── kubernetes │ └── ContextLoadsTests.java └── src ├── checkstyle ├── checkstyle-header.txt └── checkstyle.xml ├── eclipse ├── eclipse-code-formatter.xml └── eclipse.importorder └── kubernetes ├── kafka ├── kafka-deployment.yaml ├── kafka-svc.yaml ├── kafka-zk-deployment.yaml └── kafka-zk-svc.yaml ├── metrics ├── metrics-deployment-kafka.yaml ├── metrics-deployment-rabbit.yaml └── metrics-svc.yaml ├── mysql ├── mysql-deployment.yaml ├── mysql-pvc.yaml ├── mysql-secrets.yaml └── mysql-svc.yaml ├── rabbitmq ├── rabbitmq-deployment.yaml └── rabbitmq-svc.yaml ├── redis ├── redis-deployment.yaml └── redis-svc.yaml ├── server ├── server-config-kafka.yaml ├── server-config-rabbit.yaml ├── server-deployment-debug.yaml ├── server-deployment.yaml ├── server-rolebinding.yaml ├── server-roles.yaml ├── server-svc-debug.yaml ├── server-svc.yaml └── service-account.yaml └── skipper ├── skipper-deployment.yaml └── skipper-svc.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .#* 3 | *# 4 | *.sw* 5 | _site/ 6 | .factorypath 7 | .gradletasknamecache 8 | .DS_Store 9 | /application.yml 10 | /application.properties 11 | asciidoctor.css 12 | atlassian-ide-plugin.xml 13 | bin/ 14 | build/ 15 | dump.rdb 16 | out 17 | spring-shell.log 18 | target/ 19 | test-output 20 | 21 | # Eclipse artifacts, including WTP generated manifests 22 | .classpath 23 | .project 24 | .settings/ 25 | .springBeans 26 | spring-*/src/main/java/META-INF/MANIFEST.MF 27 | 28 | # IDEA artifacts and output dirs 29 | *.iml 30 | *.ipr 31 | *.iws 32 | .idea/* 33 | -------------------------------------------------------------------------------- /.mvn/jvm.config: -------------------------------------------------------------------------------- 1 | -Xmx1024m -XX:CICompilerCount=1 -XX:TieredStopAtLevel=1 -Djava.security.egd=file:/dev/./urandom -------------------------------------------------------------------------------- /.mvn/maven.config: -------------------------------------------------------------------------------- 1 | -DaltSnapshotDeploymentRepository=repo.spring.io::default::https://repo.spring.io/libs-snapshot-local -P spring 2 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip 2 | -------------------------------------------------------------------------------- /.settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | repo.spring.io 6 | ${env.CI_DEPLOY_USERNAME} 7 | ${env.CI_DEPLOY_PASSWORD} 8 | 9 | 10 | 11 | 12 | 18 | spring 19 | true 20 | 21 | 22 | spring-snapshots 23 | Spring Snapshots 24 | https://repo.spring.io/libs-snapshot-local 25 | 26 | true 27 | 28 | 29 | 30 | spring-milestones 31 | Spring Milestones 32 | https://repo.spring.io/libs-milestone-local 33 | 34 | false 35 | 36 | 37 | 38 | spring-releases 39 | Spring Releases 40 | https://repo.spring.io/release 41 | 42 | false 43 | 44 | 45 | 46 | 47 | 48 | spring-snapshots 49 | Spring Snapshots 50 | https://repo.spring.io/libs-snapshot-local 51 | 52 | true 53 | 54 | 55 | 56 | spring-milestones 57 | Spring Milestones 58 | https://repo.spring.io/libs-milestone-local 59 | 60 | false 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | cache: 3 | directories: 4 | - $HOME/.m2 5 | language: java 6 | jdk: 7 | - oraclejdk8 8 | services: 9 | - redis-server 10 | install: true 11 | script: 12 | - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw package -Pfull -U -Dmaven.test.redirectTestOutputToFile=false' 13 | - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || ./mvnw package -DskipTests -U -Dmaven.test.redirectTestOutputToFile=false' 14 | 15 | 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | https://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | https://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | spring-cloud-dataflow-server-kubernetes 2 | 3 | Copyright (c) 2016-Present Pivotal Software, Inc. All Rights Reserved. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | https://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. -------------------------------------------------------------------------------- /README.adoc: -------------------------------------------------------------------------------- 1 | # spring-cloud-dataflow-server-kubernetes is no longer actively maintained by VMware, Inc. 2 | 3 | == Spring Cloud Data Flow - Kubernetes image:https://build.spring.io/plugins/servlet/wittified/build-status/SCD-K8S19B15X[Build Status, link=https://build.spring.io/browse/SCD-K8S19B15X] image:https://badge.waffle.io/spring-cloud/spring-cloud-dataflow-server-kubernetes.svg?label=ready&title=Ready[Stories in Ready, link=https://waffle.io/spring-cloud/spring-cloud-dataflow-server-kubernetes] image:https://badge.waffle.io/spring-cloud/spring-cloud-dataflow-server-kubernetes.svg?label=In%20Progress&title=In%20Progress[Stories in Progress, link=https://waffle.io/spring-cloud/spring-cloud-dataflow-server-kubernetes] 4 | 5 | This project provides support for deploying https://github.com/spring-cloud/spring-cloud-dataflow[Spring Cloud Data Flow]'s streaming and task/batch data pipelines to Kubernetes. This project builds upon an implementation of Spring Cloud Data Flow’s https://github.com/spring-cloud/spring-cloud-deployer[Deployer SPI] for Kubernetes. 6 | 7 | Please refer to the https://docs.spring.io/spring-cloud-dataflow-server-kubernetes/docs/current-SNAPSHOT/reference/htmlsingle/#_deploying_streams_on_kubernetes[reference documentation] on how to get started. 8 | 9 | === NOTE: Spring Cloud Data Flow v2.0 10 | 11 | Beginning with Spring Cloud Data Flow v2.0.0, we have consolidated the Local, Cloud Foundry, and Kubernetes servers into a single server. Instead of building, maintaining, and shipping individual server-implementations, we have consolidated them into a single server, and all the supported https://github.com/spring-cloud/spring-cloud-dataflow#components[platform-specific deployer implementation] libraries are bundled in it. 12 | 13 | That would mean, as a user, you don't need to pick different JARs or Docker-images depending on what platform you want to run. 14 | 15 | The other notable benefit to this approach is the ability to configure the single-server with multiple platform backends. The same server can be configured against Local, "n" number of Cloud Foundry `org/space` combinations, and as well against "n" number of Kubernetes clusters and the associated `namespace`. At the time of stream-deployment or task-launches, you would be able to pick-and-choose the platform where you want to orchestrate the deployment. It would further simplify and promote CI/CD practices for data pipelines. 16 | 17 | The https://docs.spring.io/spring-cloud-dataflow/docs/2.0.0.BUILD-SNAPSHOT/reference/htmlsingle/#getting-started[getting-started] steps for each platform remains mostly the same. One significant change is how Tasks are configured, as we are opening up the capability for Tasks to be launched across different platforms as well. 18 | 19 | In summary, please DO NOT use the `master` branch of this repository; switch over to https://github.com/spring-cloud/spring-cloud-dataflow[Spring Cloud Data Flow] v2.0 instead. We intend to continue to support the Spring Cloud Data Flow's v1.x branch of Kubernetes-server for a period of at least a year from the general availability of v2.0 GA release. 20 | 21 | === Helm Chart 22 | 23 | A https://hub.kubeapps.com/charts/incubator/spring-cloud-data-flow[Helm Chart] is available for deploying 24 | the Spring Cloud Data Flow server and its required services to a Kubernetes Cluster. Checkout the https://docs.spring.io/spring-cloud-dataflow-server-kubernetes/docs/current/reference/htmlsingle/#_helm_installation[getting-started] guide for more details. 25 | 26 | === Contributing 27 | 28 | We love contributions. Follow this https://github.com/spring-cloud/spring-cloud-dataflow/blob/master/spring-cloud-dataflow-docs/src/main/asciidoc/appendix-contributing.adoc[link] for more information on how to contribute. 29 | 30 | === Building 31 | 32 | Clone the repo and type 33 | 34 | ---- 35 | $ ./mvnw clean install 36 | ---- 37 | 38 | To build the docker image for the Data Flow Server 39 | 40 | ---- 41 | $ ./mvnw package docker:build -pl :spring-cloud-dataflow-server-kubernetes 42 | ---- 43 | 44 | For more information on building, see this https://github.com/spring-cloud/spring-cloud-dataflow/blob/master/spring-cloud-dataflow-docs/src/main/asciidoc/appendix-building.adoc[link]. 45 | -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # ---------------------------------------------------------------------------- 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # https://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # ---------------------------------------------------------------------------- 20 | 21 | # ---------------------------------------------------------------------------- 22 | # Maven2 Start Up Batch script 23 | # 24 | # Required ENV vars: 25 | # ------------------ 26 | # JAVA_HOME - location of a JDK home dir 27 | # 28 | # Optional ENV vars 29 | # ----------------- 30 | # M2_HOME - location of maven2's installed home dir 31 | # MAVEN_OPTS - parameters passed to the Java VM when running Maven 32 | # e.g. to debug Maven itself, use 33 | # set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 34 | # MAVEN_SKIP_RC - flag to disable loading of mavenrc files 35 | # ---------------------------------------------------------------------------- 36 | 37 | if [ -z "$MAVEN_SKIP_RC" ] ; then 38 | 39 | if [ -f /etc/mavenrc ] ; then 40 | . /etc/mavenrc 41 | fi 42 | 43 | if [ -f "$HOME/.mavenrc" ] ; then 44 | . "$HOME/.mavenrc" 45 | fi 46 | 47 | fi 48 | 49 | # OS specific support. $var _must_ be set to either true or false. 50 | cygwin=false; 51 | darwin=false; 52 | mingw=false 53 | case "`uname`" in 54 | CYGWIN*) cygwin=true ;; 55 | MINGW*) mingw=true;; 56 | Darwin*) darwin=true 57 | # 58 | # Look for the Apple JDKs first to preserve the existing behaviour, and then look 59 | # for the new JDKs provided by Oracle. 60 | # 61 | if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then 62 | # 63 | # Apple JDKs 64 | # 65 | export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home 66 | fi 67 | 68 | if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then 69 | # 70 | # Apple JDKs 71 | # 72 | export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home 73 | fi 74 | 75 | if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then 76 | # 77 | # Oracle JDKs 78 | # 79 | export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home 80 | fi 81 | 82 | if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then 83 | # 84 | # Apple JDKs 85 | # 86 | export JAVA_HOME=`/usr/libexec/java_home` 87 | fi 88 | ;; 89 | esac 90 | 91 | if [ -z "$JAVA_HOME" ] ; then 92 | if [ -r /etc/gentoo-release ] ; then 93 | JAVA_HOME=`java-config --jre-home` 94 | fi 95 | fi 96 | 97 | if [ -z "$M2_HOME" ] ; then 98 | ## resolve links - $0 may be a link to maven's home 99 | PRG="$0" 100 | 101 | # need this for relative symlinks 102 | while [ -h "$PRG" ] ; do 103 | ls=`ls -ld "$PRG"` 104 | link=`expr "$ls" : '.*-> \(.*\)$'` 105 | if expr "$link" : '/.*' > /dev/null; then 106 | PRG="$link" 107 | else 108 | PRG="`dirname "$PRG"`/$link" 109 | fi 110 | done 111 | 112 | saveddir=`pwd` 113 | 114 | M2_HOME=`dirname "$PRG"`/.. 115 | 116 | # make it fully qualified 117 | M2_HOME=`cd "$M2_HOME" && pwd` 118 | 119 | cd "$saveddir" 120 | # echo Using m2 at $M2_HOME 121 | fi 122 | 123 | # For Cygwin, ensure paths are in UNIX format before anything is touched 124 | if $cygwin ; then 125 | [ -n "$M2_HOME" ] && 126 | M2_HOME=`cygpath --unix "$M2_HOME"` 127 | [ -n "$JAVA_HOME" ] && 128 | JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 129 | [ -n "$CLASSPATH" ] && 130 | CLASSPATH=`cygpath --path --unix "$CLASSPATH"` 131 | fi 132 | 133 | # For Migwn, ensure paths are in UNIX format before anything is touched 134 | if $mingw ; then 135 | [ -n "$M2_HOME" ] && 136 | M2_HOME="`(cd "$M2_HOME"; pwd)`" 137 | [ -n "$JAVA_HOME" ] && 138 | JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" 139 | # TODO classpath? 140 | fi 141 | 142 | if [ -z "$JAVA_HOME" ]; then 143 | javaExecutable="`which javac`" 144 | if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then 145 | # readlink(1) is not available as standard on Solaris 10. 146 | readLink=`which readlink` 147 | if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then 148 | if $darwin ; then 149 | javaHome="`dirname \"$javaExecutable\"`" 150 | javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" 151 | else 152 | javaExecutable="`readlink -f \"$javaExecutable\"`" 153 | fi 154 | javaHome="`dirname \"$javaExecutable\"`" 155 | javaHome=`expr "$javaHome" : '\(.*\)/bin'` 156 | JAVA_HOME="$javaHome" 157 | export JAVA_HOME 158 | fi 159 | fi 160 | fi 161 | 162 | if [ -z "$JAVACMD" ] ; then 163 | if [ -n "$JAVA_HOME" ] ; then 164 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 165 | # IBM's JDK on AIX uses strange locations for the executables 166 | JAVACMD="$JAVA_HOME/jre/sh/java" 167 | else 168 | JAVACMD="$JAVA_HOME/bin/java" 169 | fi 170 | else 171 | JAVACMD="`which java`" 172 | fi 173 | fi 174 | 175 | if [ ! -x "$JAVACMD" ] ; then 176 | echo "Error: JAVA_HOME is not defined correctly." >&2 177 | echo " We cannot execute $JAVACMD" >&2 178 | exit 1 179 | fi 180 | 181 | if [ -z "$JAVA_HOME" ] ; then 182 | echo "Warning: JAVA_HOME environment variable is not set." 183 | fi 184 | 185 | CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher 186 | 187 | # For Cygwin, switch paths to Windows format before running java 188 | if $cygwin; then 189 | [ -n "$M2_HOME" ] && 190 | M2_HOME=`cygpath --path --windows "$M2_HOME"` 191 | [ -n "$JAVA_HOME" ] && 192 | JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` 193 | [ -n "$CLASSPATH" ] && 194 | CLASSPATH=`cygpath --path --windows "$CLASSPATH"` 195 | fi 196 | 197 | # traverses directory structure from process work directory to filesystem root 198 | # first directory with .mvn subdirectory is considered project base directory 199 | find_maven_basedir() { 200 | local basedir=$(pwd) 201 | local wdir=$(pwd) 202 | while [ "$wdir" != '/' ] ; do 203 | if [ -d "$wdir"/.mvn ] ; then 204 | basedir=$wdir 205 | break 206 | fi 207 | wdir=$(cd "$wdir/.."; pwd) 208 | done 209 | echo "${basedir}" 210 | } 211 | 212 | # concatenates all lines of a file 213 | concat_lines() { 214 | if [ -f "$1" ]; then 215 | echo "$(tr -s '\n' ' ' < "$1")" 216 | fi 217 | } 218 | 219 | export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-$(find_maven_basedir)} 220 | MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" 221 | 222 | # Provide a "standardized" way to retrieve the CLI args that will 223 | # work with both Windows and non-Windows executions. 224 | MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" 225 | export MAVEN_CMD_LINE_ARGS 226 | 227 | WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain 228 | 229 | exec "$JAVACMD" \ 230 | $MAVEN_OPTS \ 231 | -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ 232 | "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ 233 | ${WRAPPER_LAUNCHER} "$@" 234 | 235 | -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- 1 | @REM ---------------------------------------------------------------------------- 2 | @REM Licensed to the Apache Software Foundation (ASF) under one 3 | @REM or more contributor license agreements. See the NOTICE file 4 | @REM distributed with this work for additional information 5 | @REM regarding copyright ownership. The ASF licenses this file 6 | @REM to you under the Apache License, Version 2.0 (the 7 | @REM "License"); you may not use this file except in compliance 8 | @REM with the License. You may obtain a copy of the License at 9 | @REM 10 | @REM https://www.apache.org/licenses/LICENSE-2.0 11 | @REM 12 | @REM Unless required by applicable law or agreed to in writing, 13 | @REM software distributed under the License is distributed on an 14 | @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | @REM KIND, either express or implied. See the License for the 16 | @REM specific language governing permissions and limitations 17 | @REM under the License. 18 | @REM ---------------------------------------------------------------------------- 19 | 20 | @REM ---------------------------------------------------------------------------- 21 | @REM Maven2 Start Up Batch script 22 | @REM 23 | @REM Required ENV vars: 24 | @REM JAVA_HOME - location of a JDK home dir 25 | @REM 26 | @REM Optional ENV vars 27 | @REM M2_HOME - location of maven2's installed home dir 28 | @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands 29 | @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending 30 | @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven 31 | @REM e.g. to debug Maven itself, use 32 | @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 33 | @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files 34 | @REM ---------------------------------------------------------------------------- 35 | 36 | @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' 37 | @echo off 38 | @REM enable echoing my setting MAVEN_BATCH_ECHO to 'on' 39 | @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% 40 | 41 | @REM set %HOME% to equivalent of $HOME 42 | if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") 43 | 44 | @REM Execute a user defined script before this one 45 | if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre 46 | @REM check for pre script, once with legacy .bat ending and once with .cmd ending 47 | if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" 48 | if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" 49 | :skipRcPre 50 | 51 | @setlocal 52 | 53 | set ERROR_CODE=0 54 | 55 | @REM To isolate internal variables from possible post scripts, we use another setlocal 56 | @setlocal 57 | 58 | @REM ==== START VALIDATION ==== 59 | if not "%JAVA_HOME%" == "" goto OkJHome 60 | 61 | echo. 62 | echo Error: JAVA_HOME not found in your environment. >&2 63 | echo Please set the JAVA_HOME variable in your environment to match the >&2 64 | echo location of your Java installation. >&2 65 | echo. 66 | goto error 67 | 68 | :OkJHome 69 | if exist "%JAVA_HOME%\bin\java.exe" goto init 70 | 71 | echo. 72 | echo Error: JAVA_HOME is set to an invalid directory. >&2 73 | echo JAVA_HOME = "%JAVA_HOME%" >&2 74 | echo Please set the JAVA_HOME variable in your environment to match the >&2 75 | echo location of your Java installation. >&2 76 | echo. 77 | goto error 78 | 79 | @REM ==== END VALIDATION ==== 80 | 81 | :init 82 | 83 | set MAVEN_CMD_LINE_ARGS=%* 84 | 85 | @REM Find the project base dir, i.e. the directory that contains the folder ".mvn". 86 | @REM Fallback to current working directory if not found. 87 | 88 | set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% 89 | IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir 90 | 91 | set EXEC_DIR=%CD% 92 | set WDIR=%EXEC_DIR% 93 | :findBaseDir 94 | IF EXIST "%WDIR%"\.mvn goto baseDirFound 95 | cd .. 96 | IF "%WDIR%"=="%CD%" goto baseDirNotFound 97 | set WDIR=%CD% 98 | goto findBaseDir 99 | 100 | :baseDirFound 101 | set MAVEN_PROJECTBASEDIR=%WDIR% 102 | cd "%EXEC_DIR%" 103 | goto endDetectBaseDir 104 | 105 | :baseDirNotFound 106 | set MAVEN_PROJECTBASEDIR=%EXEC_DIR% 107 | cd "%EXEC_DIR%" 108 | 109 | :endDetectBaseDir 110 | 111 | IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig 112 | 113 | @setlocal EnableExtensions EnableDelayedExpansion 114 | for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a 115 | @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% 116 | 117 | :endReadAdditionalConfig 118 | 119 | SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" 120 | 121 | set WRAPPER_JAR="".\.mvn\wrapper\maven-wrapper.jar"" 122 | set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain 123 | 124 | %MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CMD_LINE_ARGS% 125 | if ERRORLEVEL 1 goto error 126 | goto end 127 | 128 | :error 129 | set ERROR_CODE=1 130 | 131 | :end 132 | @endlocal & set ERROR_CODE=%ERROR_CODE% 133 | 134 | if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost 135 | @REM check for post script, once with legacy .bat ending and once with .cmd ending 136 | if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" 137 | if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" 138 | :skipRcPost 139 | 140 | @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' 141 | if "%MAVEN_BATCH_PAUSE%" == "on" pause 142 | 143 | if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% 144 | 145 | exit /B %ERROR_CODE% 146 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | spring-cloud-dataflow-server-kubernetes-parent 5 | 2.0.0.BUILD-SNAPSHOT 6 | pom 7 | 8 | 9 | org.springframework.cloud 10 | spring-cloud-dataflow-parent 11 | 2.0.0.BUILD-SNAPSHOT 12 | 13 | 14 | 15 | 16 | spring-cloud-dataflow-server-kubernetes-docs 17 | spring-cloud-dataflow-server-kubernetes-autoconfig 18 | spring-cloud-dataflow-server-kubernetes 19 | 20 | 21 | 22 | 2.0.0.BUILD-SNAPSHOT 23 | 2.0.0.BUILD-SNAPSHOT 24 | 0.3.0.RELEASE 25 | 1.1.0.BUILD-SNAPSHOT 26 | 1.0.1.RELEASE 27 | 4.0.4 28 | 29 | 30 | 31 | 32 | 33 | org.springframework.cloud 34 | spring-cloud-deployer-kubernetes 35 | ${spring-cloud-deployer-kubernetes.version} 36 | 37 | 38 | org.springframework.cloud 39 | spring-cloud-dataflow-server-core 40 | ${spring-cloud-dataflow.version} 41 | 42 | 43 | org.springframework.cloud 44 | spring-cloud-starter-kubernetes-config 45 | ${spring-cloud-kubernetes.version} 46 | 47 | 49 | 50 | io.fabric8 51 | kubernetes-client 52 | ${kubernetes-client.version} 53 | 54 | 55 | 56 | 57 | 58 | 59 | spring 60 | 61 | 62 | spring-snapshots 63 | Spring Snapshots 64 | https://repo.spring.io/libs-snapshot-local 65 | 66 | true 67 | 68 | 69 | 70 | spring-milestones 71 | Spring Milestones 72 | https://repo.spring.io/libs-milestone-local 73 | 74 | false 75 | 76 | 77 | 78 | spring-releases 79 | Spring Releases 80 | https://repo.spring.io/release 81 | 82 | false 83 | 84 | 85 | 86 | 87 | 88 | spring-snapshots 89 | Spring Snapshots 90 | https://repo.spring.io/libs-snapshot-local 91 | 92 | true 93 | 94 | 95 | 96 | spring-milestones 97 | Spring Milestones 98 | https://repo.spring.io/libs-milestone-local 99 | 100 | false 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-autoconfig/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | spring-cloud-dataflow-server-kubernetes-autoconfig 5 | https://projects.spring.io/spring-cloud/ 6 | 7 | Pivotal Software, Inc. 8 | https://www.spring.io 9 | 10 | 11 | org.springframework.cloud 12 | spring-cloud-dataflow-server-kubernetes-parent 13 | 2.0.0.BUILD-SNAPSHOT 14 | 15 | 16 | 17 | org.springframework.cloud 18 | spring-cloud-deployer-kubernetes 19 | 20 | 21 | org.springframework.cloud 22 | spring-cloud-dataflow-server-core 23 | 24 | 25 | org.springframework.cloud 26 | spring-cloud-scheduler-spi 27 | ${spring-cloud-scheduler-spi.version} 28 | 29 | 30 | org.springframework.cloud 31 | spring-cloud-scheduler-kubernetes 32 | ${spring-cloud-scheduler-kubernetes.version} 33 | 34 | 35 | 36 | 37 | 38 | src/main/resources 39 | true 40 | 41 | META-INF/spring.factories 42 | dataflow-server.yml 43 | 44 | 45 | 46 | 47 | 48 | org.apache.maven.plugins 49 | maven-resources-plugin 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-autoconfig/src/main/java/org/springframework/cloud/dataflow/server/kubernetes/config/KubernetesDataFlowServerAutoConfiguration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.springframework.cloud.dataflow.server.kubernetes.config; 18 | 19 | import java.util.HashMap; 20 | import java.util.Map; 21 | 22 | import org.springframework.boot.autoconfigure.AutoConfigureOrder; 23 | import org.springframework.cloud.deployer.resource.docker.DockerResourceLoader; 24 | import org.springframework.cloud.deployer.resource.maven.MavenProperties; 25 | import org.springframework.cloud.deployer.resource.maven.MavenResourceLoader; 26 | import org.springframework.cloud.deployer.resource.support.DelegatingResourceLoader; 27 | import org.springframework.context.annotation.Bean; 28 | import org.springframework.context.annotation.Configuration; 29 | import org.springframework.core.Ordered; 30 | import org.springframework.core.io.ResourceLoader; 31 | 32 | /** 33 | * AutoConfiguration for the {@link KubernetesDataFlowServer} 34 | * 35 | * @author Thomas Risberg 36 | */ 37 | @Configuration 38 | @AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE) 39 | public class KubernetesDataFlowServerAutoConfiguration { 40 | 41 | @Bean 42 | public DelegatingResourceLoader delegatingResourceLoader(MavenProperties mavenProperties) { 43 | DockerResourceLoader dockerLoader = new DockerResourceLoader(); 44 | MavenResourceLoader mavenLoader = new MavenResourceLoader(mavenProperties); 45 | Map loaders = new HashMap<>(); 46 | loaders.put("docker", dockerLoader); 47 | loaders.put("maven", mavenLoader); 48 | return new DelegatingResourceLoader(loaders); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-autoconfig/src/main/java/org/springframework/cloud/dataflow/server/kubernetes/config/KubernetesSchedulerConfiguration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2018 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.springframework.cloud.dataflow.server.kubernetes.config; 18 | 19 | import io.fabric8.kubernetes.client.DefaultKubernetesClient; 20 | import io.fabric8.kubernetes.client.KubernetesClient; 21 | 22 | import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; 23 | import org.springframework.cloud.dataflow.server.config.features.SchedulerConfiguration; 24 | import org.springframework.cloud.scheduler.spi.core.Scheduler; 25 | import org.springframework.cloud.scheduler.spi.kubernetes.KubernetesScheduler; 26 | import org.springframework.cloud.scheduler.spi.kubernetes.KubernetesSchedulerProperties; 27 | import org.springframework.context.annotation.Bean; 28 | import org.springframework.context.annotation.Conditional; 29 | import org.springframework.context.annotation.Configuration; 30 | 31 | /** 32 | * Configures the Spring Cloud Kubernetes Scheduler based on feature toggle settings. 33 | * 34 | * @author Chris Schaefer 35 | */ 36 | @Configuration 37 | @Conditional({ SchedulerConfiguration.SchedulerConfigurationPropertyChecker.class }) 38 | public class KubernetesSchedulerConfiguration { 39 | @Bean 40 | @ConditionalOnMissingBean 41 | public Scheduler scheduler(KubernetesSchedulerProperties kubernetesSchedulerProperties) { 42 | KubernetesClient kubernetesClient = new DefaultKubernetesClient() 43 | .inNamespace(kubernetesSchedulerProperties.getNamespace()); 44 | 45 | return new KubernetesScheduler(kubernetesClient, kubernetesSchedulerProperties); 46 | } 47 | 48 | @Bean 49 | @ConditionalOnMissingBean 50 | public KubernetesSchedulerProperties kubernetesSchedulerProperties() { 51 | return new KubernetesSchedulerProperties(); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-autoconfig/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ 2 | org.springframework.cloud.dataflow.server.kubernetes.config.KubernetesDataFlowServerAutoConfiguration,\ 3 | org.springframework.cloud.dataflow.server.kubernetes.config.KubernetesSchedulerConfiguration 4 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | spring-cloud-dataflow-server-kubernetes-docs 5 | 2.0.0.BUILD-SNAPSHOT 6 | 7 | org.springframework.cloud 8 | spring-cloud-dataflow-server-kubernetes-parent 9 | 2.0.0.BUILD-SNAPSHOT 10 | 11 | 12 | spring-cloud-dataflow-server-kubernetes-docs 13 | Spring Cloud Data Flow Admin Kubernetes 14 | 15 | ${basedir}/.. 16 | 17 | 18 | 19 | org.springframework.cloud 20 | spring-cloud-dataflow-server-kubernetes 21 | 2.0.0.BUILD-SNAPSHOT 22 | 23 | 24 | 25 | 26 | full 27 | 28 | 29 | 30 | org.apache.maven.plugins 31 | maven-javadoc-plugin 32 | 2.10.1 33 | 34 | 35 | attach-javadocs 36 | 37 | jar 38 | 39 | prepare-package 40 | 41 | true 42 | 43 | ${project.groupId}:* 44 | 45 | false 46 | true 47 | ${basedir}/src/main/javadoc/spring-javadoc.css 48 | 49 | https://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/ 50 | https://docs.spring.io/spring-shell/docs/current/api/ 51 | 52 | 53 | 54 | 55 | 56 | 57 | org.asciidoctor 58 | asciidoctor-maven-plugin 59 | 1.5.3 60 | 61 | index.adoc 62 | book 63 | 64 | true 65 | warn 66 | ${project.version} 67 | ${project.artifactId} 68 | ${version-type-lowercase} 69 | 70 | ${spring-cloud-dataflow.version} 71 | ${spring-cloud-deployer-cloudfoundry.version} 72 | ${spring-cloud-skipper.version} 73 | ${dataflow-version-type-lowercase} 74 | ${skipper-version-type-lowercase} 75 | ${dataflow-branch-or-tag} 76 | https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/${dataflow-branch-or-tag}/spring-cloud-dataflow-docs/src/main/asciidoc 77 | ${deployer-branch-or-tag} 78 | ${spring-cloud-skipper.version} 79 | ${skipper-branch-or-tag} 80 | 81 | 82 | 83 | ${org.springframework.cloud:spring-cloud-dataflow-core:jar.version} 84 | ${org.springframework.cloud:spring-cloud-task-core:jar.version} 85 | 86 | 87 | 88 | 89 | generate-html5 90 | generate-resources 91 | 92 | process-asciidoc 93 | 94 | 95 | html5 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | com.agilejava.docbkx 105 | docbkx-maven-plugin 106 | 2.0.15 107 | 108 | ${basedir}/target/generated-docs 109 | 110 | 0 111 | index.xml 112 | true 113 | false 114 | ${basedir}/src/main/docbook/xsl/pdf.xsl 115 | 1 116 | 1 117 | 1 118 | ${basedir}/src/main/docbook/xsl/xslthl-config.xml 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | net.sf.xslthl 128 | xslthl 129 | 2.1.0 130 | 131 | 132 | net.sf.docbook 133 | docbook-xml 134 | 5.0-all 135 | resources 136 | zip 137 | runtime 138 | 139 | 140 | 141 | 142 | html 143 | 144 | generate-html 145 | 146 | generate-resources 147 | 148 | ${basedir}/src/main/docbook/xsl/html-multipage.xsl 149 | ${basedir}/target/docbook/html 150 | true 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | org.apache.maven.plugins 170 | maven-antrun-plugin 171 | 1.8 172 | 173 | 174 | ant-contrib 175 | ant-contrib 176 | 1.0b3 177 | 178 | 179 | ant 180 | ant 181 | 182 | 183 | 184 | 185 | org.apache.ant 186 | ant-nodeps 187 | 1.8.1 188 | 189 | 190 | org.tigris.antelope 191 | antelopetasks 192 | 3.2.10 193 | 194 | 195 | 196 | 197 | package-and-attach-docs-zip 198 | package 199 | 200 | run 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | setup-maven-properties 217 | validate 218 | 219 | run 220 | 221 | 222 | true 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | org.codehaus.mojo 273 | build-helper-maven-plugin 274 | 1.9.1 275 | 276 | 277 | attach-zip 278 | 279 | attach-artifact 280 | 281 | 282 | 283 | 284 | ${project.build.directory}/${project.artifactId}-${project.version}.zip 285 | zip;zip.type=docs;zip.deployed=false 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | net.radai 294 | grep-maven-plugin 295 | 1.0 296 | 297 | 298 | 299 | grep 300 | 301 | test 302 | 303 | 304 | 305 | target/generated-docs/index.html 306 | Unresolved directive in .*\.adoc - include:: 307 | true 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/.gitignore: -------------------------------------------------------------------------------- 1 | *.css 2 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/Guardfile: -------------------------------------------------------------------------------- 1 | require 'asciidoctor' 2 | require 'erb' 3 | 4 | guard 'shell' do 5 | watch(/.*\.adoc$/) {|m| 6 | Asciidoctor.render_file('index.adoc', \ 7 | :in_place => true, \ 8 | :safe => Asciidoctor::SafeMode::UNSAFE, \ 9 | :attributes=> { \ 10 | 'source-highlighter' => 'prettify', \ 11 | 'icons' => 'font', \ 12 | 'linkcss'=> 'true', \ 13 | 'copycss' => 'true', \ 14 | 'doctype' => 'book'}) 15 | } 16 | end 17 | 18 | guard 'livereload' do 19 | watch(%r{^.+\.(css|js|html)$}) 20 | end 21 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/api-guide-link.adoc: -------------------------------------------------------------------------------- 1 | // The API Guide adoc source file residing in SCDF core can't be included here, because it depends on generated 2 | // REST Docs snippets that aren't versionned (and are heavyweight to regenerate for each flavor). Hence, we do a 3 | // simple link to the correct SCDF core version: 4 | :spring-cloud-dataflow-docs-rest: https://docs.spring.io/spring-cloud-dataflow/docs/{scdf-core-version}/reference/htmlsingle/index.html#api-guide 5 | 6 | [[api-guide]] 7 | = REST API Guide 8 | 9 | You can find the documentation about the Data Flow REST API in the {spring-cloud-dataflow-docs-rest}[core documentation]. 10 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/appendix.adoc: -------------------------------------------------------------------------------- 1 | [[appendix]] 2 | = Appendices 3 | 4 | [partintro] 5 | -- 6 | Having trouble with Spring Cloud Data Flow? We want to help! 7 | 8 | * Ask a question. We monitor https://stackoverflow.com[stackoverflow.com] for questions 9 | tagged with https://stackoverflow.com/tags/spring-cloud-dataflow[`spring-cloud-dataflow`]. 10 | * Report bugs with Spring Cloud Data Flow at https://github.com/spring-cloud/spring-cloud-dataflow/issues. 11 | * Report bugs with Spring Cloud Data Flow for Kubernetes at https://github.com/spring-cloud/spring-cloud-dataflow-server-kubernetes/issues. 12 | -- 13 | 14 | include::howto.adoc[] 15 | include::{dataflow-asciidoc}/appendix-dataflow-template.adoc[] 16 | include::{dataflow-asciidoc}/appendix-migration-guide.adoc[] 17 | include::{dataflow-asciidoc}/appendix-building.adoc[] 18 | include::{dataflow-asciidoc}/appendix-contributing.adoc[] 19 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/docinfo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 29 | 30 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/howto.adoc: -------------------------------------------------------------------------------- 1 | [appendix] 2 | [[howto]] 3 | = "`How-to`" guides 4 | 5 | This section provides answers to some common "`how do I do that...`" type of questions 6 | that often arise when developers use Spring Cloud Data Flow. 7 | 8 | If you have a specific problem that we don't cover here, you might want to check out 9 | https://stackoverflow.com/tags/spring-cloud-dataflow[stackoverflow.com] to see if someone has 10 | already provided an answer. Stack Overflow is also a great place to ask new questions (please use 11 | the `spring-cloud-dataflow` tag). 12 | 13 | We are also more than happy to extend this section. If you want to add a "`how-to`", you 14 | can send us a {github-code}[pull request]. 15 | 16 | == Logging 17 | 18 | Spring Cloud Data Flow is built upon several Spring projects, but ultimately the dataflow-server is a 19 | Spring Boot app, so the logging techniques that apply to any link:https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html#howto-logging[Spring Boot] 20 | application are applicable here as well. 21 | 22 | While troubleshooting, the following are the two primary areas where enabling the DEBUG logs could be useful. 23 | 24 | * <> 25 | * <> 26 | 27 | [[howto-deployment-logs]] 28 | === Deployment Logs 29 | Spring Cloud Data Flow builds upon the link:https://github.com/spring-cloud/spring-cloud-deployer[Spring Cloud Deployer] SPI. The platform-specific dataflow-server uses the respective link:https://github.com/spring-cloud?utf8=%E2%9C%93&query=deployer[SPI implementations]. 30 | Specifically, if you want to troubleshoot deployment-specific issues (such as the network errors), it helps 31 | to enable the DEBUG logs at the underlying deployer and the libraries used by it. 32 | 33 | For instance, if you want to enable DEBUG logs for the link:https://github.com/spring-cloud/spring-cloud-deployer-kubernetes/tree/master/spring-cloud-deployer-kubernetes[kubernetes-deployer], 34 | start the server with following environment variable: 35 | 36 | ==== 37 | [source,bash] 38 | ---- 39 | LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_CLOUD_DEPLOYER_SPI_KUBERNETES=DEBUG 40 | ---- 41 | ==== 42 | 43 | [[howto-application-logs]] 44 | === Application Logs 45 | 46 | The streaming applications in Spring Cloud Data Flow are Spring Boot applications, and you can set them up 47 | independently with logging configurations. 48 | 49 | For instance, if you need to troubleshoot the `header` and `payload` specifics that are being passed 50 | around source, processor, and sink channels, you can deploy the stream with the following 51 | options: 52 | 53 | ==== 54 | [source,bash] 55 | ---- 56 | dataflow:>stream create foo --definition "http --logging.level.org.springframework.integration=DEBUG | transform --logging.level.org.springframework.integration=DEBUG | log --logging.level.org.springframework.integration=DEBUG" --deploy 57 | ---- 58 | 59 | where `org.springframework.integration` is the global package for everything related to Spring Integration, 60 | which is responsible for messaging channels 61 | ==== 62 | 63 | You can also enable the DEBUG logs individually for each application or as a global setting for all the applications in the stream by using deployment properties when you deploy the stream, as the following example shows: 64 | 65 | ==== 66 | [source,bash] 67 | ---- 68 | dataflow:>stream deploy foo --properties "app.*.logging.level.org.springframework.integration=DEBUG" 69 | ---- 70 | ==== 71 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/images/placeholder.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/images/placeholder.txt -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/index-docinfo.xml: -------------------------------------------------------------------------------- 1 | Spring Cloud Data Flow Server Kubernetes 2 | {project-version} 3 | 4 | 2013-2017 5 | Pivotal Software, Inc. 6 | 7 | 8 | 9 | Copies of this document may be made for your own use and for distribution to 10 | others, provided that you do not charge any fee for such copies and further 11 | provided that each copy contains this Copyright Notice, whether distributed in 12 | print or electronically. 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | Pivotal Software, Inc. 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/asciidoc/index.adoc: -------------------------------------------------------------------------------- 1 | = Spring Cloud Data Flow Server for Kubernetes 2 | Sabby Anandan, Marius Bogoevici, Eric Bottard, Mark Fisher, Ilayaperumal Gopinathan, Gunnar Hillert, Mark Pollack, Patrick Peralta, Glenn Renfro, Thomas Risberg, Florian Rosenberg, Dave Syer, David Turanski, Janne Valkealahti, Oleg Zhurakousky, Vinicius Carvalho, Chris Schaefer, Jay Bryant, Christian Tzolov 3 | :doctype: book 4 | :toc: left 5 | :toclevels: 4 6 | :source-highlighter: prettify 7 | :numbered: 8 | :icons: font 9 | :hide-uri-scheme: 10 | :docinfo: shared 11 | :sectanchors: 12 | :attributes: allow-uri-read 13 | 14 | :scdf-core-version: {dataflow-project-version} 15 | 16 | // !!! snapshot tags vs relese tags - update these before and after each release !!! 17 | 18 | //:scdf-core-git: v{scdf-core-version} 19 | :scdf-core-git: master 20 | 21 | //:github-tag: v{project-version} 22 | :github-tag: master 23 | 24 | //:docker-tag: {project-version} 25 | :docker-tag: latest 26 | 27 | // Since the core projects will be at different release cadences, the following tokens might need to be changed for a release 28 | :docker-http-source-rabbit-version: 1.3.1.RELEASE 29 | :docker-time-source-rabbit-version: 1.3.1.RELEASE 30 | :docker-log-sink-rabbit-version: 1.3.1.RELEASE 31 | :docker-http-source-kafka-version: 1.3.1.RELEASE 32 | :docker-time-source-kafka-version: 1.3.1.RELEASE 33 | :docker-log-sink-kafka-version: 1.3.1.RELEASE 34 | :docker-timestamp-task-version: 1.3.1.RELEASE 35 | :skipper-core-version: 1.1.0.RELEASE 36 | 37 | :spring-cloud-dataflow-docs: https://docs.spring.io/spring-cloud-dataflow/docs/{scdf-core-version}/reference 38 | :github-repo: spring-cloud/spring-cloud-dataflow-server-kubernetes 39 | :github-code: https://github.com/{github-repo} 40 | :dataflow-asciidoc: https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/{scdf-core-git}/spring-cloud-dataflow-docs/src/main/asciidoc 41 | 42 | ifdef::backend-html5[] 43 | 44 | Version {project-version} 45 | 46 | (C) 2012-2018 Pivotal Software, Inc. 47 | 48 | Copies of this document may be made for your own use and for distribution to 49 | others, provided that you do not charge any fee for such copies and further 50 | provided that each copy contains this Copyright Notice, whether distributed in 51 | print or electronically. 52 | 53 | endif::backend-html5[] 54 | 55 | // ====================================================================================== 56 | 57 | // Always put a blank line before an Asciidoc include statement. Not doing so can cause trouble. 58 | 59 | include::getting-started.adoc[] 60 | 61 | include::{dataflow-asciidoc}/applications.adoc[] 62 | 63 | include::{dataflow-asciidoc}/architecture.adoc[] 64 | 65 | include::configuration.adoc[] 66 | 67 | include::{dataflow-asciidoc}/shell.adoc[] 68 | 69 | include::{dataflow-asciidoc}/streams.adoc[] 70 | 71 | include::{dataflow-asciidoc}/tasks.adoc[] 72 | 73 | include::{dataflow-asciidoc}/dashboard.adoc[] 74 | 75 | include::api-guide-link.adoc[] 76 | 77 | include::appendix.adoc[] 78 | 79 | // ====================================================================================== 80 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/css/highlight.css: -------------------------------------------------------------------------------- 1 | /* 2 | code highlight CSS resemblign the Eclipse IDE default color schema 3 | @author Costin Leau 4 | */ 5 | 6 | .hl-keyword { 7 | color: #7F0055; 8 | font-weight: bold; 9 | } 10 | 11 | .hl-comment { 12 | color: #3F5F5F; 13 | font-style: italic; 14 | } 15 | 16 | .hl-multiline-comment { 17 | color: #3F5FBF; 18 | font-style: italic; 19 | } 20 | 21 | .hl-tag { 22 | color: #3F7F7F; 23 | } 24 | 25 | .hl-attribute { 26 | color: #7F007F; 27 | } 28 | 29 | .hl-value { 30 | color: #2A00FF; 31 | } 32 | 33 | .hl-string { 34 | color: #2A00FF; 35 | } -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/css/manual-multipage.css: -------------------------------------------------------------------------------- 1 | @IMPORT url("manual.css"); 2 | 3 | body.firstpage { 4 | background: url("../images/background.png") no-repeat center top; 5 | } 6 | 7 | div.part h1 { 8 | border-top: none; 9 | } 10 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/css/manual-singlepage.css: -------------------------------------------------------------------------------- 1 | @IMPORT url("manual.css"); 2 | 3 | body { 4 | background: url("../images/background.png") no-repeat center top; 5 | } 6 | 7 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/css/manual.css: -------------------------------------------------------------------------------- 1 | @IMPORT url("highlight.css"); 2 | 3 | html { 4 | padding: 0pt; 5 | margin: 0pt; 6 | } 7 | 8 | body { 9 | color: #333333; 10 | margin: 15px 30px; 11 | font-family: Helvetica, Arial, Freesans, Clean, Sans-serif; 12 | line-height: 1.6; 13 | -webkit-font-smoothing: antialiased; 14 | } 15 | 16 | code { 17 | font-size: 16px; 18 | font-family: Consolas, "Liberation Mono", Courier, monospace; 19 | } 20 | 21 | :not(a)>code { 22 | color: #6D180B; 23 | } 24 | 25 | :not(pre)>code { 26 | background-color: #F2F2F2; 27 | border: 1px solid #CCCCCC; 28 | border-radius: 4px; 29 | padding: 1px 3px 0; 30 | text-shadow: none; 31 | white-space: nowrap; 32 | } 33 | 34 | body>*:first-child { 35 | margin-top: 0 !important; 36 | } 37 | 38 | div { 39 | margin: 0pt; 40 | } 41 | 42 | hr { 43 | border: 1px solid #CCCCCC; 44 | background: #CCCCCC; 45 | } 46 | 47 | h1,h2,h3,h4,h5,h6 { 48 | color: #000000; 49 | cursor: text; 50 | font-weight: bold; 51 | margin: 30px 0 10px; 52 | padding: 0; 53 | } 54 | 55 | h1,h2,h3 { 56 | margin: 40px 0 10px; 57 | } 58 | 59 | h1 { 60 | margin: 70px 0 30px; 61 | padding-top: 20px; 62 | } 63 | 64 | div.part h1 { 65 | border-top: 1px dotted #CCCCCC; 66 | } 67 | 68 | h1,h1 code { 69 | font-size: 32px; 70 | } 71 | 72 | h2,h2 code { 73 | font-size: 24px; 74 | } 75 | 76 | h3,h3 code { 77 | font-size: 20px; 78 | } 79 | 80 | h4,h1 code,h5,h5 code,h6,h6 code { 81 | font-size: 18px; 82 | } 83 | 84 | div.book,div.chapter,div.appendix,div.part,div.preface { 85 | min-width: 300px; 86 | max-width: 1200px; 87 | margin: 0 auto; 88 | } 89 | 90 | p.releaseinfo { 91 | font-weight: bold; 92 | margin-bottom: 40px; 93 | margin-top: 40px; 94 | } 95 | 96 | div.authorgroup { 97 | line-height: 1; 98 | } 99 | 100 | p.copyright { 101 | line-height: 1; 102 | margin-bottom: -5px; 103 | } 104 | 105 | .legalnotice p { 106 | font-style: italic; 107 | font-size: 14px; 108 | line-height: 1; 109 | } 110 | 111 | div.titlepage+p,div.titlepage+p { 112 | margin-top: 0; 113 | } 114 | 115 | pre { 116 | line-height: 1.0; 117 | color: black; 118 | } 119 | 120 | a { 121 | color: #4183C4; 122 | text-decoration: none; 123 | } 124 | 125 | p { 126 | margin: 15px 0; 127 | text-align: left; 128 | } 129 | 130 | ul,ol { 131 | padding-left: 30px; 132 | } 133 | 134 | li p { 135 | margin: 0; 136 | } 137 | 138 | div.table { 139 | margin: 1em; 140 | padding: 0.5em; 141 | text-align: center; 142 | } 143 | 144 | div.table table,div.informaltable table { 145 | display: table; 146 | width: 100%; 147 | } 148 | 149 | div.table td { 150 | padding-left: 7px; 151 | padding-right: 7px; 152 | } 153 | 154 | .sidebar { 155 | line-height: 1.4; 156 | padding: 0 20px; 157 | background-color: #F8F8F8; 158 | border: 1px solid #CCCCCC; 159 | border-radius: 3px 3px 3px 3px; 160 | } 161 | 162 | .sidebar p.title { 163 | color: #6D180B; 164 | } 165 | 166 | pre.programlisting,pre.screen { 167 | font-size: 15px; 168 | padding: 6px 10px; 169 | background-color: #F8F8F8; 170 | border: 1px solid #CCCCCC; 171 | border-radius: 3px 3px 3px 3px; 172 | clear: both; 173 | overflow: auto; 174 | line-height: 1.4; 175 | font-family: Consolas, "Liberation Mono", Courier, monospace; 176 | } 177 | 178 | table { 179 | border-collapse: collapse; 180 | border-spacing: 0; 181 | border: 1px solid #DDDDDD !important; 182 | border-radius: 4px !important; 183 | border-collapse: separate !important; 184 | line-height: 1.6; 185 | } 186 | 187 | table thead { 188 | background: #F5F5F5; 189 | } 190 | 191 | table tr { 192 | border: none; 193 | border-bottom: none; 194 | } 195 | 196 | table th { 197 | font-weight: bold; 198 | } 199 | 200 | table th,table td { 201 | border: none !important; 202 | padding: 6px 13px; 203 | } 204 | 205 | table tr:nth-child(2n) { 206 | background-color: #F8F8F8; 207 | } 208 | 209 | td p { 210 | margin: 0 0 15px 0; 211 | } 212 | 213 | div.table-contents td p { 214 | margin: 0; 215 | } 216 | 217 | div.important *,div.note *,div.tip *,div.warning *,div.navheader *,div.navfooter *,div.calloutlist * 218 | { 219 | border: none !important; 220 | background: none !important; 221 | margin: 0; 222 | } 223 | 224 | div.important p,div.note p,div.tip p,div.warning p { 225 | color: #6F6F6F; 226 | line-height: 1.6; 227 | } 228 | 229 | div.important code,div.note code,div.tip code,div.warning code { 230 | background-color: #F2F2F2 !important; 231 | border: 1px solid #CCCCCC !important; 232 | border-radius: 4px !important; 233 | padding: 1px 3px 0 !important; 234 | text-shadow: none !important; 235 | white-space: nowrap !important; 236 | } 237 | 238 | .note th,.tip th,.warning th { 239 | display: none; 240 | } 241 | 242 | .note tr:first-child td,.tip tr:first-child td,.warning tr:first-child td 243 | { 244 | border-right: 1px solid #CCCCCC !important; 245 | padding-top: 10px; 246 | } 247 | 248 | div.calloutlist p,div.calloutlist td { 249 | padding: 0; 250 | margin: 0; 251 | } 252 | 253 | div.calloutlist>table>tbody>tr>td:first-child { 254 | padding-left: 10px; 255 | width: 30px !important; 256 | } 257 | 258 | div.important,div.note,div.tip,div.warning { 259 | margin-left: 0px !important; 260 | margin-right: 20px !important; 261 | margin-top: 20px; 262 | margin-bottom: 20px; 263 | padding-top: 10px; 264 | padding-bottom: 10px; 265 | } 266 | 267 | div.toc { 268 | line-height: 1.2; 269 | } 270 | 271 | dl,dt { 272 | margin-top: 1px; 273 | margin-bottom: 0; 274 | } 275 | 276 | div.toc>dl>dt { 277 | font-size: 32px; 278 | font-weight: bold; 279 | margin: 30px 0 10px 0; 280 | display: block; 281 | } 282 | 283 | div.toc>dl>dd>dl>dt { 284 | font-size: 24px; 285 | font-weight: bold; 286 | margin: 20px 0 10px 0; 287 | display: block; 288 | } 289 | 290 | div.toc>dl>dd>dl>dd>dl>dt { 291 | font-weight: bold; 292 | font-size: 20px; 293 | margin: 10px 0 0 0; 294 | } 295 | 296 | tbody.footnotes * { 297 | border: none !important; 298 | } 299 | 300 | div.footnote p { 301 | margin: 0; 302 | line-height: 1; 303 | } 304 | 305 | div.footnote p sup { 306 | margin-right: 6px; 307 | vertical-align: middle; 308 | } 309 | 310 | div.navheader { 311 | border-bottom: 1px solid #CCCCCC; 312 | } 313 | 314 | div.navfooter { 315 | border-top: 1px solid #CCCCCC; 316 | } 317 | 318 | .title { 319 | margin-left: -1em; 320 | padding-left: 1em; 321 | } 322 | 323 | .title>a { 324 | position: absolute; 325 | visibility: hidden; 326 | display: block; 327 | font-size: 0.85em; 328 | margin-top: 0.05em; 329 | margin-left: -1em; 330 | vertical-align: text-top; 331 | color: black; 332 | } 333 | 334 | .title>a:before { 335 | content: "\00A7"; 336 | } 337 | 338 | .title:hover>a,.title>a:hover,.title:hover>a:hover { 339 | visibility: visible; 340 | } 341 | 342 | .title:focus>a,.title>a:focus,.title:focus>a:focus { 343 | outline: 0; 344 | } 345 | 346 | .mediaobject img { 347 | max-width: 100%; 348 | } 349 | 350 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/background.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/1.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/10.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/11.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/12.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/13.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/14.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/15.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/2.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/3.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/4.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/5.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/6.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/7.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/8.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/callouts/9.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/caution.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/cover.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/important.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/logo.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/note.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/tip.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/images/warning.png -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/common.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 27 | 28 | 29 | 1 30 | 0 31 | 1 32 | 33 | 34 | 35 | images/ 36 | .png 37 | 38 | 39 | book toc,title 40 | 3 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/epub.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/html-multipage.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | css/manual-multipage.css 29 | 30 | '5' 31 | '1' 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | firstpage 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/html-singlepage.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | css/manual-singlepage.css 29 | 30 | 31 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/html.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | 22 | 27 | 28 | 29 | 30 | 31 | 32 | 1 33 | 34 | 35 | 1 36 | 37 | 38 | 39 | 120 40 | images/callouts/ 41 | .png 42 | 43 | 44 | text/css 45 | 46 | text-align: left 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | , 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | Authors 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | # 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/asciidoc-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | //// 10 | //// 11 | 12 | 13 | // 14 | 15 | 16 | 17 | ^(={1,6} .+)$ 18 | 19 | MULTILINE 20 | 21 | 22 | ^(\.[^\.\s].+)$ 23 | 24 | MULTILINE 25 | 26 | 27 | ^(:!?\w.*?:) 28 | 29 | MULTILINE 30 | 31 | 32 | ^(-|\*{1,5}|\d*\.{1,5})(?= .+$) 33 | 34 | MULTILINE 35 | 36 | 37 | ^(\[.+\])$ 38 | 39 | MULTILINE 40 | 41 | 42 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/bourne-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 27 | 28 | # 29 | 30 | << 31 | ' 32 | " 33 | - 34 | 35 | 36 | 37 | 38 | " 39 | \ 40 | 41 | 42 | ' 43 | \ 44 | 45 | 46 | 47 | 0x 48 | 49 | 50 | 51 | . 52 | 53 | 54 | 55 | 56 | 57 | if 58 | then 59 | else 60 | elif 61 | fi 62 | case 63 | esac 64 | for 65 | while 66 | until 67 | do 68 | done 69 | 70 | exec 71 | shift 72 | exit 73 | times 74 | break 75 | export 76 | trap 77 | continue 78 | readonly 79 | wait 80 | eval 81 | return 82 | 83 | cd 84 | echo 85 | hash 86 | pwd 87 | read 88 | set 89 | test 90 | type 91 | ulimit 92 | umask 93 | unset 94 | 95 | 96 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/c-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 31 | /** 32 | */ 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | /* 41 | */ 42 | 43 | // 44 | 45 | 46 | # 47 | \ 48 | 49 | 50 | 51 | 52 | " 53 | \ 54 | 55 | 56 | ' 57 | \ 58 | 59 | 60 | 0x 61 | ul 62 | lu 63 | u 64 | l 65 | 66 | 67 | 68 | . 69 | 70 | e 71 | ul 72 | lu 73 | u 74 | f 75 | l 76 | 77 | 78 | 79 | auto 80 | _Bool 81 | break 82 | case 83 | char 84 | _Complex 85 | const 86 | continue 87 | default 88 | do 89 | double 90 | else 91 | enum 92 | extern 93 | float 94 | for 95 | goto 96 | if 97 | _Imaginary 98 | inline 99 | int 100 | long 101 | register 102 | restrict 103 | return 104 | short 105 | signed 106 | sizeof 107 | static 108 | struct 109 | switch 110 | typedef 111 | union 112 | unsigned 113 | void 114 | volatile 115 | while 116 | 117 | 118 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/cpp-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | 33 | /** 34 | */ 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | /* 43 | */ 44 | 45 | // 46 | 47 | 48 | # 49 | \ 50 | 51 | 52 | 53 | 54 | " 55 | \ 56 | 57 | 58 | ' 59 | \ 60 | 61 | 62 | 0x 63 | ul 64 | lu 65 | u 66 | l 67 | 68 | 69 | 70 | . 71 | 72 | e 73 | ul 74 | lu 75 | u 76 | f 77 | l 78 | 79 | 80 | 81 | 82 | auto 83 | _Bool 84 | break 85 | case 86 | char 87 | _Complex 88 | const 89 | continue 90 | default 91 | do 92 | double 93 | else 94 | enum 95 | extern 96 | float 97 | for 98 | goto 99 | if 100 | _Imaginary 101 | inline 102 | int 103 | long 104 | register 105 | restrict 106 | return 107 | short 108 | signed 109 | sizeof 110 | static 111 | struct 112 | switch 113 | typedef 114 | union 115 | unsigned 116 | void 117 | volatile 118 | while 119 | 120 | asm 121 | dynamic_cast 122 | namespace 123 | reinterpret_cast 124 | try 125 | bool 126 | explicit 127 | new 128 | static_cast 129 | typeid 130 | catch 131 | false 132 | operator 133 | template 134 | typename 135 | class 136 | friend 137 | private 138 | this 139 | using 140 | const_cast 141 | inline 142 | public 143 | throw 144 | virtual 145 | delete 146 | mutable 147 | protected 148 | true 149 | wchar_t 150 | 151 | 152 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/csharp-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | 33 | /** 34 | */ 35 | 36 | 37 | 38 | /// 39 | 40 | 41 | 42 | /* 43 | */ 44 | 45 | // 46 | 47 | 48 | [ 49 | ] 50 | ( 51 | ) 52 | 53 | 54 | 55 | # 56 | \ 57 | 58 | 59 | 60 | 61 | 62 | @" 63 | " 64 | \ 65 | 66 | 67 | 68 | " 69 | \ 70 | 71 | 72 | ' 73 | \ 74 | 75 | 76 | 0x 77 | ul 78 | lu 79 | u 80 | l 81 | 82 | 83 | 84 | . 85 | 86 | e 87 | ul 88 | lu 89 | u 90 | f 91 | d 92 | m 93 | l 94 | 95 | 96 | 97 | abstract 98 | as 99 | base 100 | bool 101 | break 102 | byte 103 | case 104 | catch 105 | char 106 | checked 107 | class 108 | const 109 | continue 110 | decimal 111 | default 112 | delegate 113 | do 114 | double 115 | else 116 | enum 117 | event 118 | explicit 119 | extern 120 | false 121 | finally 122 | fixed 123 | float 124 | for 125 | foreach 126 | goto 127 | if 128 | implicit 129 | in 130 | int 131 | interface 132 | internal 133 | is 134 | lock 135 | long 136 | namespace 137 | new 138 | null 139 | object 140 | operator 141 | out 142 | override 143 | params 144 | private 145 | protected 146 | public 147 | readonly 148 | ref 149 | return 150 | sbyte 151 | sealed 152 | short 153 | sizeof 154 | stackalloc 155 | static 156 | string 157 | struct 158 | switch 159 | this 160 | throw 161 | true 162 | try 163 | typeof 164 | uint 165 | ulong 166 | unchecked 167 | unsafe 168 | ushort 169 | using 170 | virtual 171 | void 172 | volatile 173 | while 174 | 175 | 176 | 177 | add 178 | alias 179 | from 180 | get 181 | global 182 | group 183 | into 184 | join 185 | orderby 186 | partial 187 | remove 188 | select 189 | set 190 | value 191 | where 192 | yield 193 | 194 | 195 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/css-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | /* 35 | */ 36 | 37 | 38 | " 39 | \ 40 | 41 | 42 | 43 | ' 44 | \ 45 | 46 | 47 | 48 | . 49 | 50 | 51 | 52 | @charset 53 | @import 54 | @media 55 | @page 56 | 57 | 58 | 59 | - 60 | azimuth 61 | background-attachment 62 | background-color 63 | background-image 64 | background-position 65 | background-repeat 66 | background 67 | border-collapse 68 | border-color 69 | border-spacing 70 | border-style 71 | border-top 72 | border-right 73 | border-bottom 74 | border-left 75 | border-top-color 76 | border-right-color 77 | border-bottom-color 78 | border-left-color 79 | border-top-style 80 | border-right-style 81 | border-bottom-style 82 | border-left-style 83 | border-top-width 84 | border-right-width 85 | border-bottom-width 86 | border-left-width 87 | border-width 88 | border 89 | bottom 90 | caption-side 91 | clear 92 | clip 93 | color 94 | content 95 | counter-increment 96 | counter-reset 97 | cue-after 98 | cue-before 99 | cue 100 | cursor 101 | direction 102 | display 103 | elevation 104 | empty-cells 105 | float 106 | font-family 107 | font-size 108 | font-style 109 | font-variant 110 | font-weight 111 | font 112 | height 113 | left 114 | letter-spacing 115 | line-height 116 | list-style-image 117 | list-style-position 118 | list-style-type 119 | list-style 120 | margin-right 121 | margin-left 122 | margin-top 123 | margin-bottom 124 | margin 125 | max-height 126 | max-width 127 | min-height 128 | min-width 129 | orphans 130 | outline-color 131 | outline-style 132 | outline-width 133 | outline 134 | overflow 135 | padding-top 136 | padding-right 137 | padding-bottom 138 | padding-left 139 | padding 140 | page-break-after 141 | page-break-before 142 | page-break-inside 143 | pause-after 144 | pause-before 145 | pause 146 | pitch-range 147 | pitch 148 | play-during 149 | position 150 | quotes 151 | richness 152 | right 153 | speak-header 154 | speak-numeral 155 | speak-punctuation 156 | speak 157 | speech-rate 158 | stress 159 | table-layout 160 | text-align 161 | text-decoration 162 | text-indent 163 | text-transform 164 | top 165 | unicode-bidi 166 | vertical-align 167 | visibility 168 | voice-family 169 | volume 170 | white-space 171 | widows 172 | width 173 | word-spacing 174 | z-index 175 | 176 | 177 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/html-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | a 17 | abbr 18 | address 19 | area 20 | article 21 | aside 22 | audio 23 | b 24 | base 25 | bdi 26 | blockquote 27 | body 28 | br 29 | button 30 | caption 31 | canvas 32 | cite 33 | code 34 | command 35 | col 36 | colgroup 37 | dd 38 | del 39 | dialog 40 | div 41 | dl 42 | dt 43 | em 44 | embed 45 | fieldset 46 | figcaption 47 | figure 48 | font 49 | form 50 | footer 51 | h1 52 | h2 53 | h3 54 | h4 55 | h5 56 | h6 57 | head 58 | header 59 | hr 60 | html 61 | i 62 | iframe 63 | img 64 | input 65 | ins 66 | kbd 67 | label 68 | legend 69 | li 70 | link 71 | map 72 | mark 73 | menu 74 | menu 75 | meta 76 | nav 77 | noscript 78 | object 79 | ol 80 | optgroup 81 | option 82 | p 83 | param 84 | pre 85 | q 86 | samp 87 | script 88 | section 89 | select 90 | small 91 | source 92 | span 93 | strong 94 | style 95 | sub 96 | summary 97 | sup 98 | table 99 | tbody 100 | td 101 | textarea 102 | tfoot 103 | th 104 | thead 105 | time 106 | title 107 | tr 108 | track 109 | u 110 | ul 111 | var 112 | video 113 | wbr 114 | xmp 115 | 116 | 117 | 118 | 119 | xsl: 120 | 121 | 122 | 123 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/ini-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | ; 33 | 34 | 35 | ^(\[.+\]\s*)$ 36 | 37 | MULTILINE 38 | 39 | 40 | 41 | ^(.+)(?==) 42 | 43 | MULTILINE 44 | 45 | 46 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/java-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | 33 | /** 34 | */ 35 | 36 | 37 | 38 | /* 39 | */ 40 | 41 | // 42 | 43 | " 44 | \ 45 | 46 | 47 | ' 48 | \ 49 | 50 | 51 | @ 52 | ( 53 | ) 54 | 55 | 56 | 0x 57 | 58 | 59 | 60 | . 61 | e 62 | f 63 | d 64 | l 65 | 66 | 67 | 68 | abstract 69 | boolean 70 | break 71 | byte 72 | case 73 | catch 74 | char 75 | class 76 | const 77 | continue 78 | default 79 | do 80 | double 81 | else 82 | extends 83 | final 84 | finally 85 | float 86 | for 87 | goto 88 | if 89 | implements 90 | import 91 | instanceof 92 | int 93 | interface 94 | long 95 | native 96 | new 97 | package 98 | private 99 | protected 100 | public 101 | return 102 | short 103 | static 104 | strictfp 105 | super 106 | switch 107 | synchronized 108 | this 109 | throw 110 | throws 111 | transient 112 | try 113 | void 114 | volatile 115 | while 116 | 117 | 118 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/javascript-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | 33 | /* 34 | */ 35 | 36 | // 37 | 38 | " 39 | \ 40 | 41 | 42 | ' 43 | \ 44 | 45 | 46 | 0x 47 | 48 | 49 | 50 | . 51 | e 52 | 53 | 54 | 55 | break 56 | case 57 | catch 58 | continue 59 | default 60 | delete 61 | do 62 | else 63 | finally 64 | for 65 | function 66 | if 67 | in 68 | instanceof 69 | new 70 | return 71 | switch 72 | this 73 | throw 74 | try 75 | typeof 76 | var 77 | void 78 | while 79 | with 80 | 81 | abstract 82 | boolean 83 | byte 84 | char 85 | class 86 | const 87 | debugger 88 | double 89 | enum 90 | export 91 | extends 92 | final 93 | float 94 | goto 95 | implements 96 | import 97 | int 98 | interface 99 | long 100 | native 101 | package 102 | private 103 | protected 104 | public 105 | short 106 | static 107 | super 108 | synchronized 109 | throws 110 | transient 111 | volatile 112 | 113 | 114 | prototype 115 | 116 | Array 117 | Boolean 118 | Date 119 | Error 120 | EvalError 121 | Function 122 | Math 123 | Number 124 | Object 125 | RangeError 126 | ReferenceError 127 | RegExp 128 | String 129 | SyntaxError 130 | TypeError 131 | URIError 132 | 133 | decodeURI 134 | decodeURIComponent 135 | encodeURI 136 | encodeURIComponent 137 | eval 138 | isFinite 139 | isNaN 140 | parseFloat 141 | parseInt 142 | 143 | Infinity 144 | NaN 145 | undefined 146 | 147 | 148 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/json-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | # 4 | 5 | " 6 | \ 7 | 8 | 9 | ' 10 | \ 11 | 12 | 13 | @ 14 | ( 15 | ) 16 | 17 | 18 | . 19 | e 20 | f 21 | d 22 | l 23 | 24 | 25 | 26 | true 27 | false 28 | 29 | 30 | { 31 | } 32 | , 33 | [ 34 | ] 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/perl-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | # 33 | 34 | << 35 | ' 36 | " 37 | 38 | 39 | 40 | " 41 | \ 42 | 43 | 44 | ' 45 | \ 46 | 47 | 48 | 49 | 0x 50 | 51 | 52 | 53 | . 54 | 55 | 56 | 57 | 58 | if 59 | unless 60 | while 61 | until 62 | foreach 63 | else 64 | elsif 65 | for 66 | when 67 | default 68 | given 69 | 70 | caller 71 | continue 72 | die 73 | do 74 | dump 75 | eval 76 | exit 77 | goto 78 | last 79 | next 80 | redo 81 | return 82 | sub 83 | wantarray 84 | 85 | caller 86 | import 87 | local 88 | my 89 | package 90 | use 91 | 92 | do 93 | import 94 | no 95 | package 96 | require 97 | use 98 | 99 | bless 100 | dbmclose 101 | dbmopen 102 | package 103 | ref 104 | tie 105 | tied 106 | untie 107 | use 108 | 109 | and 110 | or 111 | not 112 | eq 113 | ne 114 | lt 115 | gt 116 | le 117 | ge 118 | cmp 119 | 120 | 121 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/php-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | 33 | /** 34 | */ 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | /* 43 | */ 44 | 45 | // 46 | # 47 | 48 | " 49 | \ 50 | 51 | 52 | 53 | ' 54 | \ 55 | 56 | 57 | 58 | <<< 59 | 60 | 61 | 0x 62 | 63 | 64 | 65 | . 66 | e 67 | 68 | 69 | 70 | and 71 | or 72 | xor 73 | __FILE__ 74 | exception 75 | __LINE__ 76 | array 77 | as 78 | break 79 | case 80 | class 81 | const 82 | continue 83 | declare 84 | default 85 | die 86 | do 87 | echo 88 | else 89 | elseif 90 | empty 91 | enddeclare 92 | endfor 93 | endforeach 94 | endif 95 | endswitch 96 | endwhile 97 | eval 98 | exit 99 | extends 100 | for 101 | foreach 102 | function 103 | global 104 | if 105 | include 106 | include_once 107 | isset 108 | list 109 | new 110 | print 111 | require 112 | require_once 113 | return 114 | static 115 | switch 116 | unset 117 | use 118 | var 119 | while 120 | __FUNCTION__ 121 | __CLASS__ 122 | __METHOD__ 123 | final 124 | php_user_filter 125 | interface 126 | implements 127 | extends 128 | public 129 | private 130 | protected 131 | abstract 132 | clone 133 | try 134 | catch 135 | throw 136 | cfunction 137 | old_function 138 | true 139 | false 140 | 141 | namespace 142 | __NAMESPACE__ 143 | goto 144 | __DIR__ 145 | 146 | 147 | 148 | 149 | ?> 150 | <?php 151 | <?= 152 | 153 | 154 | 155 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/properties-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | # 33 | 34 | ^(.+?)(?==|:) 35 | 36 | MULTILINE 37 | 38 | 39 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/python-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | 33 | 34 | @ 35 | ( 36 | ) 37 | 38 | # 39 | 40 | """ 41 | 42 | 43 | 44 | ''' 45 | 46 | 47 | 48 | " 49 | \ 50 | 51 | 52 | ' 53 | \ 54 | 55 | 56 | 0x 57 | l 58 | 59 | 60 | 61 | . 62 | 63 | e 64 | l 65 | 66 | 67 | 68 | and 69 | del 70 | from 71 | not 72 | while 73 | as 74 | elif 75 | global 76 | or 77 | with 78 | assert 79 | else 80 | if 81 | pass 82 | yield 83 | break 84 | except 85 | import 86 | print 87 | class 88 | exec 89 | in 90 | raise 91 | continue 92 | finally 93 | is 94 | return 95 | def 96 | for 97 | lambda 98 | try 99 | 100 | 101 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/ruby-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 | # 33 | 34 | << 35 | 36 | 37 | 38 | " 39 | \ 40 | 41 | 42 | %Q{ 43 | } 44 | \ 45 | 46 | 47 | %/ 48 | / 49 | \ 50 | 51 | 52 | ' 53 | \ 54 | 55 | 56 | %q{ 57 | } 58 | \ 59 | 60 | 61 | 0x 62 | 63 | 64 | 65 | . 66 | e 67 | 68 | 69 | 70 | alias 71 | and 72 | BEGIN 73 | begin 74 | break 75 | case 76 | class 77 | def 78 | defined 79 | do 80 | else 81 | elsif 82 | END 83 | end 84 | ensure 85 | false 86 | for 87 | if 88 | in 89 | module 90 | next 91 | nil 92 | not 93 | or 94 | redo 95 | rescue 96 | retry 97 | return 98 | self 99 | super 100 | then 101 | true 102 | undef 103 | unless 104 | until 105 | when 106 | while 107 | yield 108 | 109 | 110 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes-docs/src/main/docbook/xsl/xslthl/yaml-hl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | # 4 | 5 | " 6 | \ 7 | 8 | 9 | ' 10 | \ 11 | 12 | 13 | @ 14 | ( 15 | ) 16 | 17 | 18 | . 19 | e 20 | f 21 | d 22 | l 23 | 24 | 25 | 26 | true 27 | false 28 | 29 | 30 | { 31 | } 32 | , 33 | [ 34 | ] 35 | 36 | 37 | 38 | ^(---)$ 39 | 40 | MULTILINE 41 | 42 | 43 | ^(.+?)(?==|:) 44 | 45 | MULTILINE 46 | 47 | 48 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes/.jdk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-cloud-dataflow-server-kubernetes/0d0b700e7ed17aff5e862512a315d305d3781c43/spring-cloud-dataflow-server-kubernetes/.jdk8 -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | spring-cloud-dataflow-server-kubernetes 5 | jar 6 | Kubernetes Data Flow Server 7 | 8 | org.springframework.cloud 9 | spring-cloud-dataflow-server-kubernetes-parent 10 | 2.0.0.BUILD-SNAPSHOT 11 | 12 | 13 | org.springframework.cloud.dataflow.server.kubernetes.KubernetesDataFlowServer 14 | 15 | 16 | 17 | org.springframework.cloud 18 | spring-cloud-dataflow-server-kubernetes-autoconfig 19 | 2.0.0.BUILD-SNAPSHOT 20 | 21 | 22 | org.springframework.cloud 23 | spring-cloud-starter-kubernetes-config 24 | runtime 25 | 26 | 27 | org.mariadb.jdbc 28 | mariadb-java-client 29 | runtime 30 | 31 | 32 | org.postgresql 33 | postgresql 34 | runtime 35 | 36 | 37 | org.springframework.boot 38 | spring-boot-starter-test 39 | test 40 | 41 | 42 | 43 | 44 | 45 | src/main/resources 46 | true 47 | 48 | META-INF/*.properties 49 | META-INF/spring.factories 50 | dataflow-server.yml 51 | 52 | 53 | 54 | 55 | 56 | org.apache.maven.plugins 57 | maven-resources-plugin 58 | 59 | 60 | org.springframework.boot 61 | spring-boot-maven-plugin 62 | 63 | 64 | io.fabric8 65 | docker-maven-plugin 66 | 0.21.0 67 | 68 | 69 | 70 | springcloud/${project.artifactId} 71 | 72 | 73 | latest 74 | ${project.version} 75 | 76 | springcloud/openjdk:latest 77 | 78 | /tmp 79 | 80 | 81 | 82 | java 83 | -jar 84 | /maven/spring-cloud-dataflow-server-kubernetes.jar 85 | 86 | 87 | 88 | assembly.xml 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes/src/main/docker/assembly.xml: -------------------------------------------------------------------------------- 1 | 5 | spring-cloud-dataflow-server-kubernetes 6 | 7 | 8 | 9 | org.springframework.cloud:spring-cloud-dataflow-server-kubernetes 10 | 11 | . 12 | spring-cloud-dataflow-server-kubernetes.jar 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes/src/main/java/org/springframework/cloud/dataflow/server/kubernetes/KubernetesDataFlowServer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.springframework.cloud.dataflow.server.kubernetes; 18 | 19 | import org.springframework.boot.SpringApplication; 20 | import org.springframework.boot.autoconfigure.SpringBootApplication; 21 | import org.springframework.boot.autoconfigure.session.SessionAutoConfiguration; 22 | import org.springframework.cloud.dataflow.server.EnableDataFlowServer; 23 | 24 | /** 25 | * Bootstrap class for the Kubernetes Spring Cloud Data Flow Server. 26 | * 27 | * @author Thomas Risberg 28 | */ 29 | @SpringBootApplication(exclude = SessionAutoConfiguration.class) 30 | @EnableDataFlowServer 31 | public class KubernetesDataFlowServer { 32 | 33 | public static void main(String[] args) { 34 | SpringApplication.run(KubernetesDataFlowServer.class, args); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes/src/main/resources/dataflow-server.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 9393 3 | management: 4 | contextPath: /management 5 | info: 6 | app: 7 | name: "@project.artifactId@" 8 | description: "@project.name@" 9 | version: "@project.version@" 10 | security: 11 | basic: 12 | enabled: false 13 | 14 | spring: 15 | application: 16 | name: spring-cloud-dataflow-server-kubernetes 17 | cloud: 18 | config: 19 | uri: http://localhost:8888 20 | 21 | --- 22 | # Configuration options for the deployer. The "environmentVariables" property should be set in 23 | # the server's ConfigMap when the server is deployed: 24 | spring: 25 | cloud: 26 | deployer: 27 | kubernetes: 28 | createLoadBalancer: false 29 | environmentVariables: '' 30 | 31 | # If you prefer to use Eureka to locate the Config Server, you can do that by setting 32 | # spring.cloud.config.discovery.enabled=true (default "false"). The net result of that is 33 | # that client apps all need a bootstrap.yml (or an environment variable) with the Eureka 34 | # server address, e.g. in eureka.client.serviceUrl.defaultZone 35 | #--- 36 | #spring: 37 | # cloud: 38 | # config: 39 | # discovery: 40 | # enabled: true 41 | #eureka: 42 | # client: 43 | # serviceUrl: 44 | # defaultZone: http://localhost:8761/eureka/ 45 | -------------------------------------------------------------------------------- /spring-cloud-dataflow-server-kubernetes/src/test/java/org/springframework/cloud/dataflow/server/kubernetes/ContextLoadsTests.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015-2016 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.cloud.dataflow.server.kubernetes; 17 | 18 | import org.junit.Test; 19 | import org.junit.runner.RunWith; 20 | 21 | import org.springframework.boot.test.context.SpringBootTest; 22 | import org.springframework.test.context.junit4.SpringRunner; 23 | 24 | @RunWith(SpringRunner.class) 25 | @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KubernetesDataFlowServer.class) 26 | public class ContextLoadsTests { 27 | 28 | @Test 29 | public void contextLoads() { 30 | 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/checkstyle/checkstyle-header.txt: -------------------------------------------------------------------------------- 1 | ^\Q/*\E$ 2 | ^\Q * Copyright \E(20\d\d\-)?20\d\d\Q the original author or authors.\E$ 3 | ^\Q *\E$ 4 | ^\Q * Licensed under the Apache License, Version 2.0 (the "License");\E$ 5 | ^\Q * you may not use this file except in compliance with the License.\E$ 6 | ^\Q * You may obtain a copy of the License at\E$ 7 | ^\Q *\E$ 8 | ^\Q * https://www.apache.org/licenses/LICENSE-2.0\E$ 9 | ^\Q *\E$ 10 | ^\Q * Unless required by applicable law or agreed to in writing, software\E$ 11 | ^\Q * distributed under the License is distributed on an "AS IS" BASIS,\E$ 12 | ^\Q * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\E$ 13 | ^\Q * See the License for the specific language governing permissions and\E$ 14 | ^\Q * limitations under the License.\E$ 15 | ^\Q */\E$ 16 | -------------------------------------------------------------------------------- /src/checkstyle/checkstyle.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 59 | 60 | 61 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 152 | 153 | 154 | 166 | 167 | 168 | -------------------------------------------------------------------------------- /src/eclipse/eclipse.importorder: -------------------------------------------------------------------------------- 1 | #Organize Import Order 2 | #Wed Apr 26 12:53:22 EDT 2017 3 | 4=\# 4 | 3=org.springframework 5 | 2= 6 | 1=javax 7 | 0=java 8 | -------------------------------------------------------------------------------- /src/kubernetes/kafka/kafka-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: kafka-broker 5 | labels: 6 | app: kafka 7 | component: kafka-broker 8 | spec: 9 | replicas: 1 10 | template: 11 | metadata: 12 | labels: 13 | app: kafka 14 | component: kafka-broker 15 | spec: 16 | containers: 17 | - name: kafka 18 | image: wurstmeister/kafka:1.1.0 19 | ports: 20 | - containerPort: 9092 21 | env: 22 | - name: ENABLE_AUTO_EXTEND 23 | value: "true" 24 | - name: KAFKA_RESERVED_BROKER_MAX_ID 25 | value: "999999999" 26 | - name: KAFKA_AUTO_CREATE_TOPICS_ENABLE 27 | value: "false" 28 | - name: KAFKA_PORT 29 | value: "9092" 30 | - name: KAFKA_ADVERTISED_PORT 31 | value: "9092" 32 | - name: KAFKA_ADVERTISED_HOST_NAME 33 | valueFrom: 34 | fieldRef: 35 | fieldPath: status.podIP 36 | - name: KAFKA_ZOOKEEPER_CONNECT 37 | value: kafka-zk:2181 38 | -------------------------------------------------------------------------------- /src/kubernetes/kafka/kafka-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: kafka 5 | labels: 6 | app: kafka 7 | component: kafka-broker 8 | spec: 9 | ports: 10 | - port: 9092 11 | name: kafka-port 12 | targetPort: 9092 13 | protocol: TCP 14 | selector: 15 | app: kafka 16 | component: kafka-broker -------------------------------------------------------------------------------- /src/kubernetes/kafka/kafka-zk-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: kafka-zk 5 | labels: 6 | app: kafka 7 | component: kafka-zk 8 | spec: 9 | replicas: 1 10 | template: 11 | metadata: 12 | labels: 13 | app: kafka-zk 14 | component: kafka-zk 15 | spec: 16 | containers: 17 | - name: kafka-zk 18 | image: digitalwonderland/zookeeper 19 | ports: 20 | - containerPort: 2181 21 | env: 22 | - name: ZOOKEEPER_ID 23 | value: "1" 24 | - name: ZOOKEEPER_SERVER_1 25 | value: kafka-zk -------------------------------------------------------------------------------- /src/kubernetes/kafka/kafka-zk-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: kafka-zk 5 | labels: 6 | app: kafka 7 | component: kafka-zk 8 | spec: 9 | ports: 10 | - name: client 11 | port: 2181 12 | protocol: TCP 13 | - name: follower 14 | port: 2888 15 | protocol: TCP 16 | - name: leader 17 | port: 3888 18 | protocol: TCP 19 | selector: 20 | app: kafka-zk 21 | component: kafka-zk -------------------------------------------------------------------------------- /src/kubernetes/metrics/metrics-deployment-kafka.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: metrics 5 | labels: 6 | app: metrics 7 | spec: 8 | selector: 9 | matchLabels: 10 | app: metrics 11 | replicas: 1 12 | template: 13 | metadata: 14 | labels: 15 | app: metrics 16 | spec: 17 | containers: 18 | - name: metrics 19 | image: springcloud/metrics-collector-kafka:2.0.0.RELEASE 20 | imagePullPolicy: Always 21 | ports: 22 | - containerPort: 80 23 | resources: 24 | limits: 25 | cpu: 1.0 26 | memory: 2048Mi 27 | requests: 28 | cpu: 0.5 29 | memory: 1024Mi 30 | env: 31 | - name: SERVER_PORT 32 | value: '80' 33 | - name: SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS 34 | value: '${KAFKA_SERVICE_HOST}:${KAFKA_SERVICE_PORT}' 35 | - name: SPRING_CLOUD_STREAM_KAFKA_BINDER_ZK_NODES 36 | value: '${KAFKA_ZK_SERVICE_HOST}:${KAFKA_ZK_SERVICE_PORT}' 37 | - name: SPRING_AUTOCONFIGURE_EXCLUDE 38 | value: 'org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration' 39 | -------------------------------------------------------------------------------- /src/kubernetes/metrics/metrics-deployment-rabbit.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: metrics 5 | labels: 6 | app: metrics 7 | spec: 8 | selector: 9 | matchLabels: 10 | app: metrics 11 | replicas: 1 12 | template: 13 | metadata: 14 | labels: 15 | app: metrics 16 | spec: 17 | containers: 18 | - name: metrics 19 | image: springcloud/metrics-collector-rabbit:2.0.0.RELEASE 20 | imagePullPolicy: Always 21 | ports: 22 | - containerPort: 80 23 | resources: 24 | limits: 25 | cpu: 1.0 26 | memory: 2048Mi 27 | requests: 28 | cpu: 0.5 29 | memory: 1024Mi 30 | env: 31 | - name: SERVER_PORT 32 | value: '80' 33 | - name: SPRING_RABBITMQ_HOST 34 | value: '${RABBITMQ_SERVICE_HOST}' 35 | - name: SPRING_RABBITMQ_PORT 36 | value: '${RABBITMQ_SERVICE_PORT}' 37 | - name: SPRING_AUTOCONFIGURE_EXCLUDE 38 | value: 'org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration' 39 | -------------------------------------------------------------------------------- /src/kubernetes/metrics/metrics-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: metrics 5 | labels: 6 | app: metrics 7 | spec: 8 | ports: 9 | - port: 80 10 | selector: 11 | app: metrics 12 | -------------------------------------------------------------------------------- /src/kubernetes/mysql/mysql-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: mysql 5 | labels: 6 | app: mysql 7 | spec: 8 | replicas: 1 9 | template: 10 | metadata: 11 | labels: 12 | app: mysql 13 | spec: 14 | containers: 15 | - image: mysql:5.6 16 | name: mysql 17 | env: 18 | - name: MYSQL_ROOT_PASSWORD 19 | # You can change this password - if you do change the base64 encoded value in the secrets file 20 | value: yourpassword 21 | ports: 22 | - containerPort: 3306 23 | name: mysql 24 | volumeMounts: 25 | - name: data 26 | mountPath: /var/lib/mysql 27 | volumes: 28 | - name: data 29 | persistentVolumeClaim: 30 | claimName: mysql 31 | -------------------------------------------------------------------------------- /src/kubernetes/mysql/mysql-pvc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: PersistentVolumeClaim 3 | metadata: 4 | name: mysql 5 | labels: 6 | app: mysql 7 | annotations: 8 | volume.alpha.kubernetes.io/storage-class: default 9 | spec: 10 | accessModes: 11 | - ReadWriteOnce 12 | resources: 13 | requests: 14 | storage: 8Gi 15 | -------------------------------------------------------------------------------- /src/kubernetes/mysql/mysql-secrets.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Secret 3 | metadata: 4 | name: mysql 5 | labels: 6 | app: mysql 7 | data: 8 | mysql-root-password: eW91cnBhc3N3b3Jk 9 | -------------------------------------------------------------------------------- /src/kubernetes/mysql/mysql-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: mysql 5 | labels: 6 | app: mysql 7 | spec: 8 | ports: 9 | - port: 3306 10 | selector: 11 | app: mysql 12 | -------------------------------------------------------------------------------- /src/kubernetes/rabbitmq/rabbitmq-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: rabbitmq 5 | labels: 6 | app: rabbitmq 7 | spec: 8 | replicas: 1 9 | template: 10 | metadata: 11 | labels: 12 | app: rabbitmq 13 | spec: 14 | containers: 15 | - image: rabbitmq:3.6.10 16 | name: rabbitmq 17 | ports: 18 | - containerPort: 5672 19 | -------------------------------------------------------------------------------- /src/kubernetes/rabbitmq/rabbitmq-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: rabbitmq 5 | labels: 6 | app: rabbitmq 7 | spec: 8 | ports: 9 | - port: 5672 10 | selector: 11 | app: rabbitmq 12 | -------------------------------------------------------------------------------- /src/kubernetes/redis/redis-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: redis 5 | labels: 6 | app: redis 7 | spec: 8 | replicas: 1 9 | template: 10 | metadata: 11 | labels: 12 | app: redis 13 | spec: 14 | containers: 15 | - name: redis 16 | image: redis:2.8 17 | ports: 18 | - containerPort: 6379 19 | volumeMounts: 20 | - mountPath: /redis-master-data 21 | name: data 22 | volumes: 23 | - name: data 24 | emptyDir: {} 25 | -------------------------------------------------------------------------------- /src/kubernetes/redis/redis-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: redis 5 | labels: 6 | app: redis 7 | spec: 8 | ports: 9 | - port: 6379 10 | selector: 11 | app: redis 12 | -------------------------------------------------------------------------------- /src/kubernetes/server/server-config-kafka.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | name: scdf-server 5 | labels: 6 | app: scdf-server 7 | data: 8 | application.yaml: |- 9 | security: 10 | basic: 11 | enabled: true 12 | realm: Spring Cloud Data Flow 13 | spring: 14 | cloud: 15 | dataflow: 16 | security: 17 | authentication: 18 | file: 19 | enabled: true 20 | users: 21 | admin: "{noop}admin, ROLE_MANAGE, ROLE_VIEW" 22 | user: "{noop}password, ROLE_VIEW, ROLE_CREATE" 23 | task: 24 | platform: 25 | kubernetes: 26 | accounts: 27 | default: 28 | environmentVariables: 'SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS=${KAFKA_SERVICE_HOST}:${KAFKA_SERVICE_PORT},SPRING_CLOUD_STREAM_KAFKA_BINDER_ZK_NODES=${KAFKA_ZK_SERVICE_HOST}:${KAFKA_ZK_SERVICE_PORT},SPRING_REDIS_HOST=${REDIS_SERVICE_HOST},SPRING_REDIS_PORT=${REDIS_SERVICE_PORT}' 29 | datasource: 30 | url: jdbc:mysql://${MYSQL_SERVICE_HOST}:${MYSQL_SERVICE_PORT}/mysql 31 | username: root 32 | password: ${mysql-root-password} 33 | driverClassName: org.mariadb.jdbc.Driver 34 | testOnBorrow: true 35 | validationQuery: "SELECT 1" 36 | redis: 37 | host: ${REDIS_SERVICE_HOST} 38 | port: ${REDIS_SERVICE_PORT} 39 | -------------------------------------------------------------------------------- /src/kubernetes/server/server-config-rabbit.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | name: scdf-server 5 | labels: 6 | app: scdf-server 7 | data: 8 | application.yaml: |- 9 | security: 10 | basic: 11 | enabled: true 12 | realm: Spring Cloud Data Flow 13 | spring: 14 | cloud: 15 | dataflow: 16 | security: 17 | authentication: 18 | file: 19 | enabled: true 20 | users: 21 | admin: "{noop}admin, ROLE_MANAGE, ROLE_VIEW" 22 | user: "{noop}password, ROLE_VIEW, ROLE_CREATE" 23 | task: 24 | platform: 25 | kubernetes: 26 | accounts: 27 | default: 28 | environmentVariables: 'SPRING_RABBITMQ_HOST=${RABBITMQ_SERVICE_HOST},SPRING_RABBITMQ_PORT=${RABBITMQ_SERVICE_PORT},SPRING_REDIS_HOST=${REDIS_SERVICE_HOST},SPRING_REDIS_PORT=${REDIS_SERVICE_PORT}' 29 | datasource: 30 | url: jdbc:mysql://${MYSQL_SERVICE_HOST}:${MYSQL_SERVICE_PORT}/mysql 31 | username: root 32 | password: ${mysql-root-password} 33 | driverClassName: org.mariadb.jdbc.Driver 34 | testOnBorrow: true 35 | validationQuery: "SELECT 1" 36 | redis: 37 | host: ${REDIS_SERVICE_HOST} 38 | port: ${REDIS_SERVICE_PORT} 39 | -------------------------------------------------------------------------------- /src/kubernetes/server/server-deployment-debug.yaml: -------------------------------------------------------------------------------- 1 | spec: 2 | template: 3 | spec: 4 | containers: 5 | - name: scdf-server 6 | ports: 7 | - containerPort: 5005 8 | env: 9 | - name: JAVA_TOOL_OPTIONS 10 | value: '-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005' 11 | -------------------------------------------------------------------------------- /src/kubernetes/server/server-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: scdf-server 5 | labels: 6 | app: scdf-server 7 | spec: 8 | selector: 9 | matchLabels: 10 | app: scdf-server 11 | replicas: 1 12 | template: 13 | metadata: 14 | labels: 15 | app: scdf-server 16 | spec: 17 | containers: 18 | - name: scdf-server 19 | image: springcloud/spring-cloud-dataflow-server:2.0.0.BUILD-SNAPSHOT 20 | imagePullPolicy: Always 21 | ports: 22 | - containerPort: 80 23 | resources: 24 | limits: 25 | cpu: 1.0 26 | memory: 2048Mi 27 | requests: 28 | cpu: 0.5 29 | memory: 1024Mi 30 | env: 31 | - name: KUBERNETES_NAMESPACE 32 | valueFrom: 33 | fieldRef: 34 | fieldPath: "metadata.namespace" 35 | - name: SERVER_PORT 36 | value: '80' 37 | - name: SPRING_CLOUD_CONFIG_ENABLED 38 | value: 'false' 39 | - name: SPRING_CLOUD_DATAFLOW_FEATURES_ANALYTICS_ENABLED 40 | value: 'true' 41 | - name: SPRING_CLOUD_DATAFLOW_FEATURES_SCHEDULES_ENABLED 42 | value: 'true' 43 | - name: SPRING_CLOUD_DEPLOYER_KUBERNETES_CREATE_DEPLOYMENT 44 | value: 'true' 45 | - name: SPRING_CLOUD_DEPLOYER_KUBERNETES_MEMORY 46 | value: 1024Mi 47 | - name: SPRING_CLOUD_DEPLOYER_KUBERNETES_READINESS_PROBE_DELAY 48 | value: '90' 49 | - name: SPRING_CLOUD_DEPLOYER_KUBERNETES_LIVENESS_PROBE_DELAY 50 | value: '90' 51 | - name: SPRING_CLOUD_KUBERNETES_SECRETS_ENABLE_API 52 | value: 'true' 53 | - name: SPRING_CLOUD_KUBERNETES_SECRETS_NAME 54 | value: mysql 55 | - name: SPRING_CLOUD_KUBERNETES_CONFIG_NAME 56 | value: scdf-server 57 | - name: SPRING_CLOUD_DATAFLOW_METRICS_COLLECTOR_URI 58 | value: 'http://${METRICS_SERVICE_HOST}' 59 | - name: SPRING_CLOUD_DATAFLOW_SERVER_URI 60 | value: 'http://${SCDF_SERVER_SERVICE_HOST}:${SCDF_SERVER_SERVICE_PORT}' 61 | # Provide the Skipper service location 62 | - name: SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI 63 | value: 'http://${SKIPPER_SERVICE_HOST}/api' 64 | # Add Maven repo for metadata artifact resolution plus set metrics destination for all stream apps 65 | - name: SPRING_APPLICATION_JSON 66 | value: "{ \"maven\": { \"local-repository\": null, \"remote-repositories\": { \"repo1\": { \"url\": \"https://repo.spring.io/libs-snapshot\"} } }, \"spring.cloud.dataflow.application-properties.stream.spring.cloud.stream.bindings.applicationMetrics.destination\": \"metrics\" }" 67 | serviceAccountName: scdf-sa 68 | -------------------------------------------------------------------------------- /src/kubernetes/server/server-rolebinding.yaml: -------------------------------------------------------------------------------- 1 | kind: RoleBinding 2 | apiVersion: rbac.authorization.k8s.io/v1beta1 3 | metadata: 4 | name: scdf-rb 5 | subjects: 6 | - kind: ServiceAccount 7 | name: scdf-sa 8 | roleRef: 9 | kind: Role 10 | name: scdf-role 11 | apiGroup: rbac.authorization.k8s.io 12 | -------------------------------------------------------------------------------- /src/kubernetes/server/server-roles.yaml: -------------------------------------------------------------------------------- 1 | kind: Role 2 | apiVersion: rbac.authorization.k8s.io/v1 3 | metadata: 4 | name: scdf-role 5 | rules: 6 | - apiGroups: [""] 7 | resources: ["services", "pods", "replicationcontrollers", "persistentvolumeclaims"] 8 | verbs: ["get", "list", "watch", "create", "delete", "update"] 9 | - apiGroups: [""] 10 | resources: ["configmaps", "secrets"] 11 | verbs: ["get", "list", "watch"] 12 | - apiGroups: ["apps"] 13 | resources: ["statefulsets", "deployments", "replicasets"] 14 | verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] 15 | - apiGroups: ["extensions"] 16 | resources: ["deployments", "replicasets", "jobs"] 17 | verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] 18 | - apiGroups: ["batch"] 19 | resources: ["cronjobs"] 20 | verbs: ["create", "delete", "get", "list", "watch"] 21 | -------------------------------------------------------------------------------- /src/kubernetes/server/server-svc-debug.yaml: -------------------------------------------------------------------------------- 1 | spec: 2 | ports: 3 | - port: 5005 4 | name: scdf-server-jdwp 5 | -------------------------------------------------------------------------------- /src/kubernetes/server/server-svc.yaml: -------------------------------------------------------------------------------- 1 | kind: Service 2 | apiVersion: v1 3 | metadata: 4 | name: scdf-server 5 | labels: 6 | app: scdf-server 7 | spec: 8 | # If you are running k8s on a local dev box or using minikube, you can use type NodePort instead 9 | type: LoadBalancer 10 | ports: 11 | - port: 80 12 | name: scdf-server 13 | selector: 14 | app: scdf-server 15 | -------------------------------------------------------------------------------- /src/kubernetes/server/service-account.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ServiceAccount 3 | metadata: 4 | name: scdf-sa 5 | -------------------------------------------------------------------------------- /src/kubernetes/skipper/skipper-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: skipper 5 | labels: 6 | app: skipper 7 | spec: 8 | selector: 9 | matchLabels: 10 | app: skipper 11 | replicas: 1 12 | template: 13 | metadata: 14 | labels: 15 | app: skipper 16 | spec: 17 | containers: 18 | - name: skipper 19 | image: springcloud/spring-cloud-skipper-server:1.1.1.BUILD-SNAPSHOT 20 | imagePullPolicy: Always 21 | ports: 22 | - containerPort: 80 23 | resources: 24 | limits: 25 | cpu: 1.0 26 | memory: 1024Mi 27 | requests: 28 | cpu: 0.5 29 | memory: 640Mi 30 | env: 31 | - name: SPRING_APPLICATION_JSON 32 | value: "{\"spring.cloud.skipper.server.enableLocalPlatform\" : false, \"spring.cloud.skipper.server.platform.kubernetes.accounts.minikube.environmentVariables\" : \"SPRING_RABBITMQ_HOST=${RABBITMQ_SERVICE_HOST},SPRING_RABBITMQ_PORT=${RABBITMQ_SERVICE_PORT}\",\"spring.cloud.skipper.server.platform.kubernetes.accounts.minikube.memory\" : \"1024Mi\", \"spring.cloud.skipper.server.platform.kubernetes.accounts.minikube.readinessProbeDelay\" : \"90\", \"spring.cloud.skipper.server.platform.kubernetes.accounts.minikube.livenessProbeDelay\" : \"90\"}" 33 | serviceAccountName: scdf-sa 34 | -------------------------------------------------------------------------------- /src/kubernetes/skipper/skipper-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: skipper 5 | labels: 6 | app: skipper 7 | spec: 8 | # If you are running k8s on a local dev box or using minikube, you can use type NodePort instead 9 | type: LoadBalancer 10 | ports: 11 | - port: 80 12 | targetPort: 7577 13 | selector: 14 | app: skipper 15 | --------------------------------------------------------------------------------
'
"