adsblol / infra Goto Github PK
View Code? Open in Web Editor NEW鈽革笍馃悑 GitOps Flux-based adsb.lol infrastructure - kubernetes, readsb, tar1090, mlat-server, api, history
Home Page: https://adsb.lol
License: BSD 3-Clause "New" or "Revised" License
鈽革笍馃悑 GitOps Flux-based adsb.lol infrastructure - kubernetes, readsb, tar1090, mlat-server, api, history
Home Page: https://adsb.lol
License: BSD 3-Clause "New" or "Revised" License
Hello, when i do kubectl apply -k manifests/default/ to deploy everything i get several messages about missing CRDs e.g
esource mapping not found for name: "mlat-server-sync-map" namespace: "adsblol" from "manifests/default/": no matches for kind "ImageRepository" in version "image.toolkit.fluxcd.io/v1alpha2" ensure CRDs are installed first resource mapping not found for name: "api" namespace: "adsblol" from "manifests/default/": no matches for kind "ImageUpdateAutomation" in version "image.toolkit.fluxcd.io/v1beta1" ensure CRDs are installed first resource mapping not found for name: "history" namespace: "adsblol" from "manifests/default/": no matches for kind "ImageUpdateAutomation" in version "image.toolkit.fluxcd.io/v1beta1" ensure CRDs are installed first resource mapping not found for name: "mlat-server-sync-map" namespace: "adsblol" from "manifests/default/": no matches for kind "ImageUpdateAutomation" in version "image.toolkit.fluxcd.io/v1beta1" ensure CRDs are installed first resource mapping not found for name: "infra" namespace: "adsblol" from "manifests/default/": no matches for kind "Kustomization" in version "kustomize.toolkit.fluxcd.io/v1beta2" ensure CRDs are installed first resource mapping not found for name: "api" namespace: "adsblol" from "manifests/default/": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first resource mapping not found for name: "external-readsb" namespace: "adsblol" from "manifests/default/": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first resource mapping not found for name: "hub-readsb" namespace: "adsblol" from "manifests/default/": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first resource mapping not found for name: "ingest-readsb" namespace: "adsblol" from "manifests/default/": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first resource mapping not found for name: "planes-readsb" namespace: "adsblol" from "manifests/default/": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
Is there a way to deploy all the missing CRDs before the kubectl apply command?
Thank you very much
Expose MLAT-server's client.json so that it can be consumed within adsblol/api similar to the JSON files of readsb as in https://github.com/adsblol/api/blob/main/app.py#L19.
I am trying to run everything in minikube and everything works except these two pods.
For planes-readsb i see the following in the describe command in the test section:
Liveness: http-get http://:http/data/receiver.json delay=0s timeout=1s period=10s #success=1 #failure=3 Readiness: tcp-socket :30004 delay=15s timeout=1s period=10s #success=1 #failure=3 Startup: tcp-socket :30004 delay=15s timeout=1s period=10s #success=1 #failure=3
The Liveness test looks wrong to me.
I am also getting the following events:
Warning FailedMount 55m (x20 over 4h39m) kubelet Unable to attach or mount volumes: unmounted volumes=[config-data], unattached volumes=[serve-run-http-config run adsblol state tar1090-config kube-api-access-kbnfr config-data]: timed out waiting for the condition Warning FailedMount 35m (x19 over 5h7m) kubelet Unable to attach or mount volumes: unmounted volumes=[config-data], unattached volumes=[state tar1090-config kube-api-access-kbnfr config-data serve-run-http-config run adsblol]: timed out waiting for the condition Warning FailedMount 10m (x17 over 4h44m) kubelet Unable to attach or mount volumes: unmounted volumes=[config-data], unattached volumes=[tar1090-config kube-api-access-kbnfr config-data serve-run-http-config run adsblol state]: timed out waiting for the condition Warning FailedMount 6m8s (x23 over 5h9m) kubelet Unable to attach or mount volumes: unmounted volumes=[config-data], unattached volumes=[config-data serve-run-http-config run adsblol state tar1090-config kube-api-access-kbnfr]: timed out waiting for the condition Warning FailedMount 1s (x161 over 5h11m) kubelet MountVolume.SetUp failed for volume "config-data" : secret "adsblol-rclone" not found
For history pod i get the following events:
Warning FailedMount 36m (x16 over 5h2m) kubelet Unable to attach or mount volumes: unmounted volumes=[rclone-config], unattached volumes=[rclone-emptydir kube-api-access-ntxkh adsblol-history nginx-conf remote-mount rclone-config]: timed out waiting for the condition Warning FailedMount 27m (x20 over 5h4m) kubelet Unable to attach or mount volumes: unmounted volumes=[rclone-config], unattached volumes=[adsblol-history nginx-conf remote-mount rclone-config rclone-emptydir kube-api-access-ntxkh]: timed out waiting for the condition Warning FailedMount 23m (x22 over 4h59m) kubelet Unable to attach or mount volumes: unmounted volumes=[rclone-config], unattached volumes=[remote-mount rclone-config rclone-emptydir kube-api-access-ntxkh adsblol-history nginx-conf]: timed out waiting for the condition Warning FailedMount 8m (x158 over 5h13m) kubelet MountVolume.SetUp failed for volume "rclone-config" : secret "adsblol-rclone" not found Warning FailedMount 2m36s (x21 over 4h43m) kubelet Unable to attach or mount volumes: unmounted volumes=[rclone-config], unattached volumes=[nginx-conf remote-mount rclone-config rclone-emptydir kube-api-access-ntxkh adsblol-history]: timed out waiting for the condition
Any advise on how to resolve these issues?
Thank you very much
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.