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

Add install instructions for various K8s vendors/distributions #33

Open
tirumaraiselvan opened this Issue Mar 16, 2018 · 13 comments

Comments

Projects
None yet
8 participants
@tirumaraiselvan
Collaborator

tirumaraiselvan commented Mar 16, 2018

Gitkube runs on most Kubernetes distributions/vendors as per the install instructions in README. But in some cases, there may be more configuration required to correctly setup for e.g. exposing the gitkubed service may require configuring a Loadbalancer manually.

We need to document the instructions (docs/install.md) covering various vendors like GKE, Rancher, kops based installations, etc. In most cases, the instructions should be default instructions as provided in the README and in other cases the additional steps should be mentioned.

Please use this issue to mention any distribution which is not covered by the installation instructions.

@adrianog

This comment has been minimized.

adrianog commented Mar 21, 2018

Any particular word of advice for openshift?

@coco98

This comment has been minimized.

Contributor

coco98 commented Mar 21, 2018

@adrianog Well these are the commands that you would need to run on openshift? Do you foresee that they would run as is on an openshift kubernetes cluster?

kubectl create -f https://raw.githubusercontent.com/hasura/gitkube/master/manifests/gitkube-setup.yaml

This command will create k8s objects in the kube-system namespace.

$ kubectl --namespace kube-system expose deployment gitkubed --type=LoadBalancer --name=gitkubed

This command will expose the deployment on a public IP.

If you can do these 2 things, things should work for you. If you can try them out, please let us know if it works or doesn't and then we can add docs for how to on openshift!

@disha94

This comment has been minimized.

disha94 commented May 2, 2018

Trying to setup gitkube with minikube, but while creating the remote, I am getting this error:
Error from server (Timeout): error when creating "remote.yaml": Timeout: request did not complete within allowed duration

@disha94

This comment has been minimized.

disha94 commented May 2, 2018

Sorted, It was Kubernetes version issue.

@tirumaraiselvan

This comment has been minimized.

Collaborator

tirumaraiselvan commented May 2, 2018

@disha94 which version did you have the issue with and which issue fixed it for you? We have docs/minikube.md where we can mention this.

@disha94

This comment has been minimized.

disha94 commented May 2, 2018

@tirumaraiselvan So I think it was from my side, gitkube support is only after v1.8.7 of kubernetes and I had a older version (1.8.0) in my minikube. Upgrading the kubernetes version in minikube fixed the problem.

@sunfmin

This comment has been minimized.

sunfmin commented Jul 29, 2018

In README

kubectl create -f https://storage.googleapis.com/gitkube/gitkube-setup-stable.yaml

https://storage.googleapis.com/gitkube/gitkube-setup-stable.yaml seems not accessible.

@arvi3411301

This comment has been minimized.

Member

arvi3411301 commented Jul 29, 2018

@sunfmin https://storage.googleapis.com/gitkube/gitkube-setup-stable.yaml was not publicly accessible. I have added the correct permissions. Can you try again?

@sunfmin

This comment has been minimized.

sunfmin commented Aug 8, 2018

@arvi3411301 Yes it works. I tried gitkube successfully on my local Docker for desktop kubernetes. It works great.

@mandarku

This comment has been minimized.

mandarku commented Sep 25, 2018

I am seeing these errors..

Error from server (BadRequest): error when creating "https://storage.googleapis.com/gitkube/gitkube-setup-stable.yaml": ClusterRoleBinding in version "v1" cannot be handled as a ClusterRoleBinding: no kind "ClusterRoleBinding" is registered for version "rbac.authorization.k8s.io/v1"

unable to recognize "https://storage.googleapis.com/gitkube/gitkube-setup-stable.yaml": no matches for apiextensions.k8s.io/, Kind=CustomResourceDefinition

@tirumaraiselvan

This comment has been minimized.

Collaborator

tirumaraiselvan commented Sep 26, 2018

@mandarku Could you please specify additional details like which Kubernetes version, which provider (if any), etc. You may want to open a new issue just for this.

@mandarku

This comment has been minimized.

mandarku commented Sep 26, 2018

kubectl version
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.8", GitCommit:"d74e09bb4e4e7026f45becbed8310665ddcb8514", GitTreeState:"clean", BuildDate:"2017-08-03T18:12:08Z", GoVersion:"go1.7.6", Compiler:"gc", Platform:"linux/amd64"}

I read above gitkube is supported 1.8 onwards?

@tirumaraiselvan

This comment has been minimized.

Collaborator

tirumaraiselvan commented Sep 26, 2018

@mandarku Yes, as the error suggest your K8s version does not have the APIs like ClusterRoleBinding or CustomResourceDefinition (or have it in a different api group). Hence, gitkube works only 1.8+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment