Skip to content

Instantly share code, notes, and snippets.

@nvcnvn
Created April 9, 2020 13:58
Show Gist options
  • Save nvcnvn/903a0bdf6e28052f78869cac68a01e99 to your computer and use it in GitHub Desktop.
Save nvcnvn/903a0bdf6e28052f78869cac68a01e99 to your computer and use it in GitHub Desktop.
→ ./istio-1.5.1/bin/istioctl manifest generate | kubectl delete -f -
clusterrole.rbac.authorization.k8s.io "prometheus-istio-system" deleted
clusterrolebinding.rbac.authorization.k8s.io "prometheus-istio-system" deleted
configmap "prometheus" deleted
deployment.apps "prometheus" deleted
service "prometheus" deleted
serviceaccount "prometheus" deleted
clusterrole.rbac.authorization.k8s.io "istio-reader-istio-system" deleted
clusterrolebinding.rbac.authorization.k8s.io "istio-reader-istio-system" deleted
customresourcedefinition.apiextensions.k8s.io "meshpolicies.authentication.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "policies.authentication.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "httpapispecs.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "httpapispecbindings.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "quotaspecs.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "quotaspecbindings.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "destinationrules.networking.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "envoyfilters.networking.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "gateways.networking.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "serviceentries.networking.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "sidecars.networking.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "virtualservices.networking.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "attributemanifests.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "handlers.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "instances.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "rules.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "clusterrbacconfigs.rbac.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "rbacconfigs.rbac.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "serviceroles.rbac.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "servicerolebindings.rbac.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "authorizationpolicies.security.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "peerauthentications.security.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "requestauthentications.security.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "adapters.config.istio.io" deleted
customresourcedefinition.apiextensions.k8s.io "templates.config.istio.io" deleted
namespace "istio-system" deleted
serviceaccount "istio-reader-service-account" deleted
horizontalpodautoscaler.autoscaling "istio-ingressgateway" deleted
deployment.apps "istio-ingressgateway" deleted
poddisruptionbudget.policy "ingressgateway" deleted
role.rbac.authorization.k8s.io "istio-ingressgateway-sds" deleted
rolebinding.rbac.authorization.k8s.io "istio-ingressgateway-sds" deleted
service "istio-ingressgateway" deleted
serviceaccount "istio-ingressgateway-service-account" deleted
horizontalpodautoscaler.autoscaling "istiod" deleted
clusterrole.rbac.authorization.k8s.io "istio-galley-istio-system" deleted
clusterrole.rbac.authorization.k8s.io "istio-pilot-istio-system" deleted
clusterrole.rbac.authorization.k8s.io "istiod-istio-system" deleted
clusterrolebinding.rbac.authorization.k8s.io "istio-pilot-istio-system" deleted
clusterrolebinding.rbac.authorization.k8s.io "istiod-istio-system" deleted
configmap "pilot-envoy-config" deleted
configmap "istio" deleted
configmap "istio-sidecar-injector" deleted
mutatingwebhookconfiguration.admissionregistration.k8s.io "istio-sidecar-injector" deleted
poddisruptionbudget.policy "istiod" deleted
serviceaccount "istiod-service-account" deleted
validatingwebhookconfiguration.admissionregistration.k8s.io "istiod-istio-system" deleted
validatingwebhookconfiguration.admissionregistration.k8s.io "istio-galley" deleted
Error from server (NotFound): error when deleting "STDIN": the server could not find the requested resource (delete gateways.networking.istio.io ingressgateway)
Error from server (NotFound): error when deleting "STDIN": the server could not find the requested resource (delete sidecars.networking.istio.io default)
Error from server (NotFound): error when deleting "STDIN": deployments.apps "istiod" not found
Error from server (NotFound): error when deleting "STDIN": services "istio-pilot" not found
Error from server (NotFound): error when deleting "STDIN": services "istiod" not found
Error from server (NotFound): error when deleting "STDIN": the server could not find the requested resource (delete envoyfilters.networking.istio.io metadata-exchange-1.4)
Error from server (NotFound): error when deleting "STDIN": the server could not find the requested resource (delete envoyfilters.networking.istio.io stats-filter-1.4)
Error from server (NotFound): error when deleting "STDIN": the server could not find the requested resource (delete envoyfilters.networking.istio.io metadata-exchange-1.5)
Error from server (NotFound): error when deleting "STDIN": the server could not find the requested resource (delete envoyfilters.networking.istio.io tcp-metadata-exchange-1.5)
Error from server (NotFound): error when deleting "STDIN": the server could not find the requested resource (delete envoyfilters.networking.istio.io stats-filter-1.5)
Error from server (NotFound): error when deleting "STDIN": the server could not find the requested resource (delete envoyfilters.networking.istio.io tcp-stats-filter-1.5)
→ ./istio-1.5.1/bin/istioctl manifest apply
This will install the default Istio profile into the cluster. Proceed? (y/N) y
- Applying manifest for component Base...
✔ Finished applying manifest for component Base.
- Applying manifest for component Pilot...
✔ Finished applying manifest for component Pilot.
Waiting for resources to become ready...
Waiting for resources to become ready...
- Applying manifest for component AddonComponents...
- Applying manifest for component IngressGateways...
✔ Finished applying manifest for component IngressGateways.
✔ Finished applying manifest for component AddonComponents.
✔ Installation complete
→ ./istio-1.5.1/bin/istioctl verify-install
Checking the cluster to make sure it is ready for Istio installation...
#1. Kubernetes-api
-----------------------
Can initialize the Kubernetes client.
Can query the Kubernetes API Server.
#2. Kubernetes-version
-----------------------
Istio is compatible with Kubernetes: v1.16.8-gke.8.
#3. Istio-existence
-----------------------
Istio will be installed in the istio-system namespace.
#4. Kubernetes-setup
-----------------------
Can create necessary Kubernetes configurations: Namespace,ClusterRole,ClusterRoleBinding,CustomResourceDefinition,Role,ServiceAccount,Service,Deployments,ConfigMap.
#5. SideCar-Injector
-----------------------
This Kubernetes cluster supports automatic sidecar injection. To enable automatic sidecar injection see https://istio.io/docs/setup/kubernetes/additional-setup/sidecar-injection/#deploying-an-app
-----------------------
Install Pre-Check passed! The cluster is ready for Istio installation.
→ ./istio-1.5.1/bin/istioctl verify-install -f ./istio-1.5.1/install/kubernetes/operator/profiles/default.yaml
Error: unable to recognize "./istio-1.5.1/install/kubernetes/operator/profiles/default.yaml": no matches for kind "IstioOperator" in version "install.istio.io/v1alpha1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment