Section 7: Configuration Service - KwangtaekJung/MSA-SpringCloud-user-service GitHub Wiki
Section 7: Configuration Service
- Spring Coud Config
- Local git Repository
- Microserviceμ μ μ©
- Spring Bot Actuator
- Profiels μ μ©
- Remote Git Respository
- Native file Respository
- λΆμ° μμ€ν
μμ μλ², ν΄λΌμ΄μΈνΈ ꡬμ±μ νμν μ€μ μ 보(application.yml)μ μΈλΆ μμ€ν
μμ κ΄λ¦¬
- νλμ μ€μν λ μ μ₯μμμ κ΅¬μ± μμ κ΄λ¦¬ κΈ°λ₯
- κ° μλΉμ€λ₯Ό λ€μ λΉλνμ§ μκ³ , λ°λ‘ μ μ κ°λ₯
- μ ν리μΌμ΄μ
λ°°ν¬ νμ΄νλΌμΈμ ν΅ν΄ DEV-UAT-PROD νκ²½μ λ§λ κ΅¬μ± μ 보 μ¬μ©
- μ°μ μμ
- bootstrap.yml
- applicatino.yml
- application-name.yml
=>user-service.yml
- application-name-.yml
=>user-service-dev.yml
- Changed configuration valeus => μλ 3κ°μ§ λ°©λ²μ΄ μμ.
- μλ² μ¬κΈ°λ
=>λΆνΈνκ³ μ’μ§ μλ€.
- Actuator refresh
=>μ¬λΆν
νμ§ μκ³ κ°λ₯ν¨.
=>ꡬλ²μ μμλ§ λμνλ κ²μΈμ§???
- Spring Cloud Bus μ¬μ©
=>Actuatorμ μ¬μ©νλ κ²λ³΄λ€ λ νΈλ¦¬ν¨.
- Spring Cloud Config μλ² λμ νμΈ
β οΈ **GitHub.com Fallback** β οΈ