Coder Social home page Coder Social logo

adsblol / infra Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 6.0 139 KB

鈽革笍馃悑 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

HTML 6.78% Makefile 0.33% JavaScript 92.89%
adsb adsbexchange infrastructure kubernetes kustomize plane-tracker planes fluxcd gitops

infra's People

Contributors

cnlohr avatar huusky avatar unresolv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

infra's Issues

history and planes-readsb pods failing to start

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

CRDs missing

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

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.