raffis / kjournal Goto Github PK
View Code? Open in Web Editor NEWkjournal is a lightweight kubernetes apiserver to serve longterm logging & events as kubernetes API
Home Page: https://raffis.github.io/kjournal
License: Apache License 2.0
kjournal is a lightweight kubernetes apiserver to serve longterm logging & events as kubernetes API
Home Page: https://raffis.github.io/kjournal
License: Apache License 2.0
--since and --range do not support time in days. 3d
does not work but 72h does.
E1206 08:36:21.733788 960439 main.go:116] "execution failed" err="time: unknown unit \"d\" in duration \"3d\""
Support d
.
kjournal install --export
Currently there is an apiserver global timeout for requests which is 60s.
time kjournal pods
==> Will stop after 1m.
If in stream mode the apiserver likely should not cancel requests.
Client Version: version.Info{Major:"0", Minor:"0", GitVersion:"0.0.0-dev", GitCommit:"none", GitTreeState:"clean", BuildDate:"unknown", GoVersion:"go1.18", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.0", GitCommit:"4ce5a8954017644c5420bae81d72b09b735c21f0", GitTreeState:"clean", BuildDate:"2022-05-19T15:39:43Z", GoVersion:"go1.18.1", Compiler:"gc", Platform:"linux/amd64"}
kjournal version
kjournal audit --field-selector user.username=system:s -v10
I1118 08:26:22.639012 442558 request.go:1154] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"unable to parse requirement: values[0][user.username]: Invalid value: \"system:s\": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')","reason":"BadRequest","code":400}
Currently label filters get used behind the scenes. The problem is the values are quite restrictive.
The reason why label and not field selector are used is because of the operators. Label selectors also support >, <.
The field selector gets parsed and used without an error if it contains special characters.
No
Integrate grafanas loki as kjournal backend storage.
https connection to es backend does not work while a valid ca is configured.
=> failed to close pit" err="x509: certificate signed by unknown authority
Set es to https. Set cacert to valid root ca.
Valid connection
The connection works while setting allowInsecureTLS=true
No
Support google gcloud log backend for gke clusters.
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.