-
Notifications
You must be signed in to change notification settings - Fork 712
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
k8s: Use service account token by default and improve error logging #808
Conversation
3a3c41c
to
fa43df2
Compare
This will need updates to README to document how to use scope with k8s. |
LGTM, and needs documentation. |
I discussed this with @paulbellamy but we were not sure we should modify the documentation until we release it. The README exhorts the user to install the latest release, so documenting something we haven't released is going to be misleading. |
Thats fine, but lets at least have the update ready before merging this. We'll have to do the whole next-release-readme branch thing. |
Sure, I will create a separate branch with the updates. Let me do it before we merge this so that it can be reviewed together with this PR. |
c3635e5
to
68419fd
Compare
@tomwilkie @paulbellamy I've included the documentation here after all since the users should simply use the new resource definitions at https://github.com/TheNewNormal/kube-charts/tree/master/weavescope/manifests That should basically be the source of truth of how to use the flags which I will update once we release 0.12 with this PR. |
CC @rimusz please have a look at the documentation update. I really like Helm but due to the extra manual steps involved I am not completely sure it contributes to make the installation easier. The steps to install Helm and to add the extra repo probably don't pay off, since the user needs to invoke kubectl manually anyways (due to the optional app component and the deployment ordering restriction, which I believe cannot be enforced though Please let me know if I missed something and |
68419fd
to
312b9ac
Compare
@2opremio I said in the email I will make a PR to upstream Helm repo, so these steps will be redundant:
Also using new helm v0.3 (template and generator options) should be possible to make scope install much easier with different requirements |
@rimusz Good! Is there a possibility to define a deployment order and optional resources for Without this we need to resort to use |
The manifests look fantastic but, due to all the manual fiddling still needed, I'm not sure helm adds much yet. Let's see what the instructions look like without it, @2opremio? |
I agree, we can include Helm again once:
I will modify the instructions to use |
499a5e1
to
65762ff
Compare
@rimusz Please let us know if you are OK with us using the resource definitions without Helm until the problems I outlined above are resolved. Otherwise we are happy leaving the documentation as it was until they are resolved and we include Helm in the instructions. |
65762ff
to
5633188
Compare
@2opremio sure, that's fine |
5633188
to
e0dfeb1
Compare
k8s: Use service account token by default and improve error logging
Fixes #717
@paulbellamy PTAL