Skip to content
New issue

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

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

Already on GitHub? # to your account

kubectl_manifest.install fails for flux resources #128

Closed
stealthybox opened this issue Mar 30, 2021 · 1 comment
Closed

kubectl_manifest.install fails for flux resources #128

stealthybox opened this issue Mar 30, 2021 · 1 comment

Comments

@stealthybox
Copy link
Member

stealthybox commented Mar 30, 2021

https://cloud-native.slack.com/archives/CLAJ40HV3/p1616084448116400?thread_ts=1615224776.141300&cid=CLAJ40HV3
Dustin Nate 12 days ago

when attempting to use the terraform provider to install flux I get the following errors, I have not been able to find any information on this issue. Any thoughts? our cluster is on GKE if that helps at all.

stealthybox:
There seems to be an issue with how the k8s client is configured to talk to the GKE cluster.

reproduction repo:

https://gitlab.com/stretchnate/flux

logs

Plan: 24 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.
  Enter a value: yes
kubectl_manifest.install["v1/serviceaccount/flux-system/helm-controller"]: Creating...
kubectl_manifest.install["v1/service/flux-system/source-controller"]: Creating...
kubectl_manifest.install["v1/service/flux-system/notification-controller"]: Creating...
kubectl_manifest.install["rbac.authorization.k8s.io/v1/clusterrolebinding/crd-controller-flux-system"]: Creating...
kubectl_manifest.install["apps/v1/deployment/flux-system/notification-controller"]: Creating...
kubectl_manifest.install["apps/v1/deployment/flux-system/source-controller"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/providers.notification.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/receivers.notification.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/buckets.source.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/gitrepositories.source.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/helmrepositories.source.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["apps/v1/deployment/flux-system/kustomize-controller"]: Creating...
kubectl_manifest.install["v1/service/flux-system/webhook-receiver"]: Creating...
kubectl_manifest.install["v1/serviceaccount/flux-system/source-controller"]: Creating...
kubectl_manifest.install["v1/namespace/flux-system"]: Creating...
kubectl_manifest.install["apps/v1/deployment/flux-system/helm-controller"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/helmcharts.source.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/kustomizations.kustomize.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["rbac.authorization.k8s.io/v1/clusterrolebinding/cluster-reconciler-flux-system"]: Creating...
kubectl_manifest.install["rbac.authorization.k8s.io/v1/clusterrole/crd-controller-flux-system"]: Creating...
kubectl_manifest.install["v1/serviceaccount/flux-system/notification-controller"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/helmreleases.helm.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["apiextensions.k8s.io/v1/customresourcedefinition/alerts.notification.toolkit.fluxcd.io"]: Creating...
kubectl_manifest.install["v1/serviceaccount/flux-system/kustomize-controller"]: Creating...
Error: helmreleases.helm.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/helm-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: receivers.notification.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/source-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: providers.notification.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: kustomizations.kustomize.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/notification-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: gitrepositories.source.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: helmrepositories.source.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/notification-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: helmcharts.source.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: buckets.source.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/webhook-receiver failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/source-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/kustomize-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/helm-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: alerts.notification.toolkit.fluxcd.io failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/kustomize-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: crd-controller-flux-system failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: crd-controller-flux-system failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/notification-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: flux-system/source-controller failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
Error: cluster-reconciler-flux-system failed to create kubernetes rest client for update of resource: the server is currently unable to handle the request
@dnate-ifs
Copy link

This is related to #121

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

No branches or pull requests

2 participants