-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
There was a problem hiding this 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!
Documentation/running-clair.md
Outdated
@@ -44,14 +44,15 @@ A [PostgreSQL 9.4+] database instance is required for all instructions. | |||
#### Kubernetes |
There was a problem hiding this comment.
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)
Documentation/running-clair.md
Outdated
@@ -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]. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point
Documentation/running-clair.md
Outdated
|
||
[minikube]: https://github.com/kubernetes/minikube | ||
[helm]: https://github.com/kubernetes/helm |
There was a problem hiding this comment.
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.
Documentation/running-clair.md
Outdated
kubectl create secret generic clairsecret --from-file=./config.yaml | ||
kubectl create -f clair-kubernetes.yaml | ||
cd clair/contrib/helm | ||
helm install clair |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
@jzelinskie I made suggested edits -- thanks for the quick review |
There was a problem hiding this 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!
Documentation/running-clair.md
Outdated
|
||
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. |
There was a problem hiding this comment.
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`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yikes, good catch
Thanks @jzelinskie -- comment addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
update first instructions for k8s with helm
It appears the preferred method of installation for kubernetes is to use helm.
I updated documentation to reflect that.