Created
October 9, 2019 17:31
-
-
Save tamanobi/a61eefbbd00f2873d66eb253f8683450 to your computer and use it in GitHub Desktop.
Cloud VS Code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: vscode-settings-configmap | |
data: | |
settings.json: | | |
{ | |
"terminal.integrated.shell.linux": "/bin/bash" | |
} | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: dind | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
editor: vscode | |
spec: | |
containers: | |
- name: dind | |
image: docker:19.03.2-dind | |
env: | |
- name: DOCKER_TLS_CERTDIR | |
value: "" | |
securityContext: | |
privileged: true | |
ports: | |
- containerPort: 2375 | |
- name: cloud9 | |
image: linuxserver/cloud9:go | |
env: | |
- name: DOCKER_HOST | |
value: "tcp://localhost:2375" | |
- name: vscode | |
image: codercom/code-server:2.1583-vsc1.38.1 | |
env: | |
- name: DOCKER_HOST | |
value: "tcp://localhost:2375" | |
volumeMounts: | |
- name: vscode-settings | |
mountPath: /home/coder/.local/share/code-server/User/settings.json | |
volumes: | |
- name: vscode-settings | |
configMap: | |
name: vscode-settings-configmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment