Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 180329

The creating of Guest Cluster hangs in vSphere 7 with kubernetes

$
0
0

Hi, experts

I have enabled supervisor cluster in vsphere 7 with kubernetes and deployed some pods successfully, but an issue occured when I create a guest cluster which have one master and three worker nodes. It will hang after power on master node.

Could you give me some suggestions? Thanks!

 

The following is guest cluster information.

 

# kubectl get tanzukubernetesclusters.run.tanzu.vmware.com tkg-cluster-1

NAME            CONTROL PLANE   WORKER   DISTRIBUTION                     AGE   PHASE

tkg-cluster-1   1               3        v1.16.8+vmware.1-tkg.3.60d2ffd   9h    creating

root@ubuntu:~/vsphere7# kubectl describe tanzukubernetesclusters.run.tanzu.vmware.com tkg-cluster-1

Name:         tkg-cluster-1

Namespace:    devops

Labels:       <none>

Annotations:  kubectl.kubernetes.io/last-applied-configuration:

                {"apiVersion":"run.tanzu.vmware.com/v1alpha1","kind":"TanzuKubernetesCluster","metadata":{"annotations":{},"name":"tkg-cluster-1","namespa...

API Version:  run.tanzu.vmware.com/v1alpha1

Kind:         TanzuKubernetesCluster

Metadata:

  Creation Timestamp:  2020-05-12T08:11:32Z

  Finalizers:

    tanzukubernetescluster.run.tanzu.vmware.com

  Generation:        1

  Resource Version:  9930

  Self Link:         /apis/run.tanzu.vmware.com/v1alpha1/namespaces/devops/tanzukubernetesclusters/tkg-cluster-1

  UID:               b7a72cf6-2fca-4215-a8cd-f513f6cf2db3

Spec:

  Distribution:

    Full Version:  v1.16.8+vmware.1-tkg.3.60d2ffd

    Version:       v1.16

  Settings:

    Network:

      Cni:

        Name:  calico

      Pods:

        Cidr Blocks:

          192.168.0.0/16

      Service Domain:  cluster.local

      Services:

        Cidr Blocks:

          10.96.0.0/12

  Topology:

    Control Plane:

      Class:          best-effort-small

      Count:          1

      Storage Class:  wcp-vsan-policy

    Workers:

      Class:          best-effort-small

      Count:          3

      Storage Class:  wcp-vsan-policy

Status:

  Addons:

    Cloudprovider:

      Name:     vmware-guest-cluster

      Status:   applied

      Version:  v1.16.8+vmware.1-tkg.3.60d2ffd

    Cni:

      Name:     calico

      Status:   applied

      Version:  v1.16.8+vmware.1-tkg.3.60d2ffd

    Csi:

      Name:     pvcsi

      Status:   applied

      Version:  v1.16.8+vmware.1-tkg.3.60d2ffd

    Dns:

      Name:     CoreDNS

      Status:   applied

      Version:  v1.6.5_vmware.2

    Proxy:

      Name:     kube-proxy

      Status:   applied

      Version:  1.16.8+vmware.1

    Psp:

      Name:     defaultpsp

      Status:   applied

      Version:  v1.16.8+vmware.1-tkg.3.60d2ffd

  Cluster API Status:

    API Endpoints:

      Host:  192.168.136.2

      Port:  6443

    Phase:   provisioned

  Node Status:

    tkg-cluster-1-control-plane-vdwsv:             ready

    tkg-cluster-1-workers-8bhdz-758cfc4bc6-2xzm5:  pending

    tkg-cluster-1-workers-8bhdz-758cfc4bc6-8v97b:  pending

    tkg-cluster-1-workers-8bhdz-758cfc4bc6-bsspd:  pending

  Phase:                                           creating

  Vm Status:

    tkg-cluster-1-control-plane-vdwsv:             ready

    tkg-cluster-1-workers-8bhdz-758cfc4bc6-2xzm5:  pending

    tkg-cluster-1-workers-8bhdz-758cfc4bc6-8v97b:  pending

    tkg-cluster-1-workers-8bhdz-758cfc4bc6-bsspd:  pending

Events:                                            <none>


Viewing all articles
Browse latest Browse all 180329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>