GilbertoJunior

Untitled

Mar 6th, 2026
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. # namespace: # nao mexer no namespace, pois esse valor é alterado automaticamente pela pipeline do jenkins
  5. name: api-gestao-consumo
  6. labels:
  7. app: api-gestao-consumo
  8. spec:
  9. replicas: 1
  10. selector:
  11. matchLabels:
  12. app: api-gestao-consumo
  13. template:
  14. metadata:
  15. labels:
  16. app: api-gestao-consumo
  17. spec:
  18. containers:
  19. - name: api-gestao-consumo
  20. image: docker.io/sifatsistemas/ms-apigestaoconsumo:teste-juninho
  21. env:
  22. - name: WAYBE_KAFKA_HOST
  23. value: ""
  24. - name: WAYBE_KAFKA_PORTA
  25. value: "9092"
  26. - name: WAYBE_REDIS_HOST
  27. value: ""
  28. - name: WAYBE_REDIS_PORTA
  29. value: "6379"
  30. - name: WAYBE_REDIS_SENHA
  31. value: ""
  32. - name: WAYBE_BANCO_HOST
  33. value: ""
  34. - name: WAYBE_BANCO_PORTA
  35. value: ""
  36. - name: SPRING_DATASOURCE_INITIALIZATION_MODE
  37. value: "never"
  38. - name: SPRING_SQL_INIT_MODE
  39. value: "never"
  40. - name: SPRING_FLYWAY_ENABLED
  41. value: "false"
  42. - name: SPRING_LIQUIBASE_ENABLED
  43. value: "false"
  44. - name: SPRING_JPA_GENERATE_DDL
  45. value: "false"
  46. - name: SPRING_JPA_HIBERNATE_DDL_AUTO
  47. value: "none"
  48. - name: SPRING_DATASOURCE_URL
  49. value: ""
  50. - name: SPRING_AUTOCONFIGURE_EXCLUDE
  51. value: "org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration"
  52. - name: ADDITIONAL_OPTS
  53. value: "-Xms100M -Xmx100M"
  54. resources:
  55. limits:
  56. cpu: "300m"
  57. memory: "328Mi"
  58. requests:
  59. cpu: "300m"
  60. memory: "328Mi"
  61. ports:
  62. - containerPort: 8088
  63. imagePullPolicy: Always
  64. restartPolicy: Always
  65. imagePullSecrets:
  66. - name: dockerhub-secret-robot
  67.  
Add Comment
Please, Sign In to add comment