From d16ab271cf2e213029cd86a251a3e3e6b9a6afbf Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Thu, 10 Feb 2022 21:25:23 +0000 Subject: [PATCH] Remove code-server It doesn't work on arm64 https://github.com/coder/code-server/issues/4804 I don't use it enough --- cluster/default/code/code.yaml | 72 ---------------------------------- cluster/default/code/pvc.yaml | 13 ------ 2 files changed, 85 deletions(-) delete mode 100644 cluster/default/code/code.yaml delete mode 100644 cluster/default/code/pvc.yaml diff --git a/cluster/default/code/code.yaml b/cluster/default/code/code.yaml deleted file mode 100644 index 76c27b8f..00000000 --- a/cluster/default/code/code.yaml +++ /dev/null @@ -1,72 +0,0 @@ ---- -apiVersion: extensions/v1beta1 -kind: Ingress -metadata: - name: code-server - namespace: default - annotations: - kubernetes.io/ingress.class: internal -spec: - rules: - - host: code.sko.ai - http: - paths: - - backend: - serviceName: code-server - servicePort: 8080 - path: / - tls: - - hosts: - - code.sko.ai ---- -apiVersion: v1 -kind: Service -metadata: - name: code-server - namespace: default -spec: - ports: - - protocol: TCP - port: 8080 - targetPort: 8080 - selector: - app: code-server - type: LoadBalancer ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: code-server - namespace: default -spec: - selector: - matchLabels: - app: code-server - strategy: - type: Recreate - template: - metadata: - labels: - app: code-server - spec: - containers: - - image: codercom/code-server:4.0.2 - name: code-server - args: - - --auth - - none - env: - ports: - - containerPort: 8080 - name: code-server - volumeMounts: - - name: pv-code-server - mountPath: /home/coder - securityContext: - runAsUser: 1000 - runAsGroup: 1000 - fsGroup: 1000 - volumes: - - name: pv-code-server - persistentVolumeClaim: - claimName: code-server-data-v2 diff --git a/cluster/default/code/pvc.yaml b/cluster/default/code/pvc.yaml deleted file mode 100644 index ac507c57..00000000 --- a/cluster/default/code/pvc.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: code-server-data-v2 - namespace: default -spec: - storageClassName: nfs-client - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi