traefik / mesh

Traefik Mesh - Simpler Service Mesh
https://traefik.io/traefik-mesh
Apache License 2.0
2.03k stars 141 forks source link

Warning message: Neither --kubeconfig nor --master was specified #580

Closed jspdown closed 4 years ago

jspdown commented 4 years ago

Bug Report

While installing the latest version of Maesh I noticed there was a warning in the logs.

What did you do?

Install Maesh using the Helm chart. No specific option.

What did you expect to see?

No warning or errors

What did you see instead?

W0514 10:10:30.195083       1 client_config.go:543] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.

Output of controller log: (What version of Maesh are you using?)

time="2020-05-14T10:10:30Z" level=info msg="Configuration loaded from flags."
time="2020-05-14T10:10:30Z" level=debug msg="Starting maesh prepare..."
time="2020-05-14T10:10:30Z" level=debug msg="Using masterURL: \"\""
time="2020-05-14T10:10:30Z" level=debug msg="Using kubeconfig: \"\""
W0514 10:10:30.195083       1 client_config.go:543] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
time="2020-05-14T10:10:30Z" level=debug msg="Building Kubernetes Client..."
time="2020-05-14T10:10:30Z" level=debug msg="Building SMI Access Client..."
time="2020-05-14T10:10:30Z" level=debug msg="Building SMI Specs Client..."
time="2020-05-14T10:10:30Z" level=debug msg="Building SMI Split Client..."
time="2020-05-14T10:10:30Z" level=info msg="Checking DNS provider"
time="2020-05-14T10:10:30Z" level=info msg="Checking CoreDNS"
time="2020-05-14T10:10:30Z" level=info msg="CoreDNS match"
time="2020-05-14T10:10:30Z" level=debug msg="ACL mode enabled: true"
time="2020-05-14T10:10:30Z" level=debug msg="Initializing API"
time="2020-05-14T10:10:30Z" level=debug msg="Initializing mesh controller"
time="2020-05-14T10:10:30Z" level=debug msg="Starting API"
time="2020-05-14T10:10:30Z" level=debug msg="Starting Informers"
time="2020-05-14T10:10:30Z" level=debug msg="API readiness enabled"

What is your environment & configuration (arguments, provider, platform, ...)?

helm install maesh helm/chart/maesh \
  --namespace=maesh \
  --set image.pullPolicy=IfNotPresent \
  --set image.name=maesh-dev \
  --set image.tag=latest \
  --set limits.tcp=20 \
  --set limits.http=20 \
  --set smi.deploy=true \
  --set acl=true
dtomcej commented 4 years ago

Going to clean this up :)