JAVA: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Linha 22: | Linha 22: | ||
*[https://github.com/helm/charts/tree/master/stable/spring-cloud-data-flow Spring Cloud Data Flow Chart] | *[https://github.com/helm/charts/tree/master/stable/spring-cloud-data-flow Spring Cloud Data Flow Chart] | ||
*[https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/aks/internal-lb.md Azure Create an internal load balancer] | *[https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/aks/internal-lb.md Azure Create an internal load balancer] | ||
<syntaxhighlight | <syntaxhighlight lang=yaml> | ||
apiVersion: v1 | apiVersion: v1 | ||
kind: Service | kind: Service |
Edição das 13h15min de 18 de março de 2019
Maven
mvn archetype:generate -DartifactId=teste -DgroupId=br.com.clusterlab -DinteractiveMode=false -DarchetypeArtifactId=maven-archetype-quickstart
Arguments
- JMXRemote
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=18001 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
- Change server port
java -jar target/HelloWorld-0.1.0.jar --server.port=8091
IDES
Spring
Data Flow
Deploy on Kubernetes
<syntaxhighlight lang=yaml> 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
<syntaxhighlight>