Skip to content

MOSN 作为 Istio 的数据平面 #128

@xj524598

Description

@xj524598

image
在windows 环境下,按照文档:https://mosn.io/docs/quick-start/istio/来配置mosn,发现istio安装这一步出现如图片看到的问题,请问有对应的解决方案吗

如下是文字版本的操作记录

PS C:\Windows\system32> kubectl create namespace istio-system
namespace "istio-system" created
PS C:\Windows\system32> istioctl manifest apply
This will install the default Istio profile into the cluster. Proceed? (y/N) y
Detected that your cluster does not support third party JWT authentication. Falling back to less secure first party JWT. See https://istio.io/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for details.

  • Applying manifest for component Base...
    2021-01-11T05:18:31.298858Z error installer error running kubectl: exit status 1

  • Applying manifest for component Pilot...
    2021-01-11T05:18:35.649991Z error installer error running kubectl: exit status 1
    2021-01-11T05:18:35.962862Z error installer error running kubectl: exit status 1
    ✘ Finished applying manifest for component Pilot.
    2021-01-11T05:18:37.987937Z error installer Failed to wait for resource: resources not ready after 10m0s: deployments.apps "istiod" not found

  • Applying manifest for component IngressGateways...

  • Applying manifest for component AddonComponents...
    2021-01-11T05:18:40.248980Z error installer error running kubectl: exit status 1
    ✘ Finished applying manifest for component IngressGateways.
    2021-01-11T05:18:40.499057Z error installer error running kubectl: exit status 1
    ✘ Finished applying manifest for component AddonComponents.

Component IngressGateways - manifest apply returned the following errors:
Error: error running kubectl: exit status 1

Error detail:

error: error validating "STDIN": error validating data: the server could not find the requested resource; if you choose to ignore these errors, turn validation off with --validate=false (repeated 1 times)

Component Pilot - manifest apply returned the following errors:
Error: error running kubectl: exit status 1

Error detail:

error: no matches for networking.istio.io/, Kind=DestinationRule (repeated 1 times)

error: no matches for networking.istio.io/, Kind=DestinationRule (repeated 1 times)

Component Base - manifest apply returned the following errors:
Error: error running kubectl: exit status 1

Error detail:

error: error validating "STDIN": error validating data: the server could not find the requested resource; if you choose to ignore these errors, turn validation off with --validate=false (repeated 1 times)

Component AddonComponents - manifest apply returned the following errors:
Error: error running kubectl: exit status 1

Error detail:

error: error validating "STDIN": error validating data: the server could not find the requested resource; if you choose to ignore these errors, turn validation off with --validate=false (repeated 1 times)

clusterrole "prometheus-istio-system" created
clusterrolebinding "prometheus-istio-system" created

✘ Errors were logged during apply operation. Please check component installation logs above.

Error: failed to apply manifests: errors were logged during apply operation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions