Open l0kix2 opened 1 month ago
/usr/bin/yt create scheduler_pool --attributes '{name=research; pool_tree=default}' --ignore-existing
from here https://github.com/ytsaurus/ytsaurus-k8s-operator/blob/2dcaffb11d3bde12412044f3ce8149321769cd4c/pkg/components/master.go#L270-L270 fails if pool exists
Failed to attach child "research" to scheduler pool tree "default" Pool tree "default" already contains pool with name "research"
--ignore-existing doesn't work for pool, need to be checked with yt exists
--ignore-existing
Have to be said that it is not really popular use case to re-create ytsaurus spec for the existing cluster
from here https://github.com/ytsaurus/ytsaurus-k8s-operator/blob/2dcaffb11d3bde12412044f3ce8149321769cd4c/pkg/components/master.go#L270-L270 fails if pool exists
--ignore-existing
doesn't work for pool, need to be checked with yt existsHave to be said that it is not really popular use case to re-create ytsaurus spec for the existing cluster