Giter VIP home page Giter VIP logo

lab-spring-boot-k8s-getting-started's People

Contributors

boykoalex avatar grahamdumpleton avatar jorgemoralespou avatar kdvolder avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lab-spring-boot-k8s-getting-started's Issues

Remove "Open" option at end of initializr wizard

The Initializr extension in the IDE offers two options at the end: "Open" and "Add to Workspace". The "Open" button opens a new workspace, which is a new tab in code-server, and takes you out of the eduk8s lab. Ideally we'd like to simply disable that button. An alternative would be to fix code-server so it doesn't open a new tab, but they have shown themselves to be against that option in the upstream issue tracker.

Open code in IDE from lab notes

Improved UX ideas:

  • click on button/link in lab notes and open existing file in IDE.
  • click on snippet and add it to existing file (e.g. adding a @GetMapping)
  • more complex things (e.g. adding a @RestContoller annotation to an existing class, and organizing imports)

Intro promises no YAML, but page 4 generates a bunch of YAML

From intro:

Spring Boot is a great way to write an application in Java. This workshop shows you how to create a Spring Boot application and run it in Kubernetes with as little fuss and bother as possible. And there's no YAML. To do this we need to do three things:

I suggest removing the bit that says: And there's no YAML.

From lesson page 4:

Screenshot 2020-08-11 at 14 31 07

k8s deployment fails with `allocated memory is greater than 256M available for allocation`

The small session budget configures limitranger defaults for containers to 256MB memory, which is too small. Deployments fails with the following error:

allocated memory is greater than 256M available for allocation: -XX:MaxDirectMemorySize=10M, -XX:MaxMetaspaceSize=94141K, -XX:ReservedCodeCacheSize=240M, -Xss1M x 250 threads

I suggest tuning this to 1024MB in the workshop.yaml, or figuring out a way to set explicit (higher) limits in the deployment container spec.

see
https://docs.eduk8s.io/en/latest/runtime-environment/workshop-definition.html#resource-budget-for-namespaces

Execute command line snippets from lab notes in IDE terminal

The IDE is more comfortable for developers than the bare terminal, and it's a "one stop shop" for workshop activities. If it's not too expensive to implement, it would be good to have the option to execute command line snippets in the IDE.

Cannot paste into YAML array element

Tried this:

<pre class="pastable" data-file="/home/eduk8s/exercises/demo/deployment.yaml" data-yaml-path="spec.template.spec.containers[0]">
...
</pre>

But it didn't do anything. I need to select the element (by index or name or something).

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.