Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 559 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 559 Bytes

Add following hook to cluster definition:

  hooks:
  - manifest: |
      Type=oneshot                    
      ExecStart=/usr/bin/docker run --net host --restart no jozuenoon/check-aws-tags
      ExecStartPost=/bin/systemctl restart kubelet.service
    name: ensure-aws-tags.service
    requires:
    - docker.service
    roles:
    - Node

The file should be placed under path /lib/systemd/system/ensure-aws-tags.service

Reference:

[1] - kubernetes/kops#3605

[2] - kubernetes/kubernetes#64507