Skip to content

Declarative Configuration #3534

Answered by deansheather
rio asked this question in Q&A
Jun 3, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Great questions!

  1. Usually people just extend the image and add apt-get (or equivalent) commands, then use the resulting image for development. You could create a cronjob that builds this image every day and pushes it to a local registry inside your k8s cluster.
  2. You could either install the extensions into the image, or if you want portability you could create an initContainer in your Pod that reads a list of extensions from a ConfigMap and calls code-server --install-extension with a PVC for wherever the extensions are installed (probably ~/.local/share/code-server or something).
  3. Yep!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rio
Comment options

Answer selected by jsjoeio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants