Questions tagged [fabric8]

fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins which provides Management (with centralized logging and metrics), Continuous Delivery (based on Jenkins, Nexus and Sonarqube with integrated Chat), Integration (Integration Platform as a Service based on Apache ActiveMQ, Camel and CXF) and tools for developers and devops

Fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins which provides

see fabric8 on github

381 questions
5
votes
2 answers

Kubernetes helm Java API

Is there any known Java API to use Kubernetes helm (something like the great KubernetesClient from fabric8)? I am trying to initial helm commands from Java but I couldn't find anything that actually works... Thanks, Nir
Nir Koren
  • 241
  • 4
  • 11
5
votes
3 answers

Best way to load dynamically routes in Apache Camel

we have developped application based on Karaf and Apache Camel. While our application is entirely based on bundles ( OSGI ) we are also loading the Camel context ( and its' Route Contexts ) on startup, whcih would mean that we have defined some…
Tiho
  • 85
  • 1
  • 6
4
votes
2 answers

How to specify kubeconfig file location when using fabric8io?

According to this, I can specify system property KUBECONFIG to tell defaultKubernetesClient to use the specified kubeconfig file instead of the default ~/.kube/configfile. What should I do that then I'm using fabric8io? Tks in advance.
theotheo
  • 145
  • 2
  • 9
4
votes
1 answer

kubectl apply -f equivalent in fabric8 java api

I was trying to use io.fabric8 api to create a few resources in kubernetes using a pod-spec.yaml. Config config = new ConfigBuilder() .withNamespace("ag") .withMasterUrl(K8_URL) .build(); try…
Ajay
  • 242
  • 1
  • 3
  • 13
3
votes
1 answer

Is Fabric8 for kubernetes client deprecated?

I've seen the fabric8 documentation and it says that fabric8 is already deprecated. I would like to know if is recommendable to use this API or is better to use the official Kubernetes client I started using fabric8, but now I wonder if I have to…
rasilvap
  • 1,771
  • 3
  • 31
  • 70
3
votes
1 answer

dynamically or programmatically unmount / detach a persistent volum claim from a kubernetes pod and assign (mount /attach ) it to another pod

I have a pod called mypod0 with two persistent volumes. mypd0, mypd1 (provided through two persistent volume claims myclaim0, myclaim1) mounted into mypod0 at /dir0, /dir1 as shown in the pod definition below. apiVersion: v1 kind: Pod metadata: …
3
votes
1 answer

List all files in a pod folder using Fabric8 java library

Can someone please point me in the right direction on how to list all files in a kubernetes pod directory using the Fabric8 library? I have looked at the codota.com for code examples, but have yet to find a example that would help me. What i want to…
CobraKai
  • 87
  • 1
  • 6
3
votes
0 answers

Not able to connect to a docker container from windows using io.fabric8

I am running some Integration tests on a Windows 10 machine. I have a Java maven project that uses io.fabric8 docker maven plugin to manage docker images and containers. I am having issues when my Integration Tests are trying to communicate with…
breaktop
  • 1,899
  • 4
  • 37
  • 58
3
votes
2 answers

Kubernetes WatchConnectionManager: Exec Failure: HTTP 403

I'm experiencing Error Expected HTTP 101 response but was '403 Forbidden' After I setup a new Kubernetes cluster using Kubeadm with a single master and two workers, as I submit a pyspark sample app I encountered below ERROR message: spark-submit…
3
votes
0 answers

How can I get the "Terminating" status in io.fabric8.kubernetes-client

For some reasons, Pod [itom-itsma-backup-deployment-989867dc5-9w84b] is stuck in Terminating status. I have a Java client to monitor the Pod status using io.fabric8.kubernetes-client Java code like below: List pods…
Cain
  • 585
  • 1
  • 9
  • 25
3
votes
0 answers

Cannot get fabric8 to start on local development machine (OSX or Linux)

I'm trying to give fabric8 a shot but I'm having issues getting it to start on a local machine running minikube and virtualbox (I've attempted this on Linux and OSX. I'm able to get all but one of the pods to start (after manually increasing…
John
  • 31
  • 1
3
votes
1 answer

How to push docker image to Amazon ECR using io.fabric8 maven plugin with authorization

I have a plugin to create a image, once created it need to be pushed to amazon ECR Please look into my plugin in the below` io.fabric8
Damodar
  • 53
  • 12
3
votes
1 answer

Kubernetes pod - image never pulled error

I'm trying to deploy my Lagom accessservices on Kubernetes. To do that I tried to containerize my service using fabric8’s docker-maven-plugin. So, I added the following plugin settings to the root project pom.xml to register the fabric8 Maven…
Imen
  • 161
  • 2
  • 14
3
votes
0 answers

Fabric8 Docker Maven plugin not working for compose.yml on Multi module project

I trying to use Fabric8 docker-maven-plugin, though I was successful in configuring plugin for individual module and run docker:build docker:start Maven goal without using docker-compose.yml, however I needed externalize ports and link the different…
Karthik Prasad
  • 9,662
  • 10
  • 64
  • 112
3
votes
4 answers

How to get kubernetes service account access token using fabric8 java client?

I have configured minikube in my local machine and going to use kubernetes externally. I have created a Service Account in kubernetes and using it's secret I can get the access token using below command. kubectl get secret
Chamalee De Silva
  • 687
  • 1
  • 9
  • 28
1
2
3
25 26