Skip to content

Chrony Alpine NTP Server for Kubernetes via Helm

Notifications You must be signed in to change notification settings

GlennHD/kube-chrony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kube-chrony

Chrony Alpine NTP Server for Kubernetes via Helm

Usage

git clone https://github.com/GlennHD/kube-chrony.git        # Download the chart
cd kube-chrony                                              # Navigate to the folder
nano values.yaml                                            # Adjust the values.yaml
helm install -n jh -f values.yaml kube-chrony ./            # Install the chart

Other Usage

cd kube-chrony
helm upgrade -f values.yaml kube-chrony ./                  # Update the config
helm uninstall kube-chrony                                  # Uninstall the chart
kubectl describe pod kube-chrony                            # See whats going on in the pod
kubectl get svc -w kube-chrony                              # See whats going on with the service
ntpdate -q 10.0.8.222                                       # test ntp query against load balancer <IP>:123

NOTES

  • Adjust NodeSelector in values.yaml as needed. If you do not wish to use it, just replace with nodeSelector: {}. Otherwise, add a label to a node for ntp:ntp.
  • Change IP addres '10.0.8.222' to an IP address within your Load Balancer IP pool range.
  • Change 'jh' to whatever namespace you want.
  • Spin up/down replicaCount as you see fit.
  • Modify ntpServers using your favorite time servers.

About

Chrony Alpine NTP Server for Kubernetes via Helm

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages