Giter VIP home page Giter VIP logo

thomasvitale / developer-experience-java-kubernetes Goto Github PK

View Code? Open in Web Editor NEW
57.0 7.0 18.0 315 KB

Samples showing how to use different tools and patterns to improve the developer experience and optimise the inner development loop.

License: Apache License 2.0

Java 92.39% Starlark 5.32% Shell 2.29%
cartographer cloud-native java kubernetes skaffold tilt buildpacks knative paketo-buildpack telepresence

developer-experience-java-kubernetes's Introduction

Developer Experience with Java on Kubernetes

In the cloud-native world, being a developer might be challenging. The number of technologies and patterns to know can be overwhelming. This repository presents an approach based on open-source technologies and focused on improving the inner development loop and continuous delivery on Kubernetes. The end goal is delivering value continuously, quickly, and reliably.

The approach works with any Java application, but we'll use Spring Boot for our examples. Some of the open-source technologies covered are:

  • Cloud Native Buildpacks
  • Knative
  • Tilt
  • Skaffold
  • Telepresence
  • Argo CD.

For each tool/strategy there is a dedicated folder within which you'll find instructions on how to setup your environment.

Pre-requisites

Running through the examples will require you to have the following installed on your machine:

To manage different versions and distributions of Java, I recommend using SDKMAN!.

Finally, to interact with HTTP services, I recommend using httpie.

developer-experience-java-kubernetes's People

Contributors

thomasvitale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

developer-experience-java-kubernetes's Issues

How Tilt livereload works?

Can you explain a bit on how live-reload works in case of tilt?

# Build
custom_build(
    # Name of the container image
    ref = 'book-service',
    # Command to build the container image
    command = './gradlew bootBuildImage --imageName $EXPECTED_REF',
    # Files to watch that trigger a new build
    deps = ['build.gradle', './bin/main'],
    # Enables live reload
    live_update = [
        sync('./bin/main', '/workspace/BOOT-INF/classes')
    ]
)

# Deploy
k8s_yaml(['config/deployment.yml', 'config/service.yml'])

# Manage
k8s_resource('book-service', port_forwards=['8080:8080', '9090:9090'])

In particular, what exactly is './bin/main'? I'm asking this question because I can't get this work and official examples are completely different.

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.