Coder Social home page Coder Social logo

Comments (7)

jmccormick2001 avatar jmccormick2001 commented on May 18, 2024

this is a bug that I just pushed a fix to....if you taint all your nodes that will go away...kubectl taint nodes --all node-role.kubernetes.io/master-

that is clearly not acceptable for a lot of users, so the fix will no longer add the affinity fragment to the pod by default.

from postgres-operator.

jmccormick2001 avatar jmccormick2001 commented on May 18, 2024

just pushed version 1.5.2 which should fix that bug.

from postgres-operator.

rimusz avatar rimusz commented on May 18, 2024

awesome, thanks

from postgres-operator.

rimusz avatar rimusz commented on May 18, 2024

1.5.2 fails:

time="2017-09-22T09:38:07Z" level=error msg="error loading templateopen /operator-conf/affinity.json: no such file or directory"
panic: open /operator-conf/affinity.json: no such file or directory

goroutine 1 [running]:
github.com/crunchydata/postgres-operator/operator/util.LoadTemplate(0x1630d24, 0x1c, 0xc420079d40)
	/home/jeffmc/odev/src/github.com/crunchydata/postgres-operator/operator/util/util.go:74 +0x430
github.com/crunchydata/postgres-operator/operator/cluster.init.3()
	/home/jeffmc/odev/src/github.com/crunchydata/postgres-operator/operator/cluster/cluster_strategy_1.go:68 +0xcf
github.com/crunchydata/postgres-operator/operator/cluster.init()
	/home/jeffmc/odev/src/github.com/crunchydata/postgres-operator/operator/cluster/upgrade_strategy_1.go:237 +0xd4
github.com/crunchydata/postgres-operator/operator/server.init()
	/home/jeffmc/odev/src/github.com/crunchydata/postgres-operator/operator/server/server.go:322 +0x61
main.init()
	/home/jeffmc/odev/src/github.com/crunchydata/postgres-operator/operator/postgres-operator.go:42 +0x58

from postgres-operator.

jmccormick2001 avatar jmccormick2001 commented on May 18, 2024

hmmn, can you verify that you rebuilt the configmap which should contain affinity.json?

from postgres-operator.

rimusz avatar rimusz commented on May 18, 2024

sorry stupid me, did not pull the latest changes from git repo, sorry for the false alarm.

from postgres-operator.

rimusz avatar rimusz commented on May 18, 2024

closing as 1.5.2 fixed issue

from postgres-operator.

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.