Skip to content

Kubernetes system pods are not showing up but containers are in health state #62566

@iponnam

Description

@iponnam

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind support

/kind feature

What happened:
Enabled --client-cert-auth=true in etcd yaml to communicate over TLS and restarted the kubelet for the changes to effect. kube-apiserver, controller, scheduler and etd containers along with pause container came up. however when we do kubectl -n kube-system get pods or anything else for that matter results are coming up empty and worker nodes that already joined no longer show up.

kubectl get pods -n kube-system
No resources found.

When reverted etcd yaml without tls settings, everything back online.

kubelet keeps on throwing errors for all 4 components:

pods "kube-controller-manager-azwushubqaadmmaster01" is forbidden: no providers available to validate pod request

What you expected to happen:
The nodes registered before enabling TLS on ETCD should show.

How to reproduce it (as minimally and precisely as possible):
Kubeadm init on master and nodes.
create certs for etcd server and client. Followed document
Apply the changes are mentioned in the yaml files attached.
Attached etcd.yaml & kube-apiserver.yaml
tls.zip

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version): 1.9.5

  • Cloud provider or hardware configuration:

  • OS (e.g. from /etc/os-release): Ubuntu

  • Kernel (e.g. uname -a): 4.13.0-1012-azure Port forwarding should be through iptables #15-Ubuntu SMP Thu Mar 8 10:47:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

  • Install tools:

  • Others:
    @kubernetes/sig-auth-bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiserverkind/supportCategorizes issue or PR as a support question.sig/authCategorizes an issue or PR as relevant to SIG Auth.sig/cluster-lifecycleCategorizes an issue or PR as relevant to SIG Cluster Lifecycle.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions