kaotoio / kaoto-standalone Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
see #25 (comment) for the steps
I'm trying to make the installation of multiple version of kaoto through the operator possible (since in fact we have 1-1 relation between the Kaoto CR and the related backend+frontend or standalone set-up) but I'm unable to make it working if I configure path substitution in the ingress, as example with this set-up:
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: designer
app.kubernetes.io/instance: kaoto-sample
app.kubernetes.io/managed-by: kaoto-operator
app.kubernetes.io/name: kaoto
app.kubernetes.io/part-of: kaoto
name: kaoto-sample
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/component: designer
app.kubernetes.io/instance: kaoto-sample
app.kubernetes.io/managed-by: kaoto-operator
app.kubernetes.io/name: kaoto
app.kubernetes.io/part-of: kaoto
template:
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: designer
app.kubernetes.io/instance: kaoto-sample
app.kubernetes.io/managed-by: kaoto-operator
app.kubernetes.io/name: kaoto
app.kubernetes.io/part-of: kaoto
spec:
containers:
- env:
- name: NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: QUARKUS_LOG_LEVEL
value: DEBUG
image: docker.io/kaotoio/standalone:main
imagePullPolicy: Always
name: standalone
ports:
- containerPort: 8081
name: http
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: designer
app.kubernetes.io/instance: kaoto-sample
app.kubernetes.io/managed-by: kaoto-operator
app.kubernetes.io/name: kaoto
app.kubernetes.io/part-of: kaoto
name: kaoto-sample
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 8081
selector:
app.kubernetes.io/instance: kaoto-sample
app.kubernetes.io/name: kaoto
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/use-regex: "true"
labels:
app.kubernetes.io/component: designer
app.kubernetes.io/instance: kaoto-sample
app.kubernetes.io/managed-by: kaoto-operator
app.kubernetes.io/name: kaoto
app.kubernetes.io/part-of: kaoto
name: kaoto-sample
namespace: default
spec:
ingressClassName: nginx
rules:
- http:
paths:
- backend:
service:
name: kaoto-sample
port:
name: http
path: /kaoto-sample(/|$)(.*)
pathType: Prefix
Any request hitting the ingress with a path prefix of /kaoto-sample
is forwarded to the kaoto-sample
deployment, however when hitting the endpoint with the browser, a blank page shows up.
fully disable them on 31st May 2023
for isntance with docker run --rm -p 8080:8081 --name kaoto kaotoio/standalone:0.7.3
it is logging:
2023-03-21 10:22:34,744 INFO [io.quarkus] (main) kaoto-backend 0.7.4-SNAPSHOT native (powered by Quarkus 2.15.2.Final) started in 15.175s. Listening on: http://0.0.0.0:8081
the last one is 6 months old https://quay.io/repository/kaotoio/standalone?tab=tags
Docker image will contains quarkus backend and static frontend files
it wasn't the case for the last days
currently it tries to push also on Pull Requests. See #7 (comment)
Error: #21 81.92 [ERROR] [error]: Build step io.quarkus.deployment.pkg.steps.NativeImageBuildStep#build threw an exception: java.lang.IllegalStateException: Out of date version of GraalVM detected: GraalVM 22.1.0 Java 17 CE (Java Version 17.0.3+7-jvmci-22.1-b06). Quarkus currently supports 22.3.0. Please upgrade GraalVM to this version.
Some GitHub Actions are not using the latest versions of action.
Several of them are using API which will is deprecated and is planned for removal.
After building Kaoto backend natively, when running the image, we get an error that the backend cannot parse the available capabilities.
Backend Stacktrace:
2023-07-21 14:54:30,593 ERROR [io.kao.bac.api.res.v1.CapabilitiesResource] (executor-thread-2) Error getting capabilities.: java.lang.NullPointerException
at io.kaoto.backend.camel.service.dsl.kamelet.KameletDSLSpecification.validationSchema(KameletDSLSpecification.java:52)2023-07-21 14:54:30,593 ERROR
I guess some layers are reused because no modifications are detected and so not picking up the latest Kaoto backend and UI
When creating a release, the "Publish to Quay.io" step fails
Example URL
https://github.com/KaotoIO/kaoto-standalone/actions/runs/5623896786/job/15239558472
Could be possible that the token expired?
I guess some layers are reused causing no modifications are detected and so not picking up the latest Kaoto backend and UI
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.