Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems installing the istio chart #788

Closed
empath opened this issue Nov 16, 2018 · 5 comments
Closed

Problems installing the istio chart #788

empath opened this issue Nov 16, 2018 · 5 comments
Assignees

Comments

@empath
Copy link

empath commented Nov 16, 2018

I'm using 10.6

If I leave the requirements.yaml file in the directory, it fails on the helm dependency build step.
Since the requirements are all included in the directory, I can delete it, and helm template still produces the correct manifests and running kubectl works locally with what it produces.

Without the requirements.yaml file -- istio still fails on the dry run because it has lots of CRD's included. I thought that version 10 was supposed to resolve the CRD problem?

@amarrella
Copy link
Contributor

A complete guide to install istio with argocd would be helpful if anyone has done it! I keep bumping into issues as well.

@empath so far we managed to do (for istio 1.0.3):

  • get a copy of the istio chart in one of our repos pulled by argocd
  • renamed the charts directory into "subcharts" to not create conflict
  • changed requirements.yaml to the following:
dependencies:
  - name: sidecarInjectorWebhook
    version: 1.0.3
    condition: sidecarInjectorWebhook.enabled
    repository: file://subcharts/sidecarInjectorWebhook
  - name: security
    version: 1.0.3
    condition: security.enabled
    repository: file://subcharts/security
  - name: ingress
    version: 1.0.3
    condition: ingress.enabled
    repository: file://subcharts/ingress
  - name: gateways
    version: 1.0.3
    condition: gateways.enabled
    repository: file://subcharts/gateways
  - name: mixer
    version: 1.0.3
    condition: mixer.enabled
    repository: file://subcharts/mixer
  - name: pilot
    version: 1.0.3
    condition: pilot.enabled
    repository: file://subcharts/pilot
  - name: grafana
    version: 1.0.3
    condition: grafana.enabled
    repository: file://subcharts/grafana
  - name: prometheus
    version: 1.0.3
    condition: prometheus.enabled
    repository: file://subcharts/prometheus
  - name: servicegraph
    version: 1.0.3
    condition: servicegraph.enabled
    repository: file://subcharts/servicegraph
  - name: tracing
    version: 1.0.3
    condition: tracing.enabled
    repository: file://subcharts/tracing
  - name: galley
    version: 1.0.3
    condition: galley.enabled
    repository: file://subcharts/galley
  - name: kiali
    version: 1.0.3
    condition: kiali.enabled
    repository: file://subcharts/kiali
  - name: certmanager
    version: 1.0.3
    condition: certmanager.enabled
    repository: file://subcharts/certmanager

This should get you as far as seeing the application on argocd and pass the dependency build step, but sync will fail with a bunch of errors because the server could not find the requested resource.
If anyone knows how to get out of it without separating the crds it would be really helpful. I thought i solved it in #748 but that's not the case

@alexmt
Copy link
Collaborator

alexmt commented Nov 16, 2018

Tested istio installation and discovered following blocking issues:

@amarrella
Copy link
Contributor

Thanks @alexmt . The pace at which you and the other contributors solve the issues and argocd improves is amazing!

@alexmt alexmt self-assigned this Dec 1, 2018
@alexmt
Copy link
Collaborator

alexmt commented Dec 4, 2018

Looks like all issues are solved in master. I was able to successfully install istio from
repo https://github.com/istio/istio under install/kubernetes/helm/istio. The istio.io helm repo might be registered using helm.repositories field in argocd-cm ConfigMap.

  helm.repositories: |
    - url: https://storage.googleapis.com/istio-release/releases/1.1.0-snapshot.3/charts
      name: istio.io

@alexmt alexmt closed this as completed Dec 4, 2018
@alexmt
Copy link
Collaborator

alexmt commented Dec 4, 2018

If certmanager is enabled then ClusterIssuer resources stays out-of-sync forever. Upsteam fix is required to solve it: istio/istio#10280 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants