AlexsJones / kube-microcosm

An example of a kubernetes cluster appropriate for a startup company
60 stars 8 forks source link

prom-config.yaml is missing #1

Open davidsells opened 3 years ago

davidsells commented 3 years ago

The make install fails indicating that the file resource/prometheus/prom-config.yaml is missing.

The build itself went well after changing:

d=date -v+8760H +"%Y-%m-%dT%H:%M:%SZ"

to

d=date -d '+8760 hour' +"%Y-%m-%dT%H:%M:%SZ"

for Ubuntu

The last lines of output below: _kubectl create ns argocd || true namespace/argocd created kubectl create ns monitoring || true namespace/monitoring created kubectl create ns cert-manager || true namespace/cert-manager created kubectl create ns ingress-nginx || true namespace/ingress-nginx created kubectl create ns longhorn-system || true namespace/longhorn-system created kubectl create ns tracing || true namespace/tracing created kubectl create ns cassandra || true namespace/cassandra created kubectl create ns apps || true namespace/apps created kubectl annotate ns argocd linkerd.io/inject=enabled --overwrite namespace/argocd annotated kubectl annotate ns cert-manager linkerd.io/inject=enabled --overwrite namespace/cert-manager annotated kubectl annotate ns apps linkerd.io/inject=enabled --overwrite namespace/apps annotated sed 's,SLACKURL,"https://hooks.slack.com/services/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W",g' resources/prometheus/prom-config.yaml > prom-config-0.yaml sed: can't read resources/prometheus/prom-config.yaml: No such file or directory Makefile:64: recipe for target 'prometheus-observability-install' failed

(Really nice project thank-you Alex)

AlexsJones commented 3 years ago

Hey, let me know if this is still an issue and I'll jump in and take a look.

davidsells commented 3 years ago

I haven't done any work on it. It would be great if you could fix it. It is a fantastic integration of services.

AlexsJones commented 3 years ago

Thanks David, I’m going to spin up a Linux VM to check this out and fix it for you this week! I appreciate the kind words :-)