Sign inSign up

emilyls/chrony

By emilyls

Updated about 1 year ago

A container chrony, a versatile implementation of the Network Time Protocol (NTP).

Image
Networking
Operating systems
0

1.4K

emilyls/chrony repository overview

Chrony

Version Size

A container and helm chart for chrony, a versatile implementation of the Network Time Protocol (NTP).

The Helm Chart sets up a Kubernetes DaemonSet that ensures chrony runs on every node in your cluster, synchronising the system time with NTP servers, other peers, or reference clocks.

Optionally, it can also be configured to act as an NTPv4 (RFC 5905) server.

Usage

helm install chrony chart --values values.yaml
Add Servers
# values.yaml
config:
  pools:
  - "pool.example.net"
  servers:
  - "server.example.com"
Values
KeyTypeDefaultDescription
image.repositorystring"docker.io/emilyls/chrony"The repository to use for images
image.pullPolicyEnum: Always, IfNotPresentIfNotPresentPolicy for pulling images
image.tagstring"" (Chart Version)The tag to use for images
imagePullSecretsarray[]Secrets to use for pulling images
nodeSelectorobject{}Selectors for deploying to specific nodes only
tolerationsarray[]Tolerations for pod scheduling
affinityobject{}Affinity rules for pod scheduling
priorityClassNamestring"system-node-critical"The priority class to set for pods
config.poolsarray[string]["2.pool.ntp.org iburst"]List of NTP server pools to sync from
config.serversarray[string]~List of individual NTP servers to sync from
config.extraConfigstringExtra configuration for chrony.conf (See chrony.conf Documentation)
server.enabledboolfalseIf chrony should be configured to listen as an NTP server
server.portint123If enabled, what service port to listen on as an NTP server
server.containerPortint8123If enabled, what port to listen on in the container as an NTP server
server.allowedarray[string]["::/0"]List of subnets that chrony should allow to connect to the server
cmd.sock.enabledboolfalseIf the UNIX command socket should be enabled
cmd.sock.hostPath.pathstring~If given, the UNIX command socket will be placed in the host file system
cmd.sock.hostPath.typeEnum: Directory, DirectoryOrCreateDirectoryOrCreateIf hostPath UNIX socket is used, if the directory should already exist
cmd.net.enabledboolfalseIf the Network command socket should be enabled
cmd.net.containerPortint8323If enabled, what port to listen on in the container for the command socket
cmd.net.allowedarray[string]["::/0"]List of subnets that chrony should allow to pull monitoring information from the server
initContainersarray~List of extra initContainers to inject into the Pod
extraContainersarray~List of extra containers to inject into the Pod

License

chrony itself is licenced under GPLv2. This wrapper project's Containerfile and helm chart are licenced under the Apache License 2.0.

Tag summary

Content type

Image

Digest

sha256:a1cac2f61

Size

238.4 kB

Last updated

about 1 year ago

docker pull emilyls/chrony