Setup Timezone in Harvester
To apply time zone in harvester node, you need to create yaml file timezone.yaml, with this implementation, harvester node will automatically apply time zone when join the cluster.
apiVersion: node.harvesterhci.io/v1beta1
kind: CloudInit
metadata:
name: timezone-config
spec:
matchSelector:
harvesterhci.io/managed: "true" # apply to all Harvester nodes
filename: 99-timezone-config
contents: |
stages:
network:
- name: "change timezone to Jakarta"
commands:
- timedatectl set-timezone Asia/Jakarta
paused: false
and apply using kubectl apply -f timezone.yaml in management node.
Comments