Comments (18)
One prereq is to validate that we could display infos as described here
kubectl get application/my-app-1
NAME TYPE FRAMEWORK VERSION SERVICE target
backend runtime spring-boot 1.5.16 - -
frontend-sb runtime spring-boot 1.5.16 - -
frontend-nodejs runtime nodejs 0.8 - -
database service - 9.6 postgresql-db
endpoint-backend link - - - frontend-sb, frontend-nodejs
upload job spring-boot 1.4.14 - -
from dekorate.
Could you elaborate a little more please?
I don't see how the comment is relevant to the ticket.
from dekorate.
For the moment, the operator handles Component CRD
as defined here and checks if it contains within the .spec
section of the ComponentSpec
a Link
or Runtime
or Service
to be instantiated on the platform.
then, when we issue this query oc get cp
, we will fetch all the Components
deployed on the platform
e.g
oc get cp
NAME RUNTIME VERSION SERVICE TYPE CONSUMED BY AGE
fruit-backend-sb spring-boot postgresql-db 3h
fruit-client-sb spring-boot 3h
If now, we manage the Link
outside of the Component CRD
, then we must verify that we should be able to generate such output without the need to do oc get components
followed by oc get links
...
NAME RUNTIME VERSION SERVICE TYPE CONSUMED BY AGE
fruit-backend-sb spring-boot postgresql-db 3h
fruit-client-sb spring-boot 3h
fruit-endpoint-sb fruit-client-sb
I created a project and we can't aggregate results into one table unfortunately but nevertheless we can create distinct CRDs
from dekorate.
OK, so there is something I am missing I think :)
At the moment, there is no distinct Link
CRD is there? Is this task about providing the ability generate the yaml for such a Link
and have it saved as a separate file - thus completely removing the link information from the Component CRD?
If there is such a Link CRD, could you please point to it?
In any case, I see that the comment makes perfect sense, but I don't believe it has to do with ap4k, but with the implementation of the operator itself.
from dekorate.
Link
CRD is there?
Correct. There is a Link
type defined within the component operator
but it is not yet part of an dedicated API and CRD = k8s resource having a spec, ...
from dekorate.
link information from the Component CRD?
This is the idea as the Link
represents a relation between ComponentA
and ComponentB
or by example a ComponentA
and a Service
, ...
from dekorate.
I don't believe it has to do with ap4k, but with the implementation of the operator itself.
We need to package it at least as a separate maven module as it will be handled as a separate annotation such as ServiceCatalog
from dekorate.
I don't believe it has to do with ap4k, but with the implementation of the operator itself.
We need to package it at least as a separate maven module as it will be handled as a separate annotation such as
ServiceCatalog
Yes of course, I meant that the comment of the output doesn't have an affect on this task
from dekorate.
link information from the Component CRD?
This is the idea as the
Link
represents a relation betweenComponentA
andComponentB
or by example aComponentA
and aService
, ...
So in that case, could you please provide some examples of what you think the Link
annotation would look like and what it would produce as it's yaml result?
from dekorate.
I have updated the ticket published on k8s sig-cli as this is really blocking for the moment to use separate CRDs as we can't (like in SQL) create a query able to group the results
--> https://groups.google.com/forum/#!topic/kubernetes-sig-cli/_OOguy8NU-c
from dekorate.
So, I propose to wait the result of my investigations before to work on that issue @geoand
from dekorate.
Yes, that makes sense :)
from dekorate.
I have updated the ticket published on k8s sig-cli as this is really blocking for the moment to use separate CRDs as we can't (like in SQL) create a query able to group the results
--> https://groups.google.com/forum/#!topic/kubernetes-sig-cli/_OOguy8NU-c
Thanks for sharing!
from dekorate.
I believe I have understood the basic of ap4k development, so if/when we decide to move this forward, I'd be glad to start writing code
from dekorate.
Ideally oc get or kubectl get
should offer what we can do in SQL such as "SQL JOIN -> https://goo.gl/6j4Pue"
from dekorate.
That would be cool but I am guessing it could get pretty expensive on the server side
from dekorate.
@cmoulliard is this still relevant?
from dekorate.
This isn't relevant anymore as there is no Link CRD anymore in halkyon.
from dekorate.
Related Issues (20)
- Certmanager annotation config fails missing name HOT 1
- Helm: Generate a README.md file containing the values parameters HOT 1
- Helm: Generate the `values.schema.json` file
- Setting 0 replicas is broken for Deployment, DeploymentConfig and StatefulSet
- Dekorate BOM declares a non-existing dependency HOT 1
- Adding an empty property configuration to the Session has unintended side effects.
- CI: Cover scenario with Pipeline runs for Tekton HOT 1
- Tekton: Use params.XXX instead of inputs.params.XXX
- Dekorate BOM 3.7.0 is missing HOT 6
- Empty ProjectParseResourceFileTest.java in the repo
- settings.gradle.kts failed to parse rootProject variable on windows
- Build step io.quarkus.kubernetes.deployment.KubernetesProcessor#build threw an exception: java.lang.IncompatibleClassChangeError: class io.dekorate.tekton.config.TektonConfigFluent has interface io.dekorate.kubernetes.config.ApplicationConfigurationFluent as super class HOT 5
- Dekorate option output-path doesn't generate the files in the desired location HOT 1
- No tekton yaml resource is populated
- Provider io.fabric8.kubernetes.client.okhttp.OkHttpClientFactory not found HOT 7
- Typo in openshift VCS annotation
- Using dekorate.openshift.deployment-kind=Deployment produces empty {}
- Extract Helm model into separate artifact to make it easier to reuse
- support kubernetes affinity
- kubernetes-spring-starter did not generate k8n manifest files in gradle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dekorate.