Questions tagged [jkube]

Eclipse Jkube is an open source collection of plugins and libraries that are focused on generating and deploying Java applications on cloud platforms. It provides utilities for building docker images, and deploying your workloads onto Kubernetes without having any knowledge of Kubernetes; hence providing a nice developer experience.

Eclipse JKube is a collection of plugins and libraries that are used for generating and deploying Kubernetes/Openshift manifests at compile time. It brings your Java applications on to Kubernetes and OpenShift. It provides a tight integration into Maven and benefits from the build configuration already provided. This project focus on two tasks: Building Docker images and creating Kubernetes and OpenShift resource descriptors.

17 questions
2
votes
1 answer

Populate and consume data from values.yaml

I'm trying to generate the helm charts using jkube maven plugin. What I would like to do is put some information in the chart template as {{ .Values.something }}. In order to do that I need to, first of all, being able to define/populate that file…
Luis Tobon
  • 101
  • 4
2
votes
1 answer

Unable to generate Kubernetes manifests yaml files using JKube maven plugin

I'm trying to generate my Kubernetes manifests (deployment.yml and service.yml) using JKube via this command : mvn k8s:resource But I'm getting this error : [INFO] Scanning for projects... [INFO] [INFO] -------------------<…
Ghassen
  • 591
  • 1
  • 15
  • 33
2
votes
1 answer

Unable to set JVM settings with JKube Maven plugin

I'm trying to pass the JVM settings to a Java application which is configured to use JKube Maven plugin to deploy on Openshift. I've added in deployment.yaml file the following settings: spec: template: spec: containers: - env: …
Carla
  • 3,064
  • 8
  • 36
  • 65
1
vote
1 answer

Unable to generate Docker image using JKube plugin when executing k8s:build

I'm using Jkube maven plugin to generate a Docker image via a Jenkins pipeline on AWS EC2 instance under Ubuntu. When pipeline executes mvn clean install k8s:build I'm getting this error : [ERROR] Failed to execute goal…
Ghassen
  • 591
  • 1
  • 15
  • 33
1
vote
1 answer

Pod deployed over GitHub Repository by JKube causes 401 while deploying in MicroK8

I am trying installing a simple Spring Boot application by JKube on a microk8s cluster. As remote private docker repository I am using GitHub Packages (beta). While the microk8s is getting the pod, he unsuccessfully tries to deploy it and brings out…
1
vote
1 answer

Not able to deploy a Spring Boot Helloworld application on MicroK8s cluster using jkube plugin

I have a very simple Spring Boot Helloworld application that displays Hello World! message using a REST API. I would like to deploy that application on my Ubuntu node which has MicroK8s installed. Steps Followed: git clone…
Nital
  • 5,784
  • 26
  • 103
  • 195
1
vote
1 answer

Maven / Fabric8 - build an OpenShift container image against a remote OpenShift installation

With Docker I need only provide DOCKER_HOST and appropriate credentials in order for the fabric8 plugin to be able to build my container image. As long as a Docker Registry is available - there is no need to install Docker-related infrastructure on…
Robin Roos
  • 100
  • 8
1
vote
1 answer

Override default jkube deployment name

Is it possible to override the default deployment naming in jkube? I want to do something similar to the docker image naming where I can provide a pattern. The deployment section in the resources documentation looked promising but those options are…
Bill
  • 43
  • 4
0
votes
0 answers

Is it possible to deploy and debug Java application in GKE cluster from Eclipse using JKube?

Using Eclipse JKube (https://www.eclipse.org/jkube/) ,is it possible to deploy Java application to GKE cluster from the Eclipse IDE itself and perform remote debug ? I can see some post on Openshift deployment…
Soumen
  • 121
  • 1
  • 3
  • 14
0
votes
0 answers

Maven modify markdown based on POM Properties

I am trying to solve a problem generating a snippet of markdown. I am using Eclipse JKube to build an image in which there are embedded release material and docs. I instruct users to run some commands to copy these resources locally: From a shell…
Dennis
  • 3,683
  • 1
  • 21
  • 43
0
votes
0 answers

Can't make JKube inject dynamic information in `deployment.yml` with the gradle version

Have been using the JKube maven plugin for a while and wanted to see if I could also make a Gradle based version. I have created a ConfigMap using the DSL, but can't seem to find a way to configure it within the Deployment. So opted for a…
0
votes
1 answer

kubernetes-maven-plugin - Dockerfile Build Fails with .git issue

I am testing out some migration in Maven from a Spotify dockerfile plugin with Fabric8 to just using Eclipse's JKube plugin. I have been hitting errors with what I thought would be a simple enough build using a Dockerfile. The POM config is like…
Dennis
  • 3,683
  • 1
  • 21
  • 43
0
votes
1 answer

JKube doesn't create imagePullSecret

I tried to use JKube maven plugin. I have a private docker repository, I specified it in my pom.xml, like this: org.eclipse.jkube kubernetes-maven-plugin
zamek 42
  • 793
  • 1
  • 9
  • 15
0
votes
0 answers

k8s helm-push goal for existing Helm Chart

I am trying to configure jkube helm-push goal to upload my already existing Helm Chart to our Nexus Helm Repository...(while it seems JKube is the only one supporting Nexus).. But it seems, jkube helm-push is dependant on resource and helm goal,…
posthumecaver
  • 1,584
  • 4
  • 16
  • 29
0
votes
1 answer

JKube maven plugin can't find jar file when building docker image using mvn k8s:build

I'm trying to use JKube for building and deploying APIs to my K8S cluster but when I do mvn k8s:build I'm getting this error : [INFO] --- kubernetes-maven-plugin:1.1.1:build (default-cli) @ trips-api --- [INFO] k8s: Running in Kubernetes mode [INFO]…
Ghassen
  • 591
  • 1
  • 15
  • 33
1
2