debianmaster / openshift-examples

Openshift Examples - This repo does not provide end to end example but rather act as a rough draft for my work. use with caution. Buzzme at @twitter
https://twitter.com/debianmaster
280 stars 290 forks source link

Update to use the latest Istio Operator from Maistra #84

Open marcredhat opened 5 years ago

marcredhat commented 5 years ago

1) Cleanup if needed (careful, deleting projects...) oc delete crd installations.istio.openshift.com oc delete project istio-operator oc delete project istio-system

2) Create projects
oc new-project istio-operator oc new-project istio-system

3) Add Istio CRDs git clone https://github.com/Maistra/istio-operator.git cd istio-operator oc apply -n istio-operator -f ./deploy/ oc apply -n istio-system -f ./deploy/examples/istio_v1alpha3_controlplane_cr_basic.yaml

NOTE: default kiali login is admin/admin (see https://github.com/istio/istio.io/issues/3348)

debianmaster commented 5 years ago

thanks for info. i will update my notes.!

devopstales commented 5 years ago
oc apply -n istio-operator -f ./deploy/
serviceaccount "istio-operator" created
unable to decode "deploy/operator.yaml": no kind "CustomResourceDefinition" is registered for version "apiextensions.k8s.io/v1beta1"
unable to decode "deploy/operator.yaml": no kind "CustomResourceDefinition" is registered for version "apiextensions.k8s.io/v1beta1"
unable to decode "deploy/operator.yaml": no kind "ClusterRole" is registered for version "rbac.authorization.k8s.io/v1"
unable to decode "deploy/operator.yaml": no kind "ClusterRoleBinding" is registered for version "rbac.authorization.k8s.io/v1beta1"
unable to decode "deploy/operator.yaml": no kind "Deployment" is registered for version "apps/v1"