GithubHelp home page GithubHelp logo

Comments (5)

HMYDK avatar HMYDK commented on August 17, 2024

Deployment变更之后,k8s会按照新的配置滚动更新的。

你是怎么操作的? 更新之后pod的环境变量没有修改?

from nacos.

KomachiSion avatar KomachiSion commented on August 17, 2024

要看配置是如何进行的, 比如你的应用是通过读取环境变量来读取用户密码,并构建nacos-client的,那么理论上修改deployment后, regcenter和sts都会改变, pod里也会发生改变。

如果应用是通过配置文件读取的,并且是配置文件里写死了用户密码, 那只能打新应用镜像,修改配置文件后再发布才行。

from nacos.

1327681842 avatar 1327681842 commented on August 17, 2024

目前是读取bootstrap.properties配置文件的方式

from nacos.

beliefCR7 avatar beliefCR7 commented on August 17, 2024

目前是读取bootstrap.properties配置文件的方式

在配置文件里通过环境变量的方式预留出来

from nacos.

KomachiSion avatar KomachiSion commented on August 17, 2024

No more response from author for a long time, and this problem seems usage problem.

from nacos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.