Spring: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Linha 59: Linha 59:
</pre>
</pre>


==SKIPPER==
*[https://docs.spring.io/spring-cloud-skipper/docs/2.0.1.BUILD-SNAPSHOT/reference/htmlsingle Spring Cloud Skipper Reference Guide]
==[https://cloud.spring.io/spring-cloud-static/spring-cloud-kubernetes/1.0.1.RELEASE/single/spring-cloud-kubernetes.html Spring Cloud Kubernetes]==
==[https://cloud.spring.io/spring-cloud-static/spring-cloud-kubernetes/1.0.1.RELEASE/single/spring-cloud-kubernetes.html Spring Cloud Kubernetes]==

Edição das 13h50min de 31 de maio de 2019

Spring

Eureka

BOOT

Data Flow

Cloud Stream APPs Starter

Docker

Deploy on Kubernetes

Tasks

apiVersion: v1
kind: Service
metadata:
  name: internal-app
  annotations:
    service.beta.kubernetes.io/azure-load-balancer-internal: "true"
spec:
  type: LoadBalancer
  ports:
  - port: 80
  selector:
    app: internal-app

JAVA DSL

Tasks

Properties

scheduler.kubernetes.entryPointStyle=<Entry Point Style> exec/shell/boot
scheduler.kubernetes.environmentVariables=JAVA_TOOL_OPTIONS=-Xmx1024m
scheduler.kubernetes.imagePullSecret=mysecret
scheduler.kubernetes.entryPointStyle=exec

SHELL

URLS

Example

dataflow:>app import --uri http://bit.ly/Einstein.GA-stream-applications-kafka-10-maven
dataflow:>stream create --name mysqlstream --definition "http --server.port=8787 | jdbc --tableName=names --columns=name --spring.datasource.driver-class-name=org.mariadb.jdbc.Driver --spring.datasource.url='jdbc:mysql://localhost:3306/test'" --deploy
dataflow:>stream list

Spring Cloud Kubernetes