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

update first instructions for k8s with helm #459

Merged
merged 3 commits into from
Aug 31, 2017
Merged

update first instructions for k8s with helm #459

merged 3 commits into from
Aug 31, 2017

Conversation

arthurlm44
Copy link
Contributor

It appears the preferred method of installation for kubernetes is to use helm.
I updated documentation to reflect that.

Copy link
Contributor

@jzelinskie jzelinskie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!

@@ -44,14 +44,15 @@ A [PostgreSQL 9.4+] database instance is required for all instructions.
#### Kubernetes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change this to be #### Kubernetes (Helm)

@@ -44,14 +44,15 @@ A [PostgreSQL 9.4+] database instance is required for all instructions.
#### Kubernetes

If you don't have a local Kubernetes cluster already, check out [minikube].
This also requires [helm].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does something like this sound instead?

This assumes you've already ran helm init and you have access to a currently running instance of Tiller.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point


[minikube]: https://github.com/kubernetes/minikube
[helm]: https://github.com/kubernetes/helm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is necessary anymore.

kubectl create secret generic clairsecret --from-file=./config.yaml
kubectl create -f clair-kubernetes.yaml
cd clair/contrib/helm
helm install clair
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably instruct users to create their own values.yaml:

cd clair/contrib/helm
cp values.yaml ~/my_custom_values.yaml
vi ~/my_custom_values.yaml
helm install clair -f ~/my_custom_values.yaml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the quick feedback @jzelinskie

@arthurlm44
Copy link
Contributor Author

@jzelinskie I made suggested edits -- thanks for the quick review

Copy link
Contributor

@jzelinskie jzelinskie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one final nitpick, thanks!


If you don't have a local Kubernetes cluster already, check out [minikube].
This assumes you've already ran helm init and you have access to a currently running instance of Tiller.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put helm init in upticks so that it stands out as a command.

`helm init`

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yikes, good catch

@arthurlm44
Copy link
Contributor Author

Thanks @jzelinskie -- comment addressed.

Copy link
Contributor

@jzelinskie jzelinskie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@jzelinskie jzelinskie merged commit e4a5830 into quay:master Aug 31, 2017
@arthurlm44 arthurlm44 deleted the patch-1 branch August 31, 2017 20:58
KeyboardNerd pushed a commit to KeyboardNerd/clair that referenced this pull request Feb 2, 2018
update first instructions for k8s with helm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants