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

Razee installation following the doc instructions fails #146

Closed
sarathmekala opened this issue Jan 30, 2022 · 2 comments · Fixed by #148
Closed

Razee installation following the doc instructions fails #146

sarathmekala opened this issue Jan 30, 2022 · 2 comments · Fixed by #148

Comments

@sarathmekala
Copy link

Describe the bug
Razee installation fails while following the instructions given either in razee.io or github.com/razee-io

To Reproduce
Steps to reproduce the behavior:
Execution of this step fails:
kubectl apply -f https://github.com/razee-io/Razee/releases/latest/download/razeedash-all-in-one.yaml

Output

➜ ~ kubectl apply -f https://github.com/razee-io/Razee/releases/latest/download/razeedash-all-in-one.yaml
namespace/razee created
persistentvolume/mongo-pv-volume created
persistentvolumeclaim/mongo-pv-claim created
deployment.apps/mongo created
service/mongo created
secret/razeedash-secret created
service/razeedash-lb created
service/razeedash-api-lb created
unable to recognize no matches for kind "RemoteResource" in version "deploy.razee.io/v1alpha1"

Razee namespace

➜ ~ kubectl get all -o wide -n razee
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
pod/mongo-856586f46c-ndh7k 1/1 Running 0 5m26s 172.30.142.16 10.144.187.103

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
service/mongo ClusterIP None 27017/TCP 5m26s app=mongo
service/razeedash-api-lb LoadBalancer 172.21.38.94 8081:31668/TCP 5m24s app=razeedash-api
service/razeedash-lb LoadBalancer 172.21.246.107 8080:31342/TCP 5m24s app=razeedash

NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR
deployment.apps/mongo 1/1 1 1 5m27s mongo mongo app=mongo,role=master,tier=backend

NAME DESIRED CURRENT READY AGE CONTAINERS IMAGES SELECTOR
replicaset.apps/mongo-856586f46c 1 1 1 5m28s mongo mongo app=mongo,pod-template-hash=856586f46c,role=master,tier=backend

RazeeDeploy Namespace

➜ ~ kubectl get all -o wide -n razeedeploy
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
pod/razeedeploy-job-b5g5r 0/1 Completed 0 8m 172.30.142.14 10.144.187.103
pod/remoteresource-controller-657dbcd4d4-lpbx4 1/1 Running 0 7m45s 172.30.142.15 10.144.187.103

NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR
deployment.apps/remoteresource-controller 1/1 1 1 7m47s remoteresource-controller quay.io/razee/remoteresource:1.0.4 app=remoteresource-controller

NAME DESIRED CURRENT READY AGE CONTAINERS IMAGES SELECTOR
replicaset.apps/remoteresource-controller-657dbcd4d4 1 1 1 7m47s remoteresource-controller quay.io/razee/remoteresource:1.0.4 app=remoteresource-controller,pod-template-hash=657dbcd4d4

NAME COMPLETIONS DURATION AGE CONTAINERS IMAGES SELECTOR
job.batch/razeedeploy-job 1/1 16s 8m3s razeedeploy-job quay.io/razee/razeedeploy-delta:1.0.0 controller-uid=b8aa3e4b-6fa4-4832-9501-77ea4b8f3c1a

Expected behavior
Installation should succeed with out any problem and all the required artifacts should get created.

Screenshots
Not required.

Kubernetes Version (kubectl version):
➜ ~ kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:25:17Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.9+IKS", GitCommit:"9a5e3c8e14939ad28e261fdf3b874ce7e1a97a3b", GitTreeState:"clean", BuildDate:"2022-01-20T13:40:26Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.21) exceeds the supported minor version skew of +/-1

Additional context
I have tried this setup on Ubuntu 20.04 VM in my laptop and on IBM Cloud Free tier Kubernetes cluster. Its failing in both the places.

@alewitt2
Copy link
Member

alewitt2 commented Feb 1, 2022

thanks for looking into this and point out the issue. those instructions are out of date, can you attempt to use these instructions instead? https://github.com/razee-io/Razee#prerequisites

@sarathmekala
Copy link
Author

sarathmekala commented Feb 2, 2022

@alewitt2 thanks for looking into this issue.

I am still hitting the same error when I follow the instructions given at https://github.com/razee-io/Razee#prerequisites

sarath@sarath-VirtualBox:~$ kubectl apply -f https://github.com/razee-io/Razee/releases/latest/download/razeedash-all-in-one.yaml
namespace/razee created
persistentvolume/mongo-pv-volume created
persistentvolumeclaim/mongo-pv-claim created
deployment.apps/mongo created
service/mongo created
secret/razeedash-secret created
service/razeedash-lb created
service/razeedash-api-lb created
unable to recognize no matches for kind "RemoteResource" in version "deploy.razee.io/v1alpha1"

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

Successfully merging a pull request may close this issue.

2 participants