Closed andrzej-dobrzynski-pushgaming closed 1 month ago
if above does not work then this does
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlane
spec:
kubeadmConfigSpec:
postKubeadmCommands:
- echo "pool time.aws.com iburst prefer" >> /etc/chrony/chrony.conf && systemctl restart chrony
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
kind: KubeadmConfigTemplate
spec:
template:
spec:
postKubeadmCommands:
- echo "pool time.aws.com iburst prefer" >> /etc/chrony/chrony.conf && systemctl restart chrony
Is it solved @andrzej-dobrzynski-pushgaming? To be honest I'm not sure whether we can help much, this looks like a Kubernetes specific issue.
yes its solved
root@control-plane-node-pool:~# cat /etc/chrony/chrony.conf |grep prefer
pool time.aws.com iburst prefer
root@control-plane-node-pool:~# chronyc sources |grep "*"
^* ec2-35-176-149-124.eu-west-2.compute.amazonaws.com
Hello @adambarreiro et al
how to configure custom NTP servers for tanzu
Terraform Version
Terraform Configuration Files
Expected Behavior
Actual Behavior
Steps to Reproduce
as above
References
https://cluster-api.sigs.k8s.io/tasks/bootstrap/kubeadm-bootstrap/