Giter VIP home page Giter VIP logo

Comments (9)

rohanKanojia avatar rohanKanojia commented on June 7, 2024 1

@mransonwang : I think both Fabric8 Maven Plugin and Jkube support Openshift 4(See https://github.com/fabric8io/fabric8-maven-plugin#openshift-and-kubernetes-compatibility). Are you facing any issue with FMP/Jkube's usage on Openshift 4?

from jkube.

mransonwang avatar mransonwang commented on June 7, 2024

Thanks for your quick reponse, will try on OpenShift 4 later :-)

from jkube.

rohanKanojia avatar rohanKanojia commented on June 7, 2024

@mransonwang : I'm keeping this ticket open till you try it out and provide feedback :-) . You can close it if you're able to use it successfully on Openshift 4

from jkube.

mransonwang avatar mransonwang commented on June 7, 2024

@rohanKanojia I spent one day to validate the plugin on OpenShift 4.3.3, almost done. However I need a customized route configuration in my Spring Boot project pom.xml, I dont kown how to produce it such as:

kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: hello-world
namespace: demo-s2i
selfLink: /apis/route.openshift.io/v1/namespaces/demo-s2i/routes/hello-world
uid: c031f230-1f78-41d4-9652-c1ce8abbdc53
resourceVersion: '68426'
creationTimestamp: '2020-02-23T06:12:15Z'
labels:
app: hello-world
app.kubernetes.io/component: hello-world
app.kubernetes.io/instance: hello-world
app.kubernetes.io/name: java
app.kubernetes.io/part-of: hello-world-app
app.openshift.io/runtime: java
app.openshift.io/runtime-version: '11'
annotations:
openshift.io/host.generated: 'true'
spec:
host: hello-world-demo-s2i.apps.ocp4.example.com
to:
kind: Service
name: hello-world
weight: 100
port:
targetPort: 8443-tcp
tls:
termination: passthrough
insecureEdgeTerminationPolicy: Redirect
wildcardPolicy: None

Especially for sepc config, how plugin could generate the sepc that I want?

from jkube.

rohanKanojia avatar rohanKanojia commented on June 7, 2024

You can provide a custom route fragment in src/main/jkube directory and plugin would merge your fragment into the final generated route manifest

from jkube.

mransonwang avatar mransonwang commented on June 7, 2024

@rohanKanojia Where's detailed documentation?

from jkube.

rohanKanojia avatar rohanKanojia commented on June 7, 2024

I think it's this : https://htmlpreview.github.io/?https://github.com/eclipse/jkube/blob/master/kubernetes-maven-plugin/doc/index.html#resource-fragments

from jkube.

mransonwang avatar mransonwang commented on June 7, 2024

@rohanKanojia After did some configurations, the plugin worked well against OpenShift 4.4.3, thanks for your kindly help.

from jkube.

rohanKanojia avatar rohanKanojia commented on June 7, 2024

@mransonwang : Thanks a lot for trying our plugin out :)

from jkube.

Related Issues (20)

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.