- Applying manifest for component Base...
2024-05-22T07:10:05.517708Z error installer error running kubectl: exit status 1
- Applying manifest for component Pilot...
2024-05-22T07:10:09.652261Z error installer error running kubectl: exit status 1
2024-05-22T07:10:09.739577Z error installer error running kubectl: exit status 1
✘ Finished applying manifest for component Pilot.
2024-05-22T07:10:11.759376Z error installer Failed to wait for resource: resources not ready after 10m0s: deployments.apps "istiod" not found
- Applying manifest for component EgressGateways...
- Applying manifest for component IngressGateways...
- Applying manifest for component AddonComponents...
2024-05-22T07:10:13.851307Z error installer error running kubectl: exit status 1
✘ Finished applying manifest for component IngressGateways.
2024-05-22T07:10:13.853572Z error installer error running kubectl: exit status 1
✘ Finished applying manifest for component EgressGateways.
2024-05-22T07:10:14.033444Z error installer error running kubectl: exit status 1
2024-05-22T07:10:14.090901Z error installer error running kubectl: exit status 1
✘ Finished applying manifest for component AddonComponents.
Component AddonComponents - manifest apply returned the following errors:
Error: error running kubectl: exit status 1
Error detail:
error: --force cannot be used with --prune (repeated 1 times)
error: --force cannot be used with --prune (repeated 1 times)
Component Base - manifest apply returned the following errors:
Error: error running kubectl: exit status 1
Error detail:
resource mapping not found for name: "adapters.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
ensure CRDs are installed first (repeated 25 times)
resource mapping not found for name: "attributemanifests.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "authorizationpolicies.security.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "clusterrbacconfigs.rbac.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "destinationrules.networking.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "envoyfilters.networking.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "gateways.networking.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "handlers.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "httpapispecbindings.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "httpapispecs.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "instances.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "meshpolicies.authentication.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "peerauthentications.security.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "policies.authentication.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "quotaspecbindings.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "quotaspecs.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "rbacconfigs.rbac.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "requestauthentications.security.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "rules.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "serviceentries.networking.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "servicerolebindings.rbac.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "serviceroles.rbac.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "sidecars.networking.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "templates.config.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
resource mapping not found for name: "virtualservices.networking.istio.io" namespace: "" from "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" (repeated 1 times)
namespace/istio-system unchanged
Component Pilot - manifest apply returned the following errors:
Error: error running kubectl: exit status 1
Error detail:
Flag --prune-whitelist has been deprecated, Use --prune-allowlist instead. (repeated 18 times)
error: no matches for kind "CronJob" in version "batch/v1beta1" (repeated 1 times)
Flag --prune-whitelist has been deprecated, Use --prune-allowlist instead. (repeated 18 times)
error: no matches for kind "Ingress" in version "extensions/v1beta1" (repeated 1 times)
Component IngressGateways - manifest apply returned the following errors:
Error: error running kubectl: exit status 1
Error detail:
error: --force cannot be used with --prune (repeated 1 times)
Component EgressGateways - manifest apply returned the following errors:
Error: error running kubectl: exit status 1
Error detail:
error: --force cannot be used with --prune (repeated 1 times)
✘ Errors were logged during apply operation. Please check component installation logs above.
系统
项目分支
执行命令
istioctl manifest apply --set profile=demo
报错信息如下