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

Installation k8s examples failed #209

Closed
cuonglm opened this issue Feb 12, 2020 · 3 comments
Closed

Installation k8s examples failed #209

cuonglm opened this issue Feb 12, 2020 · 3 comments

Comments

@cuonglm
Copy link

cuonglm commented Feb 12, 2020

Using the kubernetes example in https://github.com/agola-io/agola/blob/master/examples/kubernetes/simple/agola.yml

I got this error:

Events:
  Type     Reason            Age                   From               Message
  ----     ------            ----                  ----               -------
  Warning  FailedScheduling  20m (x2 over 20m)     default-scheduler  pod has unbound immediate PersistentVolumeClaims
  Normal   Scheduled         20m                   default-scheduler  Successfully assigned default/agola-84995864dc-snxxh to minikube
  Normal   Pulling           18m (x4 over 19m)     kubelet, minikube  Pulling image "agola"
  Warning  Failed            18m (x4 over 19m)     kubelet, minikube  Failed to pull image "agola": rpc error: code = Unknown desc = Error response from daemon: pull access denied for agola, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
  Warning  Failed            18m (x4 over 19m)     kubelet, minikube  Error: ErrImagePull
  Normal   BackOff           9m51s (x41 over 19m)  kubelet, minikube  Back-off pulling image "agola"
  Warning  Failed            4m51s (x63 over 19m)  kubelet, minikube  Error: ImagePullBackOff

Sounds like the image is not published yet?

@camandel
Copy link
Contributor

Can you try to change the image name with this?

image: sorintlab/agola

@cuonglm
Copy link
Author

cuonglm commented Feb 12, 2020

@camandel Using sorintlab/agola works, but now I get different error:

Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  2m53s                default-scheduler  Successfully assigned default/agola-5dfb95f478-cc9ql to minikube
  Normal   Pulling    42s (x4 over 2m51s)  kubelet, minikube  Pulling image "sorintlab/agola"
  Normal   Pulled     38s (x4 over 94s)    kubelet, minikube  Successfully pulled image "sorintlab/agola"
  Normal   Created    38s (x4 over 94s)    kubelet, minikube  Created container agola
  Normal   Started    38s (x4 over 93s)    kubelet, minikube  Started container agola
  Warning  BackOff    9s (x7 over 89s)     kubelet, minikube  Back-off restarting failed container

@sgotti
Copy link
Member

sgotti commented Feb 12, 2020

@cuonglm Please use the forum for such kind of support questions: https://github.com/agola-io/agola#contacts

Anyway currently the k8s examples requires changes related to your architecture (i.e. the various exposed url needs to be changed) and also the image name isn't pointing to a published one so you are sure you're using the right one.

If you want to just try agola for the first time please take a look at https://agola.io/tryit/

@sgotti sgotti closed this as completed Feb 12, 2020
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