The most gracefull way is to trigger a restart for the deployment. In this case, a pod will only be terminated once the new pod is ready. It will slowly replace all pods one after the other.
kubectl rollout restart deployment <deployment-name>
[ | |
{ | |
"id": 88767, | |
"nombre": "Cañada Blanca" | |
}, | |
{ | |
"id": 137448, | |
"nombre": "Cañada Blanca" | |
}, | |
{ |
The most gracefull way is to trigger a restart for the deployment. In this case, a pod will only be terminated once the new pod is ready. It will slowly replace all pods one after the other.
kubectl rollout restart deployment <deployment-name>
040404 | 20 | 0 | |
---|---|---|---|
040404 | 20 | 1 | |
040404 | 20 | 2 | |
053785 | 20 | 3 | |
053a8c | 20 | 4 | |
044290 | 20 | 5 | |
053d91 | 20 | 6 | |
10378c | 20 | 7 | |
17327d | 20 | 8 | |
082363 | 20 | 9 |
israel-perales-pc:~/Documentos/git/sepomex$ mvn -Pgcp function:run | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ----------------------< com.perales:sepomex-api >----------------------- | |
[INFO] Building sepomex-api 1.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] >>> function-maven-plugin:0.9.1:run (default-cli) > compile @ sepomex-api >>> | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ sepomex-api --- |
/********** Step 1 ********************** | |
*********** File Imports ***************/ | |
import com.amazonaws.services.transcribe.AmazonTranscribe; | |
import com.amazonaws.services.transcribe.AmazonTranscribeClientBuilder; | |
import com.amazonaws.services.transcribe.model.DeleteTranscriptionJobRequest; | |
import com.amazonaws.services.transcribe.model.GetTranscriptionJobRequest; | |
import com.amazonaws.services.transcribe.model.GetTranscriptionJobResult; | |
import com.amazonaws.services.transcribe.model.LanguageCode; | |
import com.amazonaws.services.transcribe.model.Media; | |
import com.amazonaws.services.transcribe.model.StartTranscriptionJobRequest; |
#!/bin/bash | |
mkdir nexus && cd nexus | |
mkdir nexus-data | |
sudo chown -R 200 nexus-data | |
docker run -d -p 8081:8081 --name nexus -v nexus-data:/nexus-data sonatype/nexus3 |
docker exec container /usr/bin/pg_dump -U user --format=plain --no-owner --no-acl sepomex | sed -E 's/(DROP|CREATE|COMMENT ON) EXTENSION/-- \1 EXTENSION/g' > prod.sql |
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 | |
[2019-08-22 16:01:12,448] [EI-Core] INFO - CarbonCoreActivator Starting WSO2 Carbon... | |
[2019-08-22 16:01:12,454] [EI-Core] INFO - CarbonCoreActivator Operating System : Mac OS X 10.14.6, x86_64 | |
[2019-08-22 16:01:12,454] [EI-Core] INFO - CarbonCoreActivator Java Home : /usr/local/Cellar/wso2ei-6.4.0/6.4.0/libexec/jdk/jdk1.8.0_172/jre | |
[2019-08-22 16:01:12,454] [EI-Core] INFO - CarbonCoreActivator Java Version : 1.8.0-adoptopenjdk | |
[2019-08-22 16:01:12,454] [EI-Core] INFO - CarbonCoreActivator Java VM : OpenJDK 64-Bit Server VM 25.71-b00,Oracle Corporation | |
[2019-08-22 16:01:12,454] [EI-Core] INFO - CarbonCoreActivator Carbon Home : /usr/local/Cellar/wso2ei-6.4.0/6.4.0/libexec | |
[2019-08-22 16:01:12,455] [EI-Core] INFO - CarbonCoreActivator Java Temp Dir : /usr/local/Cellar/wso2ei-6.4.0/6.4.0/libexec/tmp | |
[2019-08-22 16:01:12,455] [EI-Core] INFO - CarbonCoreActivator User : pe |
<jboss-deployment-structure> | |
<deployment> | |
<!-- Exclusions allow you to prevent the server from automatically adding some dependencies --> | |
<exclusions> | |
<module name="org.slf4j" /> | |
<module name="org.slf4j.impl" /> | |
</exclusions> | |
</deployment> | |
</jboss-deployment-structure> |
<?xml version="1.0" encoding="UTF-8" ?> | |
<xsd:schema xmlns="http://www.springframework.org/schema/data/jpa" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:tool="http://www.springframework.org/schema/tool" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xmlns:repository="http://www.springframework.org/schema/data/repository" | |
targetNamespace="http://www.springframework.org/schema/data/jpa" | |
elementFormDefault="qualified" attributeFormDefault="unqualified"> | |
<xsd:import namespace="http://www.springframework.org/schema/tool" /> |