Comment 4 for bug 2039316

Revision history for this message
Pedro GuimarĂ£es (pguimaraes) wrote :

Hi @jameinel, I am using Juju 3.1/stable with microk8s 1.27/stable. That command does not work:

$ juju deploy postgresql-k8s --constraints "topology-key=topology.kubernetes.io/zone" --debug
09:02:13 INFO juju.cmd supercommand.go:56 running juju [3.1.6 f6a66aa91eec620f5ac04a19d8c06bef03ae6228 gc go1.20.8]
09:02:13 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/24626/bin/juju", "deploy", "postgresql-k8s", "--constraints", "topology-key=topology.kubernetes.io/zone", "--debug"}
ERROR unknown constraint "topology-key"
09:02:13 DEBUG cmd supercommand.go:528 error stack:
github.com/juju/juju/core/constraints.(*Value).setRaw:524: unknown constraint "topology-key"
github.com/juju/juju/core/constraints.ParseWithAliases:398:
github.com/juju/juju/cmd/juju/application.(*DeployCommand).Run:788: