mjhea0 / efk-kubernetes Goto Github PK
View Code? Open in Web Editor NEWlogging in kubernetes
logging in kubernetes
I get the following errors when running the yaml.
C:\Program Files\Kubernetes\kubectl>kubectl create -f c:\Users\vikram\Documents\fluentd-daemonset.yaml
error: unable to recognize "c:\Users\vikram\Documents\fluentd-daemonset.yaml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
I tried updating the extensions/v1beta1 with apps/v1, but then get further errors
C:\Program Files\Kubernetes\kubectl>kubectl create -f c:\Users\vikram\Documents\fluentd-daemonset.yaml
error: error validating "c:\Users\vikram\Documents\fluentd-daemonset.yaml": error validating data: ValidationError(DaemonSet.spec): missing required field "selector" in io.k8s.api.apps.v1.DaemonSetSpec; if you choose to ignore these errors, turn validation off with --validate=false
C:\Program Files\Kubernetes\kubectl>kubectl create -f c:\Users\vikram\Documents\fluentd-daemonset.yaml --validate=false
The DaemonSet "fluentd" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"k8s-app":"fluentd-logging", "kubernetes.io/cluster-service":"true", "version":"v1"}: selector
does not match template labels
How to get log file in pod instead of stdout log?
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.