Foam in Code Server pushing to GitHub
This is a demo of Foam working in code-server behind a Kubernetes server. It's using https and it's working perfectly, even I've set a shortcut to push to my GitHub repo with the files.
It's not necessary to do it in Kubernetes. You can do it in a simple cloud VM like: https://www.digitalocean.com/community/tutorials/how-to-set-up-the-code-server-cloud-ide-platform-on-ubuntu-18-04
In Kubernetes I set the cluster and basically I did: (I used GKE)
- Create a regional static IP
- Install Nginx (Reverse proxy)
helm install nginx stable/nginx-ingress --set controller.service.loadBalancerIP=CREATED_IP
- Install cert-manager (To get https)
kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.12/deploy/manifests/00-crds.yaml
helm install cert-manager --namespace cert-manager --version v0.12.0 jetstack/cert-manager
kubectl apply -f issuer.yaml (Create letsencrypt issuer)
- Install code-server
kubectl create deployment code-server --image=codercom/code-server:3.4.1
kubectl expose deployment code-server --port 8080 --target-port 8080
kubectl apply -f pvc.yaml # Create PersistentVolumeClaim
kubectl apply -f codeserver-ingress.yaml # Create ingress for code.claud.dev
- Edit deployment to add PersistentVolumeClaim, password to access
# Links
code-server: https://hub.docker.com/r/codercom/code-server
foam: https://marketplace.visualstudio.com/items?itemName=foam.foam-vscode
Run In Terminal: https://marketplace.visualstudio.com/items?itemName=kortina.run-in-terminal
Видео Foam in Code Server pushing to GitHub автора Python профи
Видео Foam in Code Server pushing to GitHub автора Python профи
Информация
4 декабря 2023 г. 3:15:08
00:00:35
Похожие видео



















