vSphere with tanzu 7.0.3
NSX-T 3.2.1.2.0.20541212
When apply the next manifiest:
"apiVersion: run.tanzu.vmware.com/v1alpha2
kind: TanzuKubernetesCluster
metadata:
name: tkg-cluster-01
namespace: gera-ns
spec:
topology:
controlPlane:
replicas: 1
vmClass: best-effort-small
storageClass: tanzu-policy
tkr:
reference:
name: v1.22
nodePools:
- name: worker-pool-1
replicas: 2
vmClass: best-effort-small
storageClass: tanzu-policy
tkr:
reference:
name: v1.22"
have the error:
Error from server (InternalError): error when creating "cluster.yaml": Internal error occurred: failed calling webhook "default.mutating.tanzukubernetescluster.run.tanzu.vmware.com": failed to call webhook: Post "https://vmware-system-tkg-webhook-service.vmware-system-tkg.svc:443/default-mutate-run-tanzu-vmware-...": context deadline exceeded
Any ideas?
I got the exactly the same error. But it is not happening all the time. Just wait for some time and try again, the error will be gone
Its hard to say what might be causing this. First step is to verify that your system pods are running. with an admin account "kubectl get pods -A". Check the logs for any pod not in running state.