GithubHelp home page GithubHelp logo

chenamespacesinminikube's Introduction

to deploy first:

 kubectl apply -f chesc.yaml #create storage class for the first time 
 ./before.sh #reset volumes and clean postgres data (release workspaces volume without erase)
             #run every chectl reinstall.

after that issue:

chectl server:deploy -p k8s -a operator -m --che-operator-cr-patch-yaml=operatorpatch.yaml -b SOME_DOMAIN_NAME --skip-kubernetes-health-check

now there's the need of a patch on checluster:

kubectl edit -n eclipse-che checluster/eclipse-che

add in relevant part:

server:
    allowUserDefinedWorkspaceNamespaces: true
    cheCustomProperties:
      CHE_WORKSPACE_DEFAULT__CPU__LIMIT__CORES: 5999m
      CHE_WORKSPACE_DEFAULT__CPU__REQUEST__CORES: 1.75

restart che server to apply:

kubectl -n eclipse-che scale deployment/che --replicas=0 && \
kubectl -n eclipse-che scale deployment/che --replicas=1

then use the after patch:

./after.sh

devfile for testing:

apiVersion: 1.0.0
metadata:
  name: haskell
components:
  - id: eclipse/che-theia/next
    type: cheEditor
    cpuLimit: 1750m
    cpuRequest: 200m
  - preferences:
      haskell.languageServerVariant: ghcide
    type: chePlugin
    id: haskell/vscode-haskell/latest
    cpuLimit: 4001m
    cpuRequest: 200m

chenamespacesinminikube's People

Contributors

gattytto avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.