You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our environment there are a couple of sidecar containers created besides the main one and based on the logs it seems that the operator is not able to get the logs from the main one because of this:
{
"level":"error",
"ts":1652094036.206498,
"logger":"controllers.FlinkCluster",
"msg":"Failed to get log stream from the job submitter pod. Will try again in the next iteration.",
"cluster":"<namespace omitted>/<cluster>",
"error":"failed to get logs for pod <cluster>-jobmanager-9jzsh: a container name must be specified for pod <cluster>-jobmanager-9jzsh, choose one of: [vault-agent-init istio-init jobmanager istio-proxy vault-agent]",
"stacktrace":"github.com/spotify/flink-on-k8s-operator/controllers/flinkcluster.(*ClusterStateObserver).observe\n\t/workspace/controllers/flinkcluster/flinkcluster_observer.go:270\ngithub.jparrowsec.cn/spotify/flink-on-k8s-operator/controllers/flinkcluster.(*FlinkClusterHandler).reconcile\n\t/workspace/controllers/flinkcluster/flinkcluster_controller.go:144\ngithub.jparrowsec.cn/spotify/flink-on-k8s-operator/controllers/flinkcluster.(*FlinkClusterReconciler).Reconcile\n\t/workspace/controllers/flinkcluster/flinkcluster_controller.go:85\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:298\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:214"
}
I think this was addressed in an earlier PR (#205) but it seems that change was removed during a bigger refactor (#207)
The text was updated successfully, but these errors were encountered:
In our environment there are a couple of sidecar containers created besides the main one and based on the logs it seems that the operator is not able to get the logs from the main one because of this:
I think this was addressed in an earlier PR (#205) but it seems that change was removed during a bigger refactor (#207)
The text was updated successfully, but these errors were encountered: