-
Notifications
You must be signed in to change notification settings - Fork 619
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
Istio: failed to download artifact from source-controller: 503 service unavailable #598
Comments
We assume a default cluster domain since |
I am using the default cluster.local domain... http://source-controller.flux-system.svc.cluster.local./gitrepository |
removing the period from the source controller deployment setting --storage-adv-addr and in gotk-components.yaml allowed me to create the kustomization - presumably a bug? |
The period after the cluster domain is to prevent an additional DNS lookup, and should work fine. Are you able to |
I think this was related to my flux-system namespace having istio sidecar injection enabled. I can apply the kustomization with the default URL and injection disabled. |
For anyone who runs into this and doesn't want to disable injection the following virtual service should fix the resolving issue until istio can fix FQDN with . at the end. Modify cluster.local if you need:
|
Running:
flux create kustomization flux-system
--source=flux-system
--path="./clusters/my-cluster"
--prune=true
--interval=10m
Get the error:
faild to download artifact from http://source-controller.flux-system.svc.cluster.local./gitrepository/flux-system/flux-system/7759744efeeaf1823e07e5f911f192beb0a08c97.tar.gz, status: 503 Service Unavailable
flux check reports:
► checking prerequisites
✔ kubectl 1.18.12 >=1.18.0
✔ Kubernetes 1.17.13 >=1.16.0
► checking controllers
✔ source-controller is healthy
► regsitry/fluxcd/source-controller:v0.5.4
✔ kustomize-controller is healthy
► regsitry/fluxcd/kustomize-controller:v0.5.0
✔ helm-controller is healthy
► regsitry/fluxcd/helm-controller:v0.4.3
✔ notification-controller is healthy
► regsitry/fluxcd/notification-controller:v0.5.0
✔ all checks passed
The text was updated successfully, but these errors were encountered: