Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roll iotam and iota deployments if config has changed #93

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

modularTaco
Copy link
Contributor

@modularTaco modularTaco commented Mar 5, 2021

  • Added a configmap hash to IOTA and IOTAM deployments so the deployments get rolled if the config changes
  • Bumped IOTAM version in Readme and values.yaml to the latest stable one (works fine) and fixed IOTAM image in Readme
  • Replaced the mongo host in the values of the IOTAM chart with the service name, as since a few versions the IOTAM can connect to a mongo replicaset without specifying each member seperately
  • replaced deployment apiVersion apps/v1beta1 with apps/v1 in autoscaler

@chicco785
Copy link
Contributor

#97 will fix the build mechanism, once merged, you should rebase if everything works fine, we will then merge ;)

@c0c0n3
Copy link
Member

c0c0n3 commented Jul 19, 2022

@modularTaco #97 just got merged, if you could please rebase on master, thanks alot!!

@c0c0n3
Copy link
Member

c0c0n3 commented Jul 20, 2022

@modularTaco thanks for your pr, that's great. the helm linter is moaning about some missing newlines at the end of some files---see linter errors. if you could please fix that, thanks soooo much!

@@ -37,7 +37,7 @@ mongo:
# The name of the replicaset iot-agent will attempt to connect to
rs: rs
# The hostname of the mongodb service
dbhost: mongo-rs-mongodb-replicaset-0.mongo-rs-mongodb-replicaset.prod,mongo-rs-mongodb-replicaset-1.mongo-rs-mongodb-replicaset.prod,mongo-rs-mongodb-replicaset-2.mongo-rs-mongodb-replicaset.prod
dbhost: mongo-rs-mongodb-replicaset.prod
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@c0c0n3 Unfortunately i'm not using IOTA and IOTAM anymore and this PR is quite old, so i do not remember completely. But there is something in the back of my mind that this change was not as flawless as it should be and we ran into some problems with it. Could you please doublecheck that using the servicename instead of the members seperately is supported and works fine with mongo pod restarts?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@modularTaco thanks for the heads up, much appreciated! we'll review and retest to see if there are any issues

@modularTaco
Copy link
Contributor Author

Hi @c0c0n3 , i've fixed the file endings so the linter shouldn't complain anymore. But while doing so i read through the mongo uri change and remembered some problems with it. I've added a comment, could you please check prior merging?

@c0c0n3
Copy link
Member

c0c0n3 commented Jul 20, 2022

hi @modularTaco

fixed the file endings so the linter shouldn't complain anymore.

yep, it looks like everything is hunky-dory now, fan-tas-tic!!

read through the mongo uri change and remembered some problems with it. ... could you please check prior merging?

no prob, I've seen your comment. we'll review and retest to see if there are any issues.

thanks alot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants