Skip to content

koba1t/vscode-as-a-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

vscode-as-a-service

This project helps to providevscode on remote server on kubernetes.

This project can provide for many user.

Requirement

Set up kubernetes cluster and install ESC.

Install

First, Create Namespace.

kubectl apply -f config/namespace.yaml

Apply container template and proxy resource.

kubectl apply -f config/esc/template.yaml
kubectl apply -f config/esc/esc-proxy.yaml

And setup config for config/ingress/ resources.
Describe is here

Edit config/ingress/external-auth-ingress.yaml.Change < YOUR_DOMAIN_NAME_HERE > to your domain.
And set ssl-secret to SSL secret for your domain.
(I'm using cert-manager)

Edit config/ingress/oauth2-proxy.yaml to set OAUTH2_PROXY_CLIENT_ID,OAUTH2_PROXY_CLIENT_SECRET for github oauth and generate OAUTH2_PROXY_COOKIE_SECRET and set it.

kubectl apply -f config/ingress/external-auth-ingress.yaml
kubectl apply -f config/ingress/oauth2-proxy.yaml

About

vscode-as-a-service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published