Closed sharkymark closed 5 months ago
@sharkymark i also tested last night - our current Helm chart only provides permissions for creating pods
and persistentvolumeclaims
. i don't think adding deployment.apps
is necessary at this point (the less amount of privileges, the better).
@kylecarbs i tested with your kyle-testing
template in dogfood, and am not seeing the logs populate in the UI:
the logs populate after a page refresh:
I'm not sure how relevant this issue is anymore so I'm closing. The helm chart seems to work fine for me.
I was testing
coder-logstream-kube
last night so wrote a sample templateFor some reason on the Coder installation I have on Kubernetes, the coder service account did not have enough permissions to create a workspace deployment (
kubernetes_pod
cannot be used yet/now)The
README.md
giveskubectl
commands to create a role and rolebinding to fix it. Again it may have been my Coder install which dates back to summer of 2022 when our helm chart was not mature yet. Who knows.https://github.com/sharkymark/v2-templates/tree/main/logstream-kube
@kylecarbs I do have one question, as you can see in the UI logs, all it shows is the pod is created successfully on the node. You can see when the
startup_script
starts. Should I have seen more info, like container creating? Thecoder-logstream-kube
README.md
shows more info like container creation.