Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version: v1.15.3
Cloud being used: (put bare-metal if not on a public cloud) : Bare Metal
Installation method: following instructions on kubernetes.io
Host OS: Ubuntu 16.x
CNI and version: 0.7.5 ( I guess)
CRI and version:
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.
Error :
I0916 00:44:55.662539 1 serving.go:319] Generated self-signed cert in-memory
W0916 00:44:57.822777 1 authentication.go:387] failed to read in-cluster kubeconfig for delegated authentication: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
W0916 00:44:57.822828 1 authentication.go:249] No authentication-kubeconfig provided in order to lookup client-ca-file in configmap/extension-apiserver-authentication in kube-system, so client certificate authentication won’t work.
W0916 00:44:57.822838 1 authentication.go:252] No authentication-kubeconfig provided in order to lookup requestheader-client-ca-file in configmap/extension-apiserver-authentication in kube-system, so request-header client certificate authentication won’t work.
W0916 00:44:57.822862 1 authorization.go:177] failed to read in-cluster kubeconfig for delegated authorization: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
W0916 00:44:57.822885 1 authorization.go:146] No authorization-kubeconfig provided, so SubjectAccessReview of authorization tokens won’t work.
I0916 00:44:58.264797 1 server.go:142] Version: v1.15.3
I0916 00:44:58.265114 1 defaults.go:87] TaintNodesByCondition is enabled, PodToleratesNodeTaints predicate is mandatory
W0916 00:44:58.267415 1 authorization.go:47] Authorization is disabled
W0916 00:44:58.267482 1 authentication.go:55] Authentication is disabled
I0916 00:44:58.267499 1 deprecated_insecure_serving.go:51] Serving healthz insecurely on [::]:10251
I0916 00:44:58.271588 1 secure_serving.go:116] Serving securely on 127.0.0.1:10259
I0916 00:44:59.174847 1 leaderelection.go:235] attempting to acquire leader lease kube-system/kube-scheduler…
I0916 00:45:15.698106 1 leaderelection.go:245] successfully acquired lease kube-system/kube-scheduler
kubectl -n kube-system get cm kubeadm-config -oyaml
apiVersion: v1
data:
ClusterConfiguration: |
apiServer:
extraArgs:
authorization-mode: Node,RBAC
timeoutForControlPlane: 4m0s
apiVersion: kubeadm.k8s.io/v1beta2
certificatesDir: /etc/kubernetes/pki
clusterName: kubernetes
controllerManager: {}
dns:
type: CoreDNS
etcd:
local:
dataDir: /var/lib/etcd
imageRepository: k8s.gcr.io
kind: ClusterConfiguration
kubernetesVersion: v1.15.3
networking:
dnsDomain: cluster.local
podSubnet: 10.244.0.0/16
serviceSubnet: 10.96.0.0/12
scheduler: {}
ClusterStatus: |
apiEndpoints:
appsec-ana01:
advertiseAddress: 10.30.70.37
bindPort: 6443
apiVersion: kubeadm.k8s.io/v1beta2
kind: ClusterStatus
kind: ConfigMap
metadata:
creationTimestamp: “2019-09-04T06:23:57Z”
name: kubeadm-config
namespace: kube-system
resourceVersion: “168”
selfLink: /api/v1/namespaces/kube-system/configmaps/kubeadm-config
uid: f81cf88f-d758-4349-8135-7d3afa97103d
Please help
Regards
Vishnu