diff --git a/README.adoc b/README.adoc
index ee7640f4..75986993 100644
--- a/README.adoc
+++ b/README.adoc
@@ -7,7 +7,7 @@
Spring Cloud Kubernetes provide Spring Cloud common interfaces implementations to consume Kubernetes native services.
The main objective of the projects provided in this repository is to facilitate the integration of Spring Cloud/Spring Boot applications running inside Kubernetes.
-= DiscoveryClient for Kubernetes
+== DiscoveryClient for Kubernetes
This project provides an implementation of https://github.com/spring-cloud/spring-cloud-commons/blob/master/spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/DiscoveryClient.java[Discovery Client]
for http://kubernetes.io[Kubernetes].
@@ -18,16 +18,17 @@ to fetch the list of the endpoints defined for an application to be load balance
This is something that you get for free just by adding the following dependency inside your project:
-[source,xml]
+```xml
org.springframework.cloud
spring-cloud-starter-kubernetes
${latest.version}
+```
To enable loading of the `DiscoveryClient`, add `@EnableDiscoveryClient` to the according configuration or application class like this:
-[source,java]
+```java
@SpringBootApplication
@EnableDiscoveryClient
public class Application {
@@ -35,30 +36,32 @@ public class Application {
SpringApplication.run(Application.class, args);
}
}
+```
Then you can inject the client in your code simply by:
-[source,java]
+```java
@Autowired
private DiscoveryClient discoveryClient;
+```
If for any reason you need to disable the `DiscoveryClient` you can simply set the following property in `application.properties`:
-----
+```
spring.cloud.kubernetes.discovery.enabled=false
-----
+```
Some Spring Cloud components use the `DiscoveryClient` in order to obtain info about the local service instance. For
this to work you need to align the Kubernetes service name with the `spring.application.name` property.
-= Kubernetes PropertySource implementations
+== Kubernetes PropertySource implementations
The most common approach to configure your Spring Boot application is to create an `application.properties|yaml` or
an `application-profile.properties|yaml` file containing key-value pairs providing customization values to your
application or Spring Boot starters. Users may override these properties by specifying system properties or environment
variables.
-== ConfigMap PropertySource
+=== ConfigMap PropertySource
Kubernetes provides a resource named http://kubernetes.io/docs/user-guide/configmap/[ConfigMap] to externalize the
parameters to pass to your application in the form of key-value pairs or embedded `application.properties|yaml` files.
@@ -74,7 +77,7 @@ However, more advanced configuration are possible where multiple ConfigMaps can
This is made possible by the `spring.cloud.kubernetes.config.sources` list.
For example one could define the following ConfigMaps
-[source,yaml]
+```yaml
spring:
application:
name: cloud-k8s-app
@@ -91,6 +94,7 @@ spring:
# Spring Cloud Kubernetes will lookup a ConfigMap named c3 in namespace n3
- namespace: n3
name: c3
+```
In the example above, it `spring.cloud.kubernetes.config.namespace` had not been set,
then the ConfigMap named `c1` would be looked up in the namespace that the application runs
@@ -118,7 +122,7 @@ configuration.
This can be externalized to config map in `yaml` format:
-[source,yaml]
+```yaml
kind: ConfigMap
apiVersion: v1
metadata:
@@ -126,11 +130,12 @@ metadata:
data:
pool.size.core: 1
pool.size.max: 16
+```
Individual properties work fine for most cases but sometimes embedded `yaml` is more convenient. In this case we will
use a single property named `application.yaml` to embed our `yaml`:
-[source,yaml]
+ ```yaml
kind: ConfigMap
apiVersion: v1
metadata:
@@ -141,10 +146,11 @@ data:
size:
core: 1
max:16
+```
The following also works:
-[source,yaml]
+ ```yaml
kind: ConfigMap
apiVersion: v1
metadata:
@@ -155,13 +161,14 @@ data:
size:
core: 1
max:16
+```
Spring Boot applications can also be configured differently depending on active profiles which will be merged together
when the ConfigMap is read. It is possible to provide different property values for different profiles using an
`application.properties|yaml` property, specifying profile-specific values each in their own document
(indicated by the `---` sequence) as follows:
-[source,yaml]
+```yaml
kind: ConfigMap
apiVersion: v1
metadata:
@@ -184,20 +191,22 @@ data:
profiles: production
greeting:
message: Say Hello to the Ops
+```
In the above case, the configuration loaded into your Spring Application with the `development` profile will be:
-[source,yaml]
+```yaml
greeting:
message: Say Hello to the Developers
farewell:
message: Say Goodbye to the Developers
-
+```
whereas if the `production` profile is active, the configuration will be:
-[source,yaml]
+```yaml
greeting:
message: Say Hello to the Ops
farewell:
message: Say Goodbye
+```
If both profiles are active, the property which appears last within the configmap will overwrite preceding values.
@@ -206,7 +215,7 @@ To tell to Spring Boot which `profile` should be enabled at bootstrap, a system
command launching your Spring Boot application using an env variable that you will define with the OpenShift
`DeploymentConfig` or Kubernetes `ReplicationConfig` resource file as follows:
-[source,yaml]
+```yaml
apiVersion: v1
kind: DeploymentConfig
spec:
@@ -219,6 +228,7 @@ spec:
value: /deployments
- name: JAVA_OPTIONS
value: -Dspring.profiles.active=developer
+```
**Notes:**
- check the security configuration section, to access config maps from inside a pod you need to have the correct
@@ -235,7 +245,7 @@ Kubernetes service accounts, roles and role bindings.
| spring.cloud.kubernetes.config.enableApi | Boolean | true | Enable/Disable consuming ConfigMaps via APIs
|===
-== Secrets PropertySource
+=== Secrets PropertySource
Kubernetes has the notion of [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) for storing
sensitive data such as password, OAuth tokens, etc. This project provides integration with `Secrets` to make secrets
@@ -247,7 +257,8 @@ The `SecretsPropertySource` when enabled will lookup Kubernetes for `Secrets` fr
3. matching some labels
Please note that by default, consuming Secrets via API (points 2 and 3 above) **is not enabled** for security reasons
- and it is recommend that containers share secrets via mounted volumes.
+ and it is recommend that containers share secrets via mounted volumes. Otherwise proper RBAC security configurations must be provided
+ to make sure that unauthorized access to Secrets occurs.
If the secrets are found their data is made available to the application.
@@ -256,13 +267,13 @@ If the secrets are found their data is made available to the application.
Let's assume that we have a spring boot application named ``demo`` that uses properties to read its database
configuration. We can create a Kubernetes secret using the following command:
-----
+```
oc create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
-----
+```
This would create the following secret (shown using `oc get secrets db-secret -o yaml`):
-[source,yaml]
+```yaml
apiVersion: v1
data:
password: cDQ1NXcwcmQ=
@@ -276,12 +287,14 @@ metadata:
selfLink: /api/v1/namespaces/default/secrets/db-secret
uid: 63c89263-6099-11e7-b3da-76d6186905a8
type: Opaque
+```
+
Note that the data contains Base64-encoded versions of the literal provided by the create command.
This secret can then be used by your application for example by exporting the secret's value as environment variables:
-[source,yaml]
+```yaml
apiVersion: v1
kind: Deployment
metadata:
@@ -301,6 +314,7 @@ spec:
secretKeyRef:
name: db-secret
key: password
+```
You can select the Secrets to consume in a number of ways:
@@ -347,7 +361,7 @@ https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-Configuration-Bi
Example of application using secrets (though it hasn't been updated to use the new `spring-cloud-kubernetes` project):
https://github.com/fabric8-quickstarts/spring-boot-camel-config[spring-boot-camel-config]
-== PropertySource Reload
+=== PropertySource Reload
Some applications may need to detect changes on external property sources and update their internal status to reflect the new configuration.
The reload feature of Spring Cloud Kubernetes is able to trigger an application reload when a related `ConfigMap` or
@@ -368,8 +382,7 @@ Example:
Assuming that the reload feature is enabled with default settings (*`refresh`* mode), the following bean will be refreshed when the config map changes:
-[source,java]
-----
+```java
@Configuration
@ConfigurationProperties(prefix = "bean")
public class MyConfig {
@@ -379,12 +392,11 @@ public class MyConfig {
// getter and setters
}
-----
+```
A way to see that changes effectively happen is creating another bean that prints the message periodically.
-[source,java]
-----
+```java
@Component
public class MyBean {
@@ -396,12 +408,11 @@ public class MyBean {
System.out.println("The message is: " + config.getMessage());
}
}
-----
+```
The message printed by the application can be changed using a `ConfigMap` as follows:
-[source,java]
-----
+```yaml
apiVersion: v1
kind: ConfigMap
metadata:
@@ -409,7 +420,7 @@ metadata:
data:
application.properties: |-
bean.message=Hello World!
-----
+```
Any change to the property named `bean.message` in the `ConfigMap` associated to the pod will be reflected in the
output. More generally speaking, changes associated to properties prefixed with the value defined by the `prefix`
@@ -444,7 +455,7 @@ This means, for example, that using polling on file mounted secret sources does
- Deleting a property or the whole config map does not restore the original state of the beans when using the *refresh* level.
-# Ribbon discovery in Kubernetes
+== Ribbon discovery in Kubernetes
Spring Cloud client applications calling a microservice should be interested on relying on a client load-balancing
@@ -455,18 +466,20 @@ about such endpoints.
The implementation is part of the following starter that you can use by adding its dependency to your pom file:
-[source,xml]
+```xml
org.springframework.cloud
- spring-cloud-starter-kubernetes-netflix
+ spring-cloud-starter-kubernetes-ribbon
${latest.version}
+```
When the list of the endpoints is populated, the Kubernetes client will search the registered endpoints living in
the current namespace/project matching the service name defined using the Ribbon Client annotation:
-[source,java]
+```java
@RibbonClient(name = "name-service")
+```
You can configure Ribbon's behavior by providing properties in your `application.properties` (via your application's
dedicated `ConfigMap`) using the following format: `.ribbon.` where:
@@ -493,7 +506,7 @@ Examples that are using this module for ribbon discovery are:
`spring.cloud.kubernetes.ribbon.enabled=false`.
-= Kubernetes Awareness
+== Kubernetes Awareness
All of the features described above will work equally well regardless of whether your application is running inside
Kubernetes or not. This is really helpful for development and troubleshooting.
@@ -503,13 +516,13 @@ as the code of the project relies on the
[Fabric8 Kubernetes Java client](https://github.com/fabric8io/kubernetes-client) which is a fluent DSL able to
communicate using `http` protocol to the REST API of Kubernetes Server.
-== Kubernetes Profile Autoconfiguration
+=== Kubernetes Profile Autoconfiguration
When the application runs as a pod inside Kubernetes a Spring profile named `kubernetes` will automatically get activated.
This allows the developer to customize the configuration, to define beans that will be applied when the Spring Boot application is deployed
within the Kubernetes platform *(e.g. different dev and prod configuration)*.
-= Pod Health Indicator
+== Pod Health Indicator
Spring Boot uses https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthEndpoint.java[HealthIndicator] to expose info about the health of an application.
That makes it really useful for exposing health related information to the user and are also a good fit for use as https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/[readiness probes].
@@ -520,17 +533,17 @@ The Kubernetes health indicator which is part of the core module exposes the fol
- flag that indicates if the Spring Boot application is internal or external to Kubernetes
-= Leader Election
+== Leader Election
-# Security Configurations inside Kubernetes
+== Security Configurations inside Kubernetes
-## Namespace
+=== Namespace
Most of the components provided in this project need to know the namespace. For Kubernetes (1.3+) the namespace is made available to pod as part of the service account secret and automatically detected by the client.
For earlier version it needs to be specified as an env var to the pod. A quick way to do this is:
-[source,yaml]
+
env:
- name: "KUBERNETES_NAMESPACE"
valueFrom:
@@ -538,17 +551,46 @@ For earlier version it needs to be specified as an env var to the pod. A quick w
fieldPath: "metadata.namespace"
-## Service Account
+=== Service Account
For distros of Kubernetes that support more fine-grained role-based access within the cluster, you need to make sure a pod that runs with spring-cloud-kubernetes has access to the Kubernetes API.
For any service accounts you assign to a deployment/pod, you need to make sure it has the correct roles. For example, you can add `cluster-reader` permissions to your `default` service account depending on the project you're in:
-= Examples
+== Examples
+
+Spring Cloud Kubernetes tries to make it transparent for your applications to consume Kubernetes Native Services
+following the Spring Cloud interfaces.
+
+In your applications, you need to add the **spring-cloud-kubernetes-discovery** dependency to your classpath and remove any other dependency that contains a **DiscoveryClient** implementation (ie. Eureka Discovery Client).
+The same applies for PropertySourceLocator, where you need to add to the classpath the **spring-cloud-kubernetes-config** and remove any other dependency that contains a **PropertySourceLocator** implementation (ie. Config Server Client).
+
+The following projects highlight the usage of these dependencies and demonstrate how these libraries can be used from any Spring Boot application.
List of examples using these projects:
-
+- https://github.com/spring-cloud/spring-cloud-kubernetes/tree/master/spring-cloud-kubernetes-examples[Spring Cloud Kubernetes Examples]: the ones located inside this repository.
+- Spring Cloud Kubernetes Full Example: Minions and Boss
+ - https://github.com/salaboy/spring-cloud-k8s-minion[Minion]
+ - https://github.com/salaboy/spring-cloud-k8s-boss[Boss]
+- Spring Cloud Kubernetes Full Example: https://github.com/salaboy/s1p_docs[SpringOne Platform Tickets Service]
+- https://github.com/salaboy/s1p_gateway[Spring Cloud Gateway with Spring Cloud Kubernetes Discovery and Config]
+- https://github.com/salaboy/showcase-admin-tool[Spring Boot Admin with Spring Cloud Kubernetes Discovery and Config]
+
+
+
+
+
+
+== Other Resources
+
+Here you can find other resources such as presentations(slides) and videos about Spring Cloud Kubernetes.
+
+- https://salaboy.com/2018/09/27/the-s1p-experience/[S1P Spring Cloud on PKS]
+- https://salaboy.com/2018/07/18/ljc-july-18-spring-cloud-docker-k8s/[Spring Cloud, Docker, Kubernetes -> London Java Community July 2018]
+
+
+Please feel free to submit other resources via PR to http://github.com/spring-cloud/spring-cloud-kubernetes[this repository].
+
-= Other Resources
== Building
diff --git a/docs/pom.xml b/docs/pom.xml
index 9ebab4d8..a85def08 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -8,7 +8,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
pom
Spring Cloud Kubernetes Docs
diff --git a/pom.xml b/pom.xml
index f9553412..5f6bb753 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,13 +24,13 @@
org.springframework.cloud
spring-cloud-build
- 2.1.0.BUILD-SNAPSHOT
+ 2.1.0.RC2
org.springframework.cloud
spring-cloud-kubernetes
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
pom
Spring Cloud Kubernetes
@@ -60,9 +60,9 @@
- 2.1.0.BUILD-SNAPSHOT
- 2.1.0.BUILD-SNAPSHOT
- 2.1.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
+ 2.1.0.RC1
+ 2.1.0.RC1
3.5
diff --git a/spring-cloud-kubernetes-config/pom.xml b/spring-cloud-kubernetes-config/pom.xml
index 7fa46484..2d2795a9 100644
--- a/spring-cloud-kubernetes-config/pom.xml
+++ b/spring-cloud-kubernetes-config/pom.xml
@@ -5,7 +5,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-kubernetes-core/pom.xml b/spring-cloud-kubernetes-core/pom.xml
index 94a70683..381e59cf 100644
--- a/spring-cloud-kubernetes-core/pom.xml
+++ b/spring-cloud-kubernetes-core/pom.xml
@@ -22,7 +22,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-kubernetes-dependencies/pom.xml b/spring-cloud-kubernetes-dependencies/pom.xml
index 87494708..4b298137 100644
--- a/spring-cloud-kubernetes-dependencies/pom.xml
+++ b/spring-cloud-kubernetes-dependencies/pom.xml
@@ -22,11 +22,11 @@
spring-cloud-dependencies-parent
org.springframework.cloud
- 2.1.0.BUILD-SNAPSHOT
+ 2.1.0.RC2
spring-cloud-kubernetes-dependencies
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
pom
Spring Cloud Kubernetes :: Dependencies
Spring Cloud Kubernetes Dependencies
diff --git a/spring-cloud-kubernetes-discovery/pom.xml b/spring-cloud-kubernetes-discovery/pom.xml
index f8ffea10..8400ec24 100644
--- a/spring-cloud-kubernetes-discovery/pom.xml
+++ b/spring-cloud-kubernetes-discovery/pom.xml
@@ -22,7 +22,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/greeting-service/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/greeting-service/pom.xml
index 66fb54ea..70d87531 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/greeting-service/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/greeting-service/pom.xml
@@ -23,7 +23,7 @@
org.springframework.cloud
kubernetes-circuitbreaker-ribbon-example
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
greeting-service
diff --git a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/name-service/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/name-service/pom.xml
index 01ae687a..3e260054 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/name-service/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/name-service/pom.xml
@@ -23,7 +23,7 @@
org.springframework.cloud
kubernetes-circuitbreaker-ribbon-example
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
name-service
diff --git a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/pom.xml
index 87b12fe9..ca686a3a 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-circuitbreaker-ribbon-example/pom.xml
@@ -23,7 +23,7 @@
spring-cloud-kubernetes-examples
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
org.springframework.cloud
diff --git a/spring-cloud-kubernetes-examples/kubernetes-hello-world-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-hello-world-example/pom.xml
index ee8b1c00..9e167149 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-hello-world-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-hello-world-example/pom.xml
@@ -5,7 +5,7 @@
spring-cloud-kubernetes-examples
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-kubernetes-examples/kubernetes-leader-election-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-leader-election-example/pom.xml
index 9652160d..4bda31f6 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-leader-election-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-leader-election-example/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-kubernetes-examples
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
kubernetes-leader-election-example
diff --git a/spring-cloud-kubernetes-examples/kubernetes-reload-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-reload-example/pom.xml
index 39651ede..aee60a38 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-reload-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-reload-example/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes-examples
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-kubernetes-examples/kubernetes-zipkin-example/pom.xml b/spring-cloud-kubernetes-examples/kubernetes-zipkin-example/pom.xml
index b235e027..381e44e0 100644
--- a/spring-cloud-kubernetes-examples/kubernetes-zipkin-example/pom.xml
+++ b/spring-cloud-kubernetes-examples/kubernetes-zipkin-example/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes-examples
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-kubernetes-examples/pom.xml b/spring-cloud-kubernetes-examples/pom.xml
index 5b674e25..1bca33a6 100644
--- a/spring-cloud-kubernetes-examples/pom.xml
+++ b/spring-cloud-kubernetes-examples/pom.xml
@@ -23,7 +23,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
spring-cloud-kubernetes-examples
diff --git a/spring-cloud-kubernetes-integration-tests/pom.xml b/spring-cloud-kubernetes-integration-tests/pom.xml
index e688cfc2..140b0a9a 100644
--- a/spring-cloud-kubernetes-integration-tests/pom.xml
+++ b/spring-cloud-kubernetes-integration-tests/pom.xml
@@ -6,7 +6,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
spring-cloud-kubernetes-integration-tests
diff --git a/spring-cloud-kubernetes-integration-tests/simple-configmap/pom.xml b/spring-cloud-kubernetes-integration-tests/simple-configmap/pom.xml
index b09ae0af..506ec46a 100644
--- a/spring-cloud-kubernetes-integration-tests/simple-configmap/pom.xml
+++ b/spring-cloud-kubernetes-integration-tests/simple-configmap/pom.xml
@@ -7,7 +7,7 @@
org.springframework.cloud
spring-cloud-kubernetes-integration-tests
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
Spring Cloud Kubernetes :: Integration Tests :: Simple Configmap
diff --git a/spring-cloud-kubernetes-integration-tests/simple-core/pom.xml b/spring-cloud-kubernetes-integration-tests/simple-core/pom.xml
index 133c48cb..e688fdb8 100644
--- a/spring-cloud-kubernetes-integration-tests/simple-core/pom.xml
+++ b/spring-cloud-kubernetes-integration-tests/simple-core/pom.xml
@@ -7,7 +7,7 @@
org.springframework.cloud
spring-cloud-kubernetes-integration-tests
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
Spring Cloud Kubernetes :: Integration Tests :: Simple Core
diff --git a/spring-cloud-kubernetes-leader/pom.xml b/spring-cloud-kubernetes-leader/pom.xml
index 9b3a5def..f18c617d 100644
--- a/spring-cloud-kubernetes-leader/pom.xml
+++ b/spring-cloud-kubernetes-leader/pom.xml
@@ -22,7 +22,7 @@
org.springframework.cloud
spring-cloud-kubernetes
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
spring-cloud-kubernetes-leader
diff --git a/spring-cloud-kubernetes-ribbon/pom.xml b/spring-cloud-kubernetes-ribbon/pom.xml
index eea9d451..76bc6015 100644
--- a/spring-cloud-kubernetes-ribbon/pom.xml
+++ b/spring-cloud-kubernetes-ribbon/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-starter-kubernetes-all/pom.xml b/spring-cloud-starter-kubernetes-all/pom.xml
index 577cd6b0..6202ad03 100644
--- a/spring-cloud-starter-kubernetes-all/pom.xml
+++ b/spring-cloud-starter-kubernetes-all/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-starter-kubernetes-config/pom.xml b/spring-cloud-starter-kubernetes-config/pom.xml
index c8f3f8ae..d349e748 100644
--- a/spring-cloud-starter-kubernetes-config/pom.xml
+++ b/spring-cloud-starter-kubernetes-config/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-starter-kubernetes-ribbon/pom.xml b/spring-cloud-starter-kubernetes-ribbon/pom.xml
index 320a1746..0889ce8d 100644
--- a/spring-cloud-starter-kubernetes-ribbon/pom.xml
+++ b/spring-cloud-starter-kubernetes-ribbon/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0
diff --git a/spring-cloud-starter-kubernetes/pom.xml b/spring-cloud-starter-kubernetes/pom.xml
index 5cefa9c2..6120dce0 100644
--- a/spring-cloud-starter-kubernetes/pom.xml
+++ b/spring-cloud-starter-kubernetes/pom.xml
@@ -22,7 +22,7 @@
spring-cloud-kubernetes
org.springframework.cloud
- 1.0.0.BUILD-SNAPSHOT
+ 2.1.0.RC1
4.0.0