[16:45:12] getting an error when I try to redeploy flink-operator on dse-k8s-services related to https://gerrit.wikimedia.org/r/plugins/gitiles/operations/deployment-charts/+/refs/heads/master/helmfile.d/admin_ng/flink-operator/helmfile.yaml#18 [16:45:26] `executing "stringTemplate" at <.Values.chartVersions>: map has no entry for key "chartVersions"` [16:46:12] any suggestions on this? I'm wondering if I have to explicitly set that in the chart somewhere? [16:50:30] maybe it needs `repository: https://helm-charts.wikimedia.org/stable/` in the flink-operator-crd chart? [16:55:47] a la https://gerrit.wikimedia.org/r/plugins/gitiles/operations/deployment-charts/+/refs/heads/master/charts/eventgate/Chart.yaml#13 [17:00:44] interestingly, the chartmuseum dep is commented out in the other flink operator chart https://gerrit.wikimedia.org/r/plugins/gitiles/operations/deployment-charts/+/refs/heads/master/charts/flink-kubernetes-operator/Chart.yaml#13 [17:04:12] inflatador: that is related to pinning of chart versions in admin_ng. See helmfile.d/admin_ng/values/common.yaml L+130 [17:05:35] inflatador: what command are you executing exactly? [17:06:20] jayme `helmfile -e dse-k8s-services -i apply` from `/srv/deployment-charts/helmfile.d/admin_ng/flink-operator` dir, as dse-k8 admin [17:06:44] all admin_ng deployments need to happen from /srv/deployment-charts/helmfile.d/admin_ng/ [17:07:02] thanks, will try that now [17:07:23] Guessing I need flink operator namespace too? [17:08:07] not sure what you mean. You said redeploy...I would assume the namespace is there already [17:09:50] deploying from `/srv/deployment-charts/helmfile.d/admin_ng` with `helmfile -e dse-k8s-services -i apply` throws an error [17:09:57] `rr: no releases found that matches specified selector() and environment(dse-k8s-services), in any helmfile` [17:10:41] yes. dse-k8s-service is not a valid environment/cluster [17:11:09] you may check helmfile.yaml for the definition of those (and what is included/enabled for them) [17:11:09] oops, let's try it with dse-k8s-eqiad ;) [17:16:38] Is there a selector I need for flink-operator? `helmfile -n flink-operator -e dse-k8s-eqiad -i apply` throws a bunch of errors ( see https://phabricator.wikimedia.org/P52261#210990 ) [17:20:08] "-n flink-operator" is potentially problematic [17:20:16] inflatador: Can you use `--selector name=flink-operator --selector name=flink-operator-crds` to target the specific release [17:20:26] admin_ng deploys *a lot* of things into a lot of places [17:20:48] and I would generally suggest to not use selectors if you don't have a very strong reason to do so [17:21:09] got it, will try w/out selectors [17:21:18] as that will ultimately lead to drift of git state vs. cluster state [17:22:07] https://wikitech.wikimedia.org/wiki/Kubernetes/Clusters/New describes using label selectors, but that's a bit of a different story because the order of initial deployment might matter [17:22:11] I guess I was wrong to use `apply`? Since we don't have a new release, we just want to force it to reploy [17:22:23] apply is fine [17:22:41] it will "diff" first and then "sync" only if there is a diff [17:23:06] is there a way to avoid deploying someone else's new chart? Looks like there's a change to spark-operator in dse as well... btullis is this expected? [17:23:35] that can be done with selectors - and is the drift I was referring to :) [17:25:45] probably wise to wait for approval from someone who's more familiar with the DSE cluster then? Thanks for your help jayme ! [18:28:48] inflatador: I'm not expecting a diff with regard to spark-operator, but it's pre-production so I wouldn't worry too much. Can you just save a copy of the diff so that I can review afterwards please? Then feel free to proceed. [18:29:39] btullis excellent, will do [19:52:54] flink operator is back up in dse-k8s env...still working on rdf-streaming-updater but I think we're in a good place