灰度发布,点击流量治理报403错误
错误信息如下,kubesphere-sample-dev是应用所在的namespace
Requested namespace [kubesphere-sample-dev] is not accessible.
ks-apiserver的log 如下
ERROR: logging before flag.Parse: I1126 08:42:04.996487 1 metrics.go:155] Query: round(sum(rate(istio_request_duration_seconds_sum{reporter=“destination”,destination_workload_namespace=“kubesphere-sample-dev”,destination_workload=“reviews-v1”,request_protocol=“http”}[30s])) / sum(rate(istio_request_duration_seconds_count{reporter=“destination”,destination_workload_namespace=“kubesphere-sample-dev”,destination_workload=“reviews-v1”,request_protocol=“http”}[30s])), 0.001000) > 0.001000 or sum(rate(istio_request_duration_seconds_sum{reporter=“destination”,destination_workload_namespace=“kubesphere-sample-dev”,destination_workload=“reviews-v1”,request_protocol=“http”}[30s])) / sum(rate(istio_request_duration_seconds_count{reporter=“destination”,destination_workload_namespace=“kubesphere-sample-dev”,destination_workload=“reviews-v1”,request_protocol=“http”}[30s]))
ERROR: logging before flag.Parse: I1126 08:42:04.996499 1 metrics.go:155] Query: round(sum(rate(istio_response_bytes_sum{reporter=“destination”,destination_workload_namespace=“kubesphere-sample-dev”,destination_workload=“reviews-v1”,request_protocol=“http”}[30s])) / sum(rate(istio_response_bytes_count{reporter=“destination”,destination_workload_namespace=“kubesphere-sample-dev”,destination_workload=“reviews-v1”,request_protocol=“http”}[30s])), 0.001000) > 0.001000 or sum(rate(istio_response_bytes_sum{reporter=“destination”,destination_workload_namespace=“kubesphere-sample-dev”,destination_workload=“reviews-v1”,request_protocol=“http”}[30s])) / sum(rate(istio_response_bytes_count{reporter=“destination”,destination_workload_namespace=“kubesphere-sample-dev”,destination_workload=“reviews-v1”,request_protocol=“http”}[30s]))